Date: Mon, 14 Jun 1999 18:53:52 +0300 (IDT) From: Eli Zaretskii X-Sender: eliz AT is To: Morten Welinder cc: djgpp-workers AT delorie DOT com Subject: Re: strtol In-Reply-To: <199906141539.RAA01441@tyr.diku.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Precedence: bulk On Mon, 14 Jun 1999, Morten Welinder wrote: > It should work, but don't forget strtod, strtoul, ... I changed them all already (and then some), I just didn't want to send all the diffs, as they are very similar. > Basically, just grep for isspace, isdigit, isal, and so on. Yep, did something like that: M-x grep RET grep -n -e is[sdahcgulp] djgpp/src/.../*.c RET (and another run for touper/tolower). > The easiest fix typically is to make the string "unsigned char *". > (Or copy it into such a local pointer if it happens to be the > argument.) Unfortunately, some of the code is too complicated to allow such easy fixes without risking to break something. doscan.c gave me some headache, in particular. But I did use the cast whenever possible. Thanks for the feedback.