Bug#453410: strndup seems to require __USE_GNU

2007-11-29 Thread Martin Schulze
Package: manpages-dev Version: 2.67-1 Hi Michael, it seems that strndup(3) requires the feature test macro __USE_GNU instead of _GNU_SOURCE. At least that's what /usr/include/string.h suggests and what makes gcc happy. Regards, Joey -- Those who don't understand Unix are condemned

Bug#453410: strndup seems to require __USE_GNU

2007-11-29 Thread Michael Kerrisk
On Nov 29, 2007 12:54 PM, Martin Schulze [EMAIL PROTECTED] wrote: Package: manpages-dev Version: 2.67-1 Hi Michael, it seems that strndup(3) requires the feature test macro __USE_GNU instead of _GNU_SOURCE. At least that's what /usr/include/string.h suggests and what makes gcc happy. Hi

Bug#453410: strndup seems to require __USE_GNU

2007-11-29 Thread Martin Schulze
Michael Kerrisk wrote: On Nov 29, 2007 2:37 PM, Martin Schulze [EMAIL PROTECTED] wrote: Michael Kerrisk wrote: Hi Michael, it seems that strndup(3) requires the feature test macro __USE_GNU instead of _GNU_SOURCE. At least that's what /usr/include/string.h suggests