Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-03-17 23:44:10 +0300
committerCorinna Vinschen <corinna@vinschen.de>2003-03-17 23:44:10 +0300
commitc51dc9c24578a191e3b2ba7b1d52e93d44d933d5 (patch)
tree905e15a968cf734c16972549e1b9fa1d7ea343ec /winsup
parentf194ba1ff3b41ef23457608c9d5bb964545ec4f9 (diff)
* glob.c (g_lstat): Change API minor test to match API minor number
change in previous patch. (g_stat): Ditto.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog6
-rw-r--r--winsup/cygwin/glob.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 7b207909c..6807e3034 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,9 @@
+2003-03-17 Corinna Vinschen <corinna@vinschen.de>
+
+ * glob.c (g_lstat): Change API minor test to match API minor number
+ change in previous patch.
+ (g_stat): Ditto.
+
2003-03-17 Christopher Faylor <cgf@redhat.com>
* include/cygwin/version.h: Reorganize last two api versions so that
diff --git a/winsup/cygwin/glob.c b/winsup/cygwin/glob.c
index 47f8ee120..c74a7812c 100644
--- a/winsup/cygwin/glob.c
+++ b/winsup/cygwin/glob.c
@@ -840,7 +840,7 @@ g_lstat(fn, sb, pglob)
struct __stat32 lsb;
int ret;
- if (user_data->api_major > 0 || user_data->api_minor > 77)
+ if (user_data->api_major > 0 || user_data->api_minor > 78)
ret = (*pglob->gl_lstat)(buf, &sb);
else if (!(ret = (*pglob->gl_lstat)(buf, &lsb)))
stat32_to_STAT (&lsb, sb);
@@ -866,7 +866,7 @@ g_stat(fn, sb, pglob)
struct __stat32 lsb;
int ret;
- if (user_data->api_major > 0 || user_data->api_minor > 77)
+ if (user_data->api_major > 0 || user_data->api_minor > 78)
ret = (*pglob->gl_stat)(buf, &sb);
if (!(ret = (*pglob->gl_stat)(buf, &lsb)))
stat32_to_STAT (&lsb, sb);