From f10765b4e5aaaf3e0545bcdf3256f307f2663c4a Mon Sep 17 00:00:00 2001 From: cgf Date: Thu, 24 Jul 2003 19:33:13 +0000 Subject: [PATCH] * environ.cc (check_case_init): Use strncasematch. * cygwin.din: Export __mempcpy. * cygwin/version.h: Bump api minor number. --- winsup/cygwin/ChangeLog | 7 +++++++ winsup/cygwin/cygwin.din | 1 + winsup/cygwin/environ.cc | 2 +- winsup/cygwin/include/cygwin/version.h | 3 ++- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 1c9daf04f9..822c8e6ef2 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,10 @@ +2003-07-24 Christopher Faylor + + * environ.cc (check_case_init): Use strncasematch. + + * cygwin.din: Export __mempcpy. + * cygwin/version.h: Bump api minor number. + 2003-07-21 Pavel Tsekov * 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 336d469412..d0ffbb076e 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 297069cb65..58d8800133 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 6954d09693..903787f06c 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 -- 2.11.0