svn commit: trunk/uClibc/include

vapier at uclibc.org vapier at uclibc.org
Thu Feb 8 18:24:48 UTC 2007


Author: vapier
Date: 2007-02-08 10:24:46 -0800 (Thu, 08 Feb 2007)
New Revision: 17817

Log:
revert previous change; reading POSIX spec some more says we need to set errno to EINVAL if filename is NULL

Modified:
   trunk/uClibc/include/stdlib.h


Changeset:
Modified: trunk/uClibc/include/stdlib.h
===================================================================
--- trunk/uClibc/include/stdlib.h	2007-02-08 18:21:14 UTC (rev 17816)
+++ trunk/uClibc/include/stdlib.h	2007-02-08 18:24:46 UTC (rev 17817)
@@ -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((1,2));
+		       char *__restrict __resolved) __THROW __wur __nonnull((2));
 #endif
 
 




More information about the uClibc-cvs mailing list