[patch] POSIX2001 adjustment for readlink and nonnull annotation for realpath
Mike Frysinger
vapier at gentoo.org
Sun Jan 28 15:07:06 PST 2007
On Sunday 28 January 2007 09:54, Bernhard Fischer wrote:
> * include/stdlib.h: Annotate realpath's second argument resolved
> with attribute nonnull. Our impl doesn't allocate space if the
> resolved path is NULL, so add a compile-time warning for the
> users.
done
> * include/unistd.h, libc/sysdeps/linux/common/readlink.c: return
> type is changed to ssize_t, to align with the IEEE P1003.1a
> draft standard (from SUSv).
merged
> * Rules.mak: Add -Wnonnull and -Wundef to the extra annoying
> warnings.
done
> -) __ASSUME_LDT_WORKS
> ./libpthread/linuxthreads.old/sysdeps/i386/pt-machine.h:74:5: warning:
> "__ASSUME_LDT_WORKS" is not defined
should be easy to fix this
> -) USE__THREAD
> ./include/bits/uClibc_errno.h:36:7: warning: "USE___THREAD" is not
> defined
this is part of the NPTL merge ... __thread markings are not available for
linuxthreads.old, *might* be available with linuxthreads, and needs to be
available for nptl
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://busybox.net/lists/uclibc/attachments/20070128/dfa5c0ce/attachment.pgp
More information about the uClibc
mailing list