1. 30 Apr, 2020 1 commit
  2. 17 Apr, 2020 3 commits
  3. 16 Apr, 2020 1 commit
  4. 08 Apr, 2020 4 commits
  5. 05 Mar, 2020 1 commit
  6. 21 Jan, 2020 2 commits
  7. 27 Dec, 2019 1 commit
  8. 25 Dec, 2019 1 commit
  9. 22 Dec, 2019 2 commits
  10. 22 Nov, 2019 3 commits
  11. 01 Nov, 2019 4 commits
  12. 15 Oct, 2019 3 commits
  13. 03 Oct, 2019 1 commit
  14. 07 Sep, 2019 3 commits
  15. 05 Sep, 2019 7 commits
  16. 04 Sep, 2019 3 commits
    • Marc Herbert's avatar
      ar.pm: Tell user that GNU ar could not set the symbol table's mtime · a9824cd6
      Marc Herbert authored and Chris Lamb's avatar Chris Lamb committed
      
      
      ... in verbose mode, when setting it.
      
      In other words tell the user when GNU ar cannot reproduce the output of
      strip-nondeterminism.
      
      Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
      a9824cd6
    • Marc Herbert's avatar
      Add new $File::StripNondeterminism::verbose global · 7a88b046
      Marc Herbert authored and Chris Lamb's avatar Chris Lamb committed
      
      
      Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
      7a88b046
    • Marc Herbert's avatar
      ar.pm: Add test files for symtab ('/') and long names ('//') · f54aa08f
      Marc Herbert authored and Chris Lamb's avatar Chris Lamb committed
      
      
      Note symbol_table.out cannot be produced by GNU ar alone because it can't set
      any specified timestamp on the symbol table.
      
      long_member_name.a.out cannot be created by GNU ar alone either for a
      completely different, strange and permission-related reason.  Faking a
      specified timestamp for archive members is easy pre-archiving with "touch -r".
      However this obviously requires 'ar U'. For long filenames, ar U maps
      permissions 644 to the string "100644" for some unknown reason. Both ar D and
      strip-nondeterminism use the permission string "644" (displayed by diffoscope
      as "?rw-r--r--")
      
      This is the script which was used to create these test files:
      
      create_ar_testcase()
      {
          ar_base="$1"; shift
      
          for o in "$@"; do
              objcopy --remove-section=.comment \
              --remove-section=.note.GNU-stack \
              --remove-section=.eh_frame \
              "$o" || true
          done
          touch "$@"
      
          rm -f "${ar_base}".a.in "${ar_base}".a.out "${ar_base}".a.D
          ar qU "${ar_base}".a.in "$@"
      
          ar qD "${ar_base}".a.D "$@"
          cp "${ar_base}".a.D "${ar_base}".a
          strip-nondeterminism --normalizers +all -v -T 1423159771 "${ar_base}".a
          mv "${ar_base}".a "${ar_base}".a.out
      }
      
      Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
      f54aa08f