my modified version sed(1) may dump core when build as toolchain nbsed.

Issue #136 resolved
Takehiko NOZAKI repo owner created an issue

NetBSD's toolchain seems define:

#ifdef __NetBSD__
#define _ISOC99_SOURCE
#define _POSIX_SOURCE   1
#define _POSIX_C_SOURCE 200112L
#define _XOPEN_SOURCE 600
#else
#undef _POSIX_SOURCE
#undef _POSIX_C_SOURCE
#endif

so that POSIX:2008 API, fmemopen + open_memstream doesn't work correctly. (FILE pointer may narrow down to int and throw access violation exception)

they still lived in 15years, may be till the end the world.

Comments (1)

  1. Log in to comment