diff options
-rw-r--r-- | winsup/cygwin/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/cygwin/glob.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7b20790..6807e30 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 47f8ee1..c74a781 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); |