delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/06/13/04:53:38

Date: Sun, 13 Jun 1999 11:51:05 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Morten Welinder <terra AT diku DOT dk>
cc: djgpp-workers AT delorie DOT com
Subject: Re: strtol
In-Reply-To: <199906122148.XAA03072@tyr.diku.dk>
Message-ID: <Pine.SUN.3.91.990613114948.17906f-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 Sat, 12 Jun 1999, Morten Welinder wrote:

> As far as I can tell, in src/libc/ansi/stdlib/strtol.c, strtol is
> sending signed chars to isspace, isupper, and isdigit.  The effect of
> that is undefined.

I'm not sure I follow.  strtol sends an int to ctype function, not a 
signed char.  Where exactly is the problem?

- Raw text -


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