delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/05/07/10:23:59

Date: Wed, 7 May 2003 10:23:51 -0400
Message-Id: <200305071423.h47ENpwW005097@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <8011-Wed07May2003101523+0300-eliz@elta.co.il>
Subject: Re: djtar and slightly weirdly formatted ZIPs, revision 2 [PATCH]
References: <E19Bvwx-0000zi-00 AT phekda DOT freeserve DOT co DOT uk> <Pine DOT OSF DOT 4 DOT 51 DOT 0305061421140 DOT 24402 AT sirppi DOT helsinki DOT fi> <2950-Tue06May2003201426+0300-eliz AT elta DOT co DOT il> <200305061806 DOT h46I6L4T020189 AT envy DOT delorie DOT com> <8011-Wed07May2003101523+0300-eliz AT elta DOT co DOT il>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> > No, that sets the width, but doesn't force leading zeros.  You'd end
> > up with "0x f f".
> 
> AFAIK, with integer numbers, if you force a certain number of digits,
> you get leading zeros.
> 
> Anyway, I've just tried this, and both methods produce "0f", so they
> seem to be equivalent in this context.

I didn't expect that, but linux does it too.  Ok, then.

- Raw text -


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