www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/12/30/06:32:25

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: <ams AT ludd DOT ltu DOT se>
Message-Id: <200412301131.iBUBVwGS010407@speedy.ludd.ltu.se>
Subject: Re: C99 strftime and Related Changes
In-Reply-To: <01c4ee2e$Blat.v2.2.2$b47836a0@zahav.net.il> "from Eli Zaretskii
at Dec 30, 2004 07:15:21 am"
To: djgpp-workers AT delorie DOT com
Date: Thu, 30 Dec 2004 12:31:58 +0100 (CET)
X-Mailer: ELM [version 2.4ME+ PL78 (25)]
MIME-Version: 1.0
X-ltu-MailScanner-Information: Please contact the ISP for more information
X-ltu-MailScanner: Found to be clean
X-MailScanner-From: ams AT ludd DOT ltu DOT se
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

According to Eli Zaretskii:
> > From: <ams AT ludd DOT ltu DOT se>
> > Executable size, e.g. Besides growing a lot, setlocale() pulls in
> > itoa() and stpcpy() as well.
> 
> It's not good it pulls in those functions, since they are (IIRC)
> non-ANSI.  So we must do something to prevent the namespace
> pollution.  stpcpy could be simply replaced by strcpy followed by
> pointer increment.

That has already been taken care of; I've changed
<libc/stubs.h>. However perhaps we want some other functions called
instead (like that stpcpy() -> strcpy())?


Right,

						MartinS

- Raw text -


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