summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-28 23:04:06 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-28 23:04:06 +0000
commit127716a5ee0e8984663b58833d36788b9aa15466 (patch)
treee14a6f2410515a7a172599912538e186af5178aa
parent36c53e8e4f2ec5428404d422d3d6cbf42f4ae491 (diff)
Bernhard Fischer writes: note how uClibc chooses to handle __resolved==NULL
-rw-r--r--include/stdlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 982bac72f..ba27530c3 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -635,8 +635,9 @@ extern char *canonicalize_file_name (__const char *__name)
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