Files
bbs/internal/archive/testdata/m4.arj
T
Claude 0c0e5ffd51 FidoNet: ARC, ARJ and LHA bundles, in an archive package of our own
internal/archive reads ZIP, ARC (stored, packed, squeezed, crunched,
squashed), ARJ (methods 0 to 4) and LHA (-lh0-, -lh4- to -lh7-, header
levels 0 to 2) in Go, with no other programs, and writes ARC, ARJ and
LHA stored.  Sizes are checked before memory is given to them and every
entry against its CRC; it was fuzzed, and stressed with 350,000 damaged
archives (none slower than 30 ms).  The test archives were made by the
real programs (arc 5.21q, ARJ32 3.10, jlha), and what is written here
passes their own tests.

Bundles from links are tossed whatever their format (known by their
first bytes, not their names); packer = arc, arj or lha bundles in those
(stored).  A test packs packets with the real programs, compressing,
where they are installed.  The file base lists and takes FILE_ID.DIZ
from ARC, ARJ and LHA archives too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AFQhReUqUc7F5srk2hViqr
2026-10-13 22:47:57 +00:00

5.9 KiB