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.
and getprogname.
We're using libnbcompat, so we know they exist. (If we were to check again,
then we'd mess up definitions set in the nbcompat headers.)
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.
- test for __inline/inline, de-mangle the corresponding hack in
process.c to reduce the diff to NetBSD-current source
- move some autoconf-y bits to configure.ac
fixes build on Solaris with SunPro.