delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/06/15:03:31

From: ad354 AT FreeNet DOT Carleton DOT CA (James Owens)
Newsgroups: comp.os.msdos.djgpp
Subject: DJGPP and InfoZIP volume label option
Date: 6 Nov 2000 19:09:01 GMT
Organization: The National Capital FreeNet
Lines: 20
Message-ID: <8u6vkd$fmm$1@freenet9.carleton.ca>
NNTP-Posting-Host: freenet10
X-Trace: freenet9.carleton.ca 973537741 16086 134.117.136.30 (6 Nov 2000 19:09:01 GMT)
X-Complaints-To: complaints AT ncf DOT ca
NNTP-Posting-Date: 6 Nov 2000 19:09:01 GMT
X-Given-Sender: ad354 AT freenet10 DOT carleton DOT ca (James Owens)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

There's a bug in InfoZIP 5.41 and I can't seem to fix it with DJGPP. I
want to use the UNZIPSFX stub with the -$ option, which writes the volume
label to floppy. If I use the precompiled stub from InfoZIP, then when I type

[A:\]sfxtest -$

I get 'labelling a: myvollab' but the label is truncated to 8 characters.
(For my needs this is a problem.) If I compile the stub from source using
DJGPP, then from the same command I get 'skipping: myvollabel    hard disk
volume label' and the floppy is not labelled at all.  (The ZIP file is very
large, so placing it on A: first is not an option AFAIK).

In the InfoZIP source the truncation problem is known (the comment "GRR: 
have problem if filename is volume label??" appears). I'd hoped to fix it,
but why is the DJGPP compile behaving differently?

--

                                     James Owens  ad354 AT Freenet DOT carleton DOT ca
                                     Ottawa, Ontario, Canada

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019