aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2003-07-24 19:33:14 +0000
committerChristopher Faylor <me@cgf.cx>2003-07-24 19:33:14 +0000
commit1fbeb8274f9c5f1ea9f95af2cce8f8a9e0ac74a8 (patch)
tree2583894b1ce029f85c6cbb479b9e42cac60334db
parentb57a74b2100149e9f69b712c075723f1f54bd87c (diff)
downloadnewlib-1fbeb8274f9c5f1ea9f95af2cce8f8a9e0ac74a8.zip
newlib-1fbeb8274f9c5f1ea9f95af2cce8f8a9e0ac74a8.tar.gz
newlib-1fbeb8274f9c5f1ea9f95af2cce8f8a9e0ac74a8.tar.bz2
* environ.cc (check_case_init): Use strncasematch.
* cygwin.din: Export __mempcpy. * cygwin/version.h: Bump api minor number.
-rw-r--r--winsup/cygwin/ChangeLog7
-rw-r--r--winsup/cygwin/cygwin.din1
-rw-r--r--winsup/cygwin/environ.cc2
-rw-r--r--winsup/cygwin/include/cygwin/version.h3
4 files changed, 11 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 1c9daf0..822c8e6 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,10 @@
+2003-07-24 Christopher Faylor <cgf@redhat.com>
+
+ * environ.cc (check_case_init): Use strncasematch.
+
+ * cygwin.din: Export __mempcpy.
+ * cygwin/version.h: Bump api minor number.
+
2003-07-21 Pavel Tsekov <ptsekov@gmx.net>
* mmap.cc: Use proper format specifiers for _off64_t and size_t in
diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din
index 336d469..d0ffbb0 100644
--- a/winsup/cygwin/cygwin.din
+++ b/winsup/cygwin/cygwin.din
@@ -821,6 +821,7 @@ _memcpy = memcpy
memmove
_memmove = memmove
mempcpy
+__mempcpy = mempcpy
memset
_memset = memset
mkdir
diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc
index 297069c..58d8800 100644
--- a/winsup/cygwin/environ.cc
+++ b/winsup/cygwin/environ.cc
@@ -405,7 +405,7 @@ check_case_init (const char *buf)
if (!buf || !*buf)
return;
- if (strncmp (buf, "relax", 5)== 0)
+ if (strncasematch (buf, "relax", 5))
{
pcheck_case = PCHECK_RELAXED;
debug_printf ("File case checking set to RELAXED");
diff --git a/winsup/cygwin/include/cygwin/version.h b/winsup/cygwin/include/cygwin/version.h
index 6954d09..903787f 100644
--- a/winsup/cygwin/include/cygwin/version.h
+++ b/winsup/cygwin/include/cygwin/version.h
@@ -208,12 +208,13 @@ details. */
86: Export ftok
87: Export vsyslog
88: Export _getreent
+ 89: Export __mempcpy
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
-#define CYGWIN_VERSION_API_MINOR 88
+#define CYGWIN_VERSION_API_MINOR 89
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible