فهرست منبع

revert previous change; reading POSIX spec some more says we need to set errno to EINVAL if filename is NULL

Mike Frysinger 19 سال پیش
والد
کامیت
b56c113af8
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      include/stdlib.h

+ 1 - 1
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