* glob.c (g_lstat): Change API minor test to match API minor number
change in previous patch. (g_stat): Ditto.
This commit is contained in:
parent
f194ba1ff3
commit
c51dc9c245
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue