From 7f2cde100206c82aa698c37d829415122955096c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 8 Feb 2007 18:21:14 +0000 Subject: we crash if the first argument to realpath() is non-null as well so lets mark both arguments as being non-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 276f1ba66..9ffe5a68b 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((2)); + char *__restrict __resolved) __THROW __wur __nonnull((1,2)); #endif -- cgit v1.2.3