Scanf with a long long.

Corinna Vinschen cygwin@cygwin.com
Thu Sep 6 08:48:00 GMT 2001


On Thu, Sep 06, 2001 at 11:39:23AM -0400, Larry Hall (RFK Partners, Inc) wrote:
> At 11:32 AM 9/6/2001, Kurt Roeckx wrote:
> >On Thu, Sep 06, 2001 at 09:23:21AM +0200, Corinna Vinschen wrote:
> > > 
> > > It's a newlib problem. Nobody implemented strtoll or strtoull
> > > so far.  So scanf can't call them.
> >
> >So, what didn't you take the one from glibc, or the one written

Newlib can't take from glibc due to licensing constraints.

> >by DJ Delorie?  Newlib seems to include other things from him
> >too.
> 
> 
> Patches are generally accepted from anyone who cares to make them.

That's right and it's sometimes really easy:  Nobody cared to
send a patch to the newlib folks so far and the newlib folks
are doing other stuff.

> >Anyway, I took the time to write my own version, if anybody is
> >intrested.
> 
> 
> The newlib folks may be.  Why not send it on to them?

I agree.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list