* errno.cc (_sys_nerr): Fix compile error erroneously checked in on 2003-04-23.

This commit is contained in:
Christopher Faylor 2003-04-27 03:09:17 +00:00
parent 45bfd8ed74
commit 7d6d38aaec
3 changed files with 7 additions and 2 deletions

View 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

View 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:

View 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;