delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/12/01/13:29:20

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10212011831.AA16642@clio.rice.edu>
Subject: Re: strtold is now a standard function (C99) [PATCH]
To: djgpp-workers AT delorie DOT com
Date: Sun, 1 Dec 2002 12:31:17 -0600 (CST)
In-Reply-To: <200212011528.gB1FS8123347@envy.delorie.com> from "DJ Delorie" at Dec 01, 2002 10:28:08 AM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
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

> > strtold is now a standard function. Below is a patch with instructions.
> > Basically the patch adds a stub strtold, which calls _strtold.

> If strtold is a standard function, stubbing it seems wrong.  I know
> it's consistent with our rules, it's just feels weird.

We could rename the function and stub _strtold.  I don't care either way.

> > Step 1: Rename src/libc/ansi/stdlib/strtold.c to _strtold.c.
> 
> Do we really need to rename files just because of an underscore?  We
> don't do that for other stubbed functions.

I agree - I don't think renaming the file is necessary

- Raw text -


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