From b30806af0063d7d3bb7a73e4968c9c8a43336f82 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Mon, 22 Jul 2002 16:13:18 +0000 Subject: [PATCH] ICU-1992 Undo my last change. X-SVN-Rev: 9279 --- icu4c/source/common/putil.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/icu4c/source/common/putil.c b/icu4c/source/common/putil.c index d6303aba939..11ca52970a3 100644 --- a/icu4c/source/common/putil.c +++ b/icu4c/source/common/putil.c @@ -825,10 +825,6 @@ u_setDataDirectory(const char *directory) { length=uprv_strlen(directory); newDataDir = (char *)uprv_malloc(length + 2); uprv_strcpy(newDataDir, directory); - if(newDataDir[length-1]!=U_FILE_SEP_CHAR) { - newDataDir[length++]=U_FILE_SEP_CHAR; - newDataDir[length] = 0; - } umtx_lock(NULL); if (gDataDirectory) {