diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2003-03-17 23:44:10 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2003-03-17 23:44:10 +0300 |
commit | c51dc9c24578a191e3b2ba7b1d52e93d44d933d5 (patch) | |
tree | 905e15a968cf734c16972549e1b9fa1d7ea343ec /winsup/cygwin/glob.c | |
parent | f194ba1ff3b41ef23457608c9d5bb964545ec4f9 (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/cygwin/glob.c')
-rw-r--r-- | winsup/cygwin/glob.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |