ICU-1485 Fix the fix on HP/UX for genrb supporting directories with namespaces
(unfortunately checked in as j1492 and 1498) X-SVN-Rev: 6980
This commit is contained in:
parent
2e5e127450
commit
7f96728b0f
@ -207,7 +207,7 @@ processFile(const char *filename, const char *cp, const char *inputDir, const ch
|
||||
* another file, like UCARules.txt or thaidict.brk.
|
||||
*/
|
||||
int32_t filenameSize = filenameBegin - filename + 1;
|
||||
inputDirBuf = uprv_strncpy(uprv_malloc(filenameSize), filename, filenameSize);
|
||||
inputDirBuf = uprv_strncpy((char *)uprv_malloc(filenameSize), filename, filenameSize);
|
||||
inputDirBuf[filenameSize - 1] = 0;
|
||||
inputDir = inputDirBuf;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user