OSDN Git Service

* errno.cc (_sys_nerr): Fix compile error erroneously checked in on 2003-04-23.
authorcgf <cgf>
Sun, 27 Apr 2003 03:09:17 +0000 (03:09 +0000)
committercgf <cgf>
Sun, 27 Apr 2003 03:09:17 +0000 (03:09 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/errno.cc
winsup/cygwin/path.cc

index 79cd0f9..598f91b 100644 (file)
@@ -1,3 +1,8 @@
+2003-04-26  Christopher Faylor  <cgf@redhat.com>
+
+       * errno.cc (_sys_nerr): Fix compile error erroneously checked in on
+       2003-04-23.
+
 2003-04-25  Corinna Vinschen  <corinna@vinschen.de>
 
        * include/netinet/ip.h: Include netinet/in_systm.h and netinet/in.h
index 13c0c77..92d0bb0 100644 (file)
@@ -295,7 +295,7 @@ const NO_COPY char __declspec(dllexport) * const _sys_errlist[]=
 /* EOVERFLOW 139 */ "Value too large for defined data type"
 };
 
-int NO_COPY __declspec(dllexport) _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);
+const int NO_COPY __declspec(dllexport) _sys_nerr = sizeof (_sys_errlist) / sizeof (_sys_errlist[0]);
 };
 
 /* FIXME: Why is strerror() a long switch and not just:
index 5b2e536..a8ec7ab 100644 (file)
@@ -3186,7 +3186,7 @@ readlink (const char *path, char *buf, int buflen)
 /* Cygwin internal */
 
 unsigned long __stdcall
-hash_path_name (unsigned long hash, const char *name)
+hash_path_name (ino_t hash, const char *name)
 {
   if (!*name)
     return hash;