diff options
author | kientzle <kientzle@FreeBSD.org> | 2008-01-15 16:27:15 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2008-01-15 16:27:15 +0000 |
commit | b00d558d00d204771598eb590cfcf983657e0b1a (patch) | |
tree | e1e745b7e53e96efa2893e5d6a73bed04bb98e1b /lib/libc/stdlib/grantpt.c | |
parent | c02890da0b4e1279b29fcf72906c76e4824c6037 (diff) | |
download | FreeBSD-src-b00d558d00d204771598eb590cfcf983657e0b1a.zip FreeBSD-src-b00d558d00d204771598eb590cfcf983657e0b1a.tar.gz |
Handle Zip archives that are "multi-part archives with only
one part" by simply ignoring the marker at the beginning
of the file. (Zip archivers reserve four bytes at the beginning
of each part of a multi-part archive, if it happens to only
require one part, those four bytes get filled with a placeholder
that can be ignored.)
Thanks to: Marius Nuennerich,
for pointing me to a Zip archive that libarchive couldn't handle
MFC after: 7 days
Diffstat (limited to 'lib/libc/stdlib/grantpt.c')
0 files changed, 0 insertions, 0 deletions