Update to 72-1
Update Diary https://docs.google.com/document/d/1bzme4zR_swaqMoJIYLL9wwk-rsjdAdjGrU073h0TJbo/edit#
Release Note
ICU 72 https://icu.unicode.org/download/72
CLDR 42 https://cldr.unicode.org/index/downloads/cldr-42
Size Impact:
Android +85.1K
Cast: +22.9K
ChromeOS: +55.8K
Desktop: +77K
Bug: 1371208
Change-Id: If5146e996917339d4d41b3f22a2af2e9977a1d4d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/deps/icu/+/3994603
Reviewed-by: Frank Tang <ftang@chromium.org>
Reviewed-by: Jungshik Shin <jshin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/deps/icu/+/4015159
diff --git a/source/tools/toolutil/filetools.cpp b/source/tools/toolutil/filetools.cpp
index 0f0e9c5..08bb9a4 100644
--- a/source/tools/toolutil/filetools.cpp
+++ b/source/tools/toolutil/filetools.cpp
@@ -39,17 +39,17 @@
/*
* Goes through the given directory recursive to compare each file's modification time with that of the file given.
- * Also can be given just one file to check against. Default value for isDir is FALSE.
+ * Also can be given just one file to check against. Default value for isDir is false.
*/
U_CAPI UBool U_EXPORT2
isFileModTimeLater(const char *filePath, const char *checkAgainst, UBool isDir) {
- UBool isLatest = TRUE;
+ UBool isLatest = true;
if (filePath == NULL || checkAgainst == NULL) {
- return FALSE;
+ return false;
}
- if (isDir == TRUE) {
+ if (isDir == true) {
#if U_HAVE_DIRENT_H
DIR *pDir = NULL;
if ((pDir= opendir(checkAgainst)) != NULL) {
@@ -64,7 +64,7 @@
newpath.append(dirEntry->d_name, -1, status);
if (U_FAILURE(status)) {
fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, u_errorName(status));
- return FALSE;
+ return false;
}
if ((subDirp = opendir(newpath.data())) != NULL) {
@@ -77,7 +77,7 @@
} else {
int32_t latest = whichFileModTimeIsLater(filePath, newpath.data());
if (latest < 0 || latest == 2) {
- isLatest = FALSE;
+ isLatest = false;
break;
}
}
@@ -87,17 +87,17 @@
closedir(pDir);
} else {
fprintf(stderr, "Unable to open directory: %s\n", checkAgainst);
- return FALSE;
+ return false;
}
#endif
} else {
if (T_FileStream_file_exists(checkAgainst)) {
int32_t latest = whichFileModTimeIsLater(filePath, checkAgainst);
if (latest < 0 || latest == 2) {
- isLatest = FALSE;
+ isLatest = false;
}
} else {
- isLatest = FALSE;
+ isLatest = false;
}
}