Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 00:42:13 +0000 (UTC)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/stdlib strtoimax.c strtol.c strtoll.c strtoul.c strtoull.c strtoumax.c
Message-ID:  <200501210042.j0L0gDKj001516@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501210042.j0L0gDKj001516>