OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36c53e8
)
Bernhard Fischer writes: note how uClibc chooses to handle __resolved==NULL
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 28 Jan 2007 23:04:06 +0000
(23:04 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 28 Jan 2007 23:04:06 +0000
(23:04 -0000)
include/stdlib.h
patch
|
blob
|
history
diff --git
a/include/stdlib.h
b/include/stdlib.h
index
982bac7
..
ba27530
100644
(file)
--- 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