Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/lib/libc



Module Name:    src
Committed By:   tnozaki
Date:           Tue Aug 12 20:51:25 UTC 2008

Modified Files:
        src/lib/libc/locale: iswctype.c iswctype_sb.c
        src/lib/libc/string: wcswidth.c

Log Message:
SUSv3 says, wcwidth(wc) returns:
  1) wc is nul wide-character, return 0.
  2) wc is printable wide-character, return column width.
  3) else, return -1.
but our implementation, case 3) returns 0. it's wrong!


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/lib/libc/locale/iswctype.c
cvs rdiff -r1.4 -r1.5 src/lib/libc/locale/iswctype_sb.c
cvs rdiff -r1.3 -r1.4 src/lib/libc/string/wcswidth.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index