svn commit: trunk/uClibc/include
vapier at uclibc.org
vapier at uclibc.org
Sun Jan 28 23:04:07 UTC 2007
Author: vapier
Date: 2007-01-28 15:04:06 -0800 (Sun, 28 Jan 2007)
New Revision: 17606
Log:
Bernhard Fischer writes: note how uClibc chooses to handle __resolved==NULL
Modified:
trunk/uClibc/include/stdlib.h
Changeset:
Modified: trunk/uClibc/include/stdlib.h
===================================================================
--- trunk/uClibc/include/stdlib.h 2007-01-28 23:02:24 UTC (rev 17605)
+++ trunk/uClibc/include/stdlib.h 2007-01-28 23:04:06 UTC (rev 17606)
@@ -635,8 +635,9 @@
name is PATH_MAX chars or more, returns null with `errno' set to
ENAMETOOLONG; if the name fits in fewer than PATH_MAX chars, returns the
name in RESOLVED. */
+/* we choose to handle __resolved==NULL as crash :) */
extern char *realpath (__const char *__restrict __name,
- char *__restrict __resolved) __THROW __wur;
+ char *__restrict __resolved) __THROW __wur _nonnull((2));
#endif
More information about the uClibc-cvs
mailing list