mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* errno.cc (_sys_nerr): Fix compile error erroneously checked in on 2003-04-23.
This commit is contained in:
parent
45bfd8ed74
commit
7d6d38aaec
@ -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
|
||||
|
@ -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:
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user