On 25/03/2012 7.38, Mike Frysinger wrote: > On Friday 16 March 2012 07:06:47 Rob Landley wrote: >> The standard: >> >> http://pubs.opengroup.org/onlinepubs/9699919799/functions/stpcpy.html >> >> >> uClibc's include/string.h: >> >> #ifdef __USE_GNU ... /* Copy SRC to DEST, returning the address >> of the terminating '\0' in DEST. */ # if 0 /* uClibc: disabled >> */ extern char *__stpcpy (char *__restrict __dest, __const char >> *__restrict __src) __THROW __nonnull ((1, 2)); # endif extern >> char *stpcpy (char *__restrict __dest, __const char *__restrict >> __src) __THROW __nonnull ((1, 2)); libc_hidden_proto(stpcpy) >> >> >> That #ifdef is a bug. > > s/bug/outdated/ -mike >
likely we need to update the whole header, instead of just fixing the stpcpy case. Carmelo > > > _______________________________________________ uClibc mailing > list uClibc@uclibc.org > http://lists.busybox.net/mailman/listinfo/uclibc _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc