ICU-6709 fix udata_setAppData to handle bogus double properly. Also, have uconv's make check do something

X-SVN-Rev: 25353
This commit is contained in:
Steven R. Loomis 2009-01-30 17:59:33 +00:00
parent 55e28eae85
commit b8f9d76697
4 changed files with 7 additions and 4 deletions

1
.gitattributes vendored
View File

@ -137,6 +137,7 @@ icu4c/source/data/xml/rbnf/ga.xml -text
icu4c/source/data/xml/rbnf/mt.xml -text
icu4c/source/data/xml/rbnf/root.xml -text
icu4c/source/extra/uconv/pkgdataMakefile.in -text
icu4c/source/extra/uconv/samples/ibm-37-test.txt -text
icu4c/source/i18n/dtitv_impl.h -text
icu4c/source/i18n/dtitvfmt.cpp -text
icu4c/source/i18n/dtitvinf.cpp -text

View File

@ -1,7 +1,7 @@
/*
******************************************************************************
*
* Copyright (C) 1999-2008, International Business Machines
* Copyright (C) 1999-2009, International Business Machines
* Corporation and others. All Rights Reserved.
*
******************************************************************************
@ -962,7 +962,7 @@ udata_setAppData(const char *path, const void *data, UErrorCode *err)
}
UDataMemory_init(&udm);
udm.pHeader = data;
UDataMemory_setData(&udm, data);
udata_checkCommonData(&udm, err);
udata_cacheDataItem(path, &udm, err);
}

View File

@ -1,6 +1,6 @@
## ******************************************************************************
## *
## * Copyright (C) 1999-2008, International Business Machines
## * Copyright (C) 1999-2009, International Business Machines
## * Corporation and others. All Rights Reserved.
## *
## *******************************************************************************
@ -112,7 +112,8 @@ resclean:
distclean-local: clean-local
$(RMV) Makefile $(DEPS)
check-local:
check-local: $(TARGET)
$(INVOKE) ./$(TARGET) -f ibm-37 $(srcdir)/samples/ibm-37-test.txt
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
cd $(top_builddir) \

View File

@ -0,0 +1 @@
ラチ粐z@テ抹・<E68AB9>「塩鼻<E5A1A9>又@奄覗<E5A584>@ヲ△@「、ャ<EFBDA4><EFBFBD>適%