REG_STARTEND macro, it doesn't work as expected. A simple test case is:
printf '\0\n\0\n' | nbsed /a/d
This test does not yet work as expected, but at least it doesn't cause
segmentation faults anymore. Handling of '\0' bytes must be improved.
jlam's last change, since we use libnbcompat. (If we left these checks in,
configure would test for them, find them and set HAVE_GETPROGNAME, subsequently
breaking 'getprogname', as nbcompat.h wouldn't work since HAVE_GETPROGNAME
is then defined.)
Changes from the previous version include:
- Adding a sed2nbcompat script to ease importing from src HEAD into
pkgsrc.
- Make this package depend on libnbcompat since it needs a regex
implementation and it's also a bootstrap package.
* s/xmalloc/xrealloc/ so that large (greater than _POSIX2_LINE_MAX*2-1)
multi line text can be added.