<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;"> ------------------------------------------------------------------------
r17606 | vapier | 2007-01-28 17:04:06 -0600 (Sun, 28 Jan 2007) | 1 line
Changed paths:
   M /trunk/uClibc/include/stdlib.h

Bernhard Fischer writes: note how uClibc chooses to handle __resolved==NULL
 ------------------------------------------------------------------------
Index: include/stdlib.h
===================================================================
--- include/stdlib.h	(revision 17605)
+++ include/stdlib.h	(revision 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
 
 
</pre></body></html>