Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2001 16:43:33 -0800 (PST)
From:      "Andrey A. Chernov" <ache@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/locale lmonetary.c lnumeric.c
Message-ID:  <200102100043.f1A0hXY47915@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
ache        2001/02/09 16:43:33 PST

  Modified files:
    lib/libc/locale      lmonetary.c lnumeric.c 
  Log:
  NOTE: according to SUSV2 and other implementations, numeric elements in
  LC_MONETARY, LC_NUMERIC are byte-arrays, not ASCII strings!
  
  Fix "C" locale, change "-1" to {CHAR_MAX, '\0'} according to standards.
  
  This is only partial fix - locale loading procedure remains broken as before
  and load too big values for all locales.  All numeric strings there should be
  converted with something like atoi() and placed into bytes.  Maybe I do it
  later, if someone will not fix it faster.
  
  Revision  Changes    Path
  1.2       +3 -2      src/lib/libc/locale/lmonetary.c
  1.2       +7 -4      src/lib/libc/locale/lnumeric.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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