ICU-3333 Fix for Solaris
X-SVN-Rev: 18255
This commit is contained in:
parent
f34b0d205d
commit
f57f84234d
@ -56,7 +56,7 @@ IdnaConfTest::~IdnaConfTest(){
|
||||
/* this function is modified from RBBITest::ReadAndConvertFile()
|
||||
*
|
||||
*/
|
||||
bool IdnaConfTest::ReadAndConvertFile(){
|
||||
UBool IdnaConfTest::ReadAndConvertFile(){
|
||||
|
||||
char * source = NULL;
|
||||
size_t source_len;
|
||||
@ -152,7 +152,7 @@ int IdnaConfTest::isNewlineMark(){
|
||||
* lines from the physical lines.
|
||||
*
|
||||
*/
|
||||
bool IdnaConfTest::ReadOneLine(UnicodeString& buf){
|
||||
UBool IdnaConfTest::ReadOneLine(UnicodeString& buf){
|
||||
if ( !(curOffset < len) ) return false; // stream end
|
||||
|
||||
static const UChar BACKSLASH = 0x5c;
|
||||
|
@ -30,9 +30,9 @@ private:
|
||||
int len ;
|
||||
int curOffset;
|
||||
|
||||
bool ReadAndConvertFile();
|
||||
UBool ReadAndConvertFile();
|
||||
int isNewlineMark();
|
||||
bool ReadOneLine(UnicodeString&);
|
||||
UBool ReadOneLine(UnicodeString&);
|
||||
|
||||
// for parsing one test record
|
||||
UnicodeString id; // for debug & error output
|
||||
|
Loading…
Reference in New Issue
Block a user