HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - OpenVMS
 - >
 - Re: Nasty bug in UnZip 6.00d ("BETA") - BAD_DIRSIZ...
 
Operating System - OpenVMS
        1840135
        Members
    
    
        1872
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-27-2008 10:58 AM
03-27-2008 10:58 AM
			
				
					
						
							Nasty bug in UnZip 6.00d ("BETA") - BAD_DIRSIZE, BAD_DIRTYPE, ...
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						The source kit for UnZip 6.00d (pre-release,
"BETA"):
ftp://ftp.info-zip.org/pub/infozip/beta/unzip60d.zip
http://downloads.sourceforge.net/infozip/unzip60d.zip
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
ANALYZE /DISK_STRUCTURE /REPAIR will be needed
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:
ftp://antinode.org/info-zip/unzip60d/vms/vms.c
http://antinode.org/ftp/info-zip/unzip60d/vms/vms.c
I'm sorry for the trouble. With any luck (and
a bit more carefullness), it'll be right in
6.00e and up.
		
		
	
	
	
"BETA"):
ftp://ftp.info-zip.org/pub/infozip/beta/unzip60d.zip
http://downloads.sourceforge.net/infozip/unzip60d.zip
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
ANALYZE /DISK_STRUCTURE /REPAIR will be needed
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:
ftp://antinode.org/info-zip/unzip60d/vms/vms.c
http://antinode.org/ftp/info-zip/unzip60d/vms/vms.c
I'm sorry for the trouble. With any luck (and
a bit more carefullness), it'll be right in
6.00e and up.
		1 REPLY 1
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
03-27-2008 10:59 AM
03-27-2008 10:59 AM
			
				
					
						
							Re: Nasty bug in UnZip 6.00d ("BETA") - BAD_DIRSIZE, BAD_DIRTYPE, ...
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Only an announcement.
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		
		
		
	
	
	
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP