* 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:
Corinna Vinschen 2003-03-17 20:44:10 +00:00
parent f194ba1ff3
commit c51dc9c245
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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);