From owner-cvs-lib Tue Aug 1 14:38:09 1995 Return-Path: cvs-lib-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id OAA07514 for cvs-lib-outgoing; Tue, 1 Aug 1995 14:38:09 -0700 Received: (from ache@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id OAA07502 ; Tue, 1 Aug 1995 14:38:03 -0700 Date: Tue, 1 Aug 1995 14:38:03 -0700 From: "Andrey A. Chernov" Message-Id: <199508012138.OAA07502@freefall.cdrom.com> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/stdlib strtol.c Sender: cvs-lib-owner@freebsd.org Precedence: bulk ache 95/08/01 14:38:02 Modified: lib/libc/stdlib strtol.c Log: strtol and atoi VERY broken in 8bit chars locale, i.e. if you pass something like 38400 it not detect this stuff and produce very big number instead. Fixed by operating with unsigned char and checking for isascii. (secure/telnetd hits by it f.e.)