delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/08/02/12:38:36

Date: Mon, 2 Aug 1999 19:02:28 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: DJ Delorie <dj AT delorie DOT com>
cc: pavenis AT lanet DOT lv, djgpp-workers AT delorie DOT com
Subject: Re: sscanf() format %p seems to be broken
In-Reply-To: <199908021430.KAA01030@envy.delorie.com>
Message-ID: <Pine.SUN.3.91.990802185952.27820A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Mon, 2 Aug 1999, DJ Delorie wrote:

> The only rule is that what printf prints for %p is what scanf should
> expect for %p.  It could be in pig-latin as long as it worked.

I agree; but we don't comply, currently: doprnt.c uses base = 16 for %p, 
but doscan.c does not.  I will fix that.

Actually, I like that pig-latin idea ;-)

- Raw text -


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