summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-04-27 03:09:17 +0000
committerChristopher Faylor <me@cgf.cx>2003-04-27 03:09:17 +0000
commit7d6d38aaece0f6818ceb2112a2ac7917ce32272b (patch)
tree4a8c6e0ff880fb3329530196168cbd392b32e829 /winsup/cygwin
parent45bfd8ed749686699eb7aa51cd4c543d8f9679e0 (diff)
downloadcygnal-7d6d38aaece0f6818ceb2112a2ac7917ce32272b.tar.gz
cygnal-7d6d38aaece0f6818ceb2112a2ac7917ce32272b.tar.bz2
cygnal-7d6d38aaece0f6818ceb2112a2ac7917ce32272b.zip
* errno.cc (_sys_nerr): Fix compile error erroneously checked in on 2003-04-23.
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/errno.cc2
-rw-r--r--winsup/cygwin/path.cc2
3 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 79cd0f974..598f91b4c 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -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
diff --git a/winsup/cygwin/errno.cc b/winsup/cygwin/errno.cc
index 13c0c7705..92d0bb043 100644
--- a/winsup/cygwin/errno.cc
+++ b/winsup/cygwin/errno.cc
@@ -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:
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index 5b2e5360d..a8ec7ab84 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -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;