diff options
| author | Mike Frysinger <vapier@gentoo.org> | 2007-02-08 18:24:46 +0000 | 
|---|---|---|
| committer | Mike Frysinger <vapier@gentoo.org> | 2007-02-08 18:24:46 +0000 | 
| commit | b56c113af85ffe0dc7a2780be767b5925296385f (patch) | |
| tree | 85c34716c5e39e875efd64f53adec125b3ab4900 | |
| parent | 7f2cde100206c82aa698c37d829415122955096c (diff) | |
revert previous change; reading POSIX spec some more says we need to set errno to EINVAL if filename is NULL
| -rw-r--r-- | include/stdlib.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 9ffe5a68b..276f1ba66 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -637,7 +637,7 @@ extern char *canonicalize_file_name (__const char *__name)     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  | 
