From: Fred Fish Date: Sat, 1 Jul 1995 19:28:13 +0000 (+0000) Subject: * ar.c: (extract_file): Change "#if POSIX_UTIME" to X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8190614e910880daea3d661e5f2ff61d3417cc32;p=binutils-gdb.git * ar.c: (extract_file): Change "#if POSIX_UTIME" to "#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME and avoid lossage when POSIX_UTIME is not defined at all. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 450533d5cea..f43d1fb9783 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +Sat Jul 1 12:25:15 1995 Fred Fish + + * ar.c: (extract_file): Change "#if POSIX_UTIME" to + "#ifdef POSIX_UTIME" to match other tests of POSIX_UTIME + and avoid lossage when POSIX_UTIME is not defined at all. + Wed Jun 28 17:51:24 1995 Steve Chamberlain * ar.c: (print_contents.c, extract_file, do_quick_append): diff --git a/binutils/ar.c b/binutils/ar.c index 71918a7b85e..7a3a477b61b 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -727,7 +727,7 @@ extract_file (abfd) if (preserve_dates) { -#if POSIX_UTIME +#ifdef POSIX_UTIME struct utimbuf tb; tb.actime = buf.st_mtime; tb.modtime = buf.st_mtime;