From owner-cvs-src@FreeBSD.ORG Fri Jan 21 00:42:13 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 994DE16A4CE; Fri, 21 Jan 2005 00:42:13 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 862E043D31; Fri, 21 Jan 2005 00:42:13 +0000 (GMT) (envelope-from ache@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j0L0gDO5001517; Fri, 21 Jan 2005 00:42:13 GMT (envelope-from ache@repoman.freebsd.org) Received: (from ache@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j0L0gDKj001516; Fri, 21 Jan 2005 00:42:13 GMT (envelope-from ache) Message-Id: <200501210042.j0L0gDKj001516@repoman.freebsd.org> From: "Andrey A. Chernov" Date: Fri, 21 Jan 2005 00:42:13 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libc/stdlib strtoimax.c strtol.c strtoll.c strtoul.c strtoull.c strtoumax.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jan 2005 00:42:13 -0000 ache 2005-01-21 00:42:13 UTC FreeBSD src repository Modified files: lib/libc/stdlib strtoimax.c strtol.c strtoll.c strtoul.c strtoull.c strtoumax.c Log: POSIX says that 0[xX] prefix is _optional_ even in base 16 case, make it really so. "If the value of base is 16, the characters 0x or 0X may optionally precede the sequence of letters and digits, following the sign if present." Found by: joerg Revision Changes Path 1.10 +5 -1 src/lib/libc/stdlib/strtoimax.c 1.18 +5 -1 src/lib/libc/stdlib/strtol.c 1.20 +5 -1 src/lib/libc/stdlib/strtoll.c 1.17 +5 -1 src/lib/libc/stdlib/strtoul.c 1.19 +5 -1 src/lib/libc/stdlib/strtoull.c 1.9 +5 -1 src/lib/libc/stdlib/strtoumax.c