HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
Showing results for 
Search instead for 
Did you mean: 

Nasty bug in UnZip 6.00d ("BETA") - BAD_DIRSIZE, BAD_DIRTYPE, ...

Steven Schweda
Honored Contributor

Nasty bug in UnZip 6.00d ("BETA") - BAD_DIRSIZE, BAD_DIRTYPE, ...

The source kit for UnZip 6.00d (pre-release,


contains a nasty bug. The bug was fixed last
year, but apparently the fix got lost, and I
didn't notice it soon enough. When unpacking a
"-V" archive on a VMS system, UnZip may produce
corrupt directories. ANALYZE /DISK_STRUCTURE
will emit complaints like BAD_DIRSIZE,
BAD_DIRTYPE, and so on, and something like
to straighten things out again.

This problem is likely to occur when more files
existed in a directory than were included in
the archive when Zip ("-V") created the
archive. Then, when UnZip expands the archive,
it may erroneously restore some directory
attributes other than date-time (for example,
size!), and the result is a corrupt directory.

A new (probably better/safer) [.vms]vms.c
file should be available here:


I'm sorry for the trouble. With any luck (and
a bit more carefullness), it'll be right in
6.00e and up.
Steven Schweda
Honored Contributor

Re: Nasty bug in UnZip 6.00d ("BETA") - BAD_DIRSIZE, BAD_DIRTYPE, ...

Only an announcement.