• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisionb831bd7c90c327d37c4376bd5289c370ab9e8237 (tree)
Time2001-10-25 15:33:31
AuthorRichard Henderson <rth@redh...>
CommiterRichard Henderson

Log Message

        • peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy
          timestamp to time_t for ctime.

Change Summary

Incremental Difference

--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
11 2001-10-24 Richard Henderson <rth@redhat.com>
22
3+ * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Copy
4+ timestamp to time_t for ctime.
5+
6+2001-10-24 Richard Henderson <rth@redhat.com>
7+
38 2001-08-23 Jakub Jelinek <jakub@redhat.com>
49 * elfxx-ia64.c (elfNN_ia64_hash_table_create): Clear ia64_info.
510
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -1825,7 +1825,10 @@ _bfd_XX_print_private_bfd_data_common (abfd, vfile)
18251825 #undef PF
18261826
18271827 /* ctime implies '\n'. */
1828- fprintf (file, "\nTime/Date\t\t%s", ctime (&pe->coff.timestamp));
1828+ {
1829+ time_t t = pe->coff.timestamp;
1830+ fprintf (file, "\nTime/Date\t\t%s", ctime (&t));
1831+ }
18291832 fprintf (file, "\nImageBase\t\t");
18301833 fprintf_vma (file, i->ImageBase);
18311834 fprintf (file, "\nSectionAlignment\t");