Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-210

handle zip extra field 0x5455 - Extended Timestamp

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.5
    • Archivers
    • None

    Description

      From Info Zip's "zip-3.0" source archive (proginfo/extrafld.txt):

      -Extended Timestamp Extra Field:
      ==============================

      The following is the layout of the extended-timestamp extra block.
      (Last Revision 19970118)

                Local-header version:
      
                Value         Size        Description
                -----         ----        -----------
        (time)  0x5455        Short       tag for this extra block type ("UT")
                TSize         Short       total data size for this block
                Flags         Byte        info bits
                (ModTime)     Long        time of last modification (UTC/GMT)
                (AcTime)      Long        time of last access (UTC/GMT)
                (CrTime)      Long        time of original creation (UTC/GMT)
      
                Central-header version:
      
                Value         Size        Description
                -----         ----        -----------
        (time)  0x5455        Short       tag for this extra block type ("UT")
                TSize         Short       total data size for this block
                Flags         Byte        info bits (refers to local header!)
                (ModTime)     Long        time of last modification (UTC/GMT)
      

      The central-header extra field contains the modification time only,
      or no timestamp at all. TSize is used to flag its presence or
      absence. But note:

      Attachments

        1. COMPRESS-210.patch
          42 kB
          Julius Davies

        Activity

          People

            juliusdavies Julius Davies
            juliusdavies Julius Davies
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: