[prev in list] [next in list] [prev in thread] [next in thread] 

List:       icu-bugrfe
Subject:    [icu-bug] incoming/2701
From:       jtcsv () jtcsv ! com
Date:       2003-02-13 0:09:23
[Download RAW message or body]

schererm moved PR#2701 from incoming to strings	URL: http://www.jtcsv.com/cgi-bin/icu-bugs?findid=2701

====> ORIGINAL MESSAGE FOLLOWS <====

From: weiv@jtcsv.com
Date: Fri Feb  7 21:17:50 2003
Subject: Client of u_unescape should check usage of return value

Full_Name: Vladimir Weinstein
Version: 2.4
OS: all
PROJECT: ICU4C,ICU4J and ICU4JNI
JAVA:   
Submission from: (NULL) (66.32.184.146)
Submitted by: weiv


u_unescape has changed between 2.2 and 2.4 and now returns the length that DOES
NOT include the trailing zero. Previously, length included trailing zeros.

I have stumbled upon some tests that still assume the old behavior.
(/tscoll/citertst/TestNormalization). We should go in and make sure that every
caller of u_unescape understands that the length of resulting string does not
include the trailing zero.

_______________________________________________
icu-bugrfe mailing list
icu-bugrfe@oss.software.ibm.com
http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu-bugrfe
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic