* objcopy.c (set_times): New static function, replacing
authorIan Lance Taylor <ian@airs.com>
Fri, 3 Oct 1997 20:45:37 +0000 (20:45 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 3 Oct 1997 20:45:37 +0000 (20:45 +0000)
make_same_dates.
(strip_main): If preserve_dates, stat the input file before
copying it, and call set_times afterward.
(copy_main): Likewise.

binutils/ChangeLog

index f0717b479426a818fcf68c653592bb237f1432ed..f6199507bdfb6794338daadf27d7e14813909040 100644 (file)
@@ -1,5 +1,11 @@
 Fri Oct  3 12:04:25 1997  Ian Lance Taylor  <ian@cygnus.com>
 
+       * objcopy.c (set_times): New static function, replacing
+       make_same_dates.
+       (strip_main): If preserve_dates, stat the input file before
+       copying it, and call set_times afterward.
+       (copy_main): Likewise.
+
        * wrstabs.c (write_stabs_in_sections_debugging_info): Cast p to
        char * when calling strcpy and strlen.