From b56c113af85ffe0dc7a2780be767b5925296385f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Feb 2007 18:24:46 +0000 Subject: revert previous change; reading POSIX spec some more says we need to set errno to EINVAL if filename is NULL --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/stdlib.h') 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 -- cgit v1.2.3