svn commit: trunk/uClibc/include

vapier at uclibc.org vapier at uclibc.org
Thu Feb 8 18:21:15 UTC 2007


Author: vapier
Date: 2007-02-08 10:21:14 -0800 (Thu, 08 Feb 2007)
New Revision: 17816

Log:
we crash if the first argument to realpath() is non-null as well so lets mark both arguments as being non-NULL

Modified:
   trunk/uClibc/include/stdlib.h


Changeset:
Modified: trunk/uClibc/include/stdlib.h
===================================================================
--- trunk/uClibc/include/stdlib.h	2007-02-08 18:05:44 UTC (rev 17815)
+++ trunk/uClibc/include/stdlib.h	2007-02-08 18:21:14 UTC (rev 17816)
@@ -637,7 +637,7 @@
    name in RESOLVED.  */
 /* we choose to handle __resolved==NULL as crash :) */
 extern char *realpath (__const char *__restrict __name,
-		       char *__restrict __resolved) __THROW __wur __nonnull((2));
+		       char *__restrict __resolved) __THROW __wur __nonnull((1,2));
 #endif
 
 




More information about the uClibc-cvs mailing list