1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-12 19:04:54 +03:00
2002-12-11  Jakub Jelinek  <jakub@redhat.com>

	* io/test-utime (main): If stnow.st[am]time is wrong, print it and
	not st.st[am]time.
This commit is contained in:
Ulrich Drepper
2002-12-12 09:25:42 +00:00
parent 57f97cff02
commit 688e7bfe2b
2 changed files with 8 additions and 3 deletions

View File

@@ -1,3 +1,8 @@
2002-12-11 Jakub Jelinek <jakub@redhat.com>
* io/test-utime (main): If stnow.st[am]time is wrong, print it and
not st.st[am]time.
2002-04-30 Bruno Haible <bruno@clisp.org> 2002-04-30 Bruno Haible <bruno@clisp.org>
* intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to * intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to

View File

@@ -1,4 +1,4 @@
/* Copyright (C) 1994, 1996, 1997, 2000 Free Software Foundation, Inc. /* Copyright (C) 1994, 1996, 1997, 2000, 2002 Free Software Foundation, Inc.
This file is part of the GNU C Library. This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or The GNU C Library is free software; you can redistribute it and/or
@@ -114,13 +114,13 @@ main (int argc, char *argv[])
if (stnow.st_mtime < now1 || stnow.st_mtime > now2) if (stnow.st_mtime < now1 || stnow.st_mtime > now2)
{ {
printf ("modtime %ld <%ld >%ld\n", st.st_mtime, now1, now2); printf ("modtime %ld <%ld >%ld\n", stnow.st_mtime, now1, now2);
return 1; return 1;
} }
if (stnow.st_atime < now1 || stnow.st_atime > now2) if (stnow.st_atime < now1 || stnow.st_atime > now2)
{ {
printf ("actime %ld <%ld >%ld\n", st.st_atime, now1, now2); printf ("actime %ld <%ld >%ld\n", stnow.st_atime, now1, now2);
return 1; return 1;
} }