From: Jeffrey Altman Date: Tue, 19 Mar 2013 20:14:18 +0000 (-0400) Subject: util: fix dirpath use of clntEtcDir on Windows X-Git-Tag: openafs-stable-1_8_0pre1~1271 X-Git-Url: https://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=f36a72bf28c0e17080d96c4367aa858cc9c02716 util: fix dirpath use of clntEtcDir on Windows When commit 9b0a7f5d13115fe5760db16587fe81dd35a5a0ef added the variable 'clntEtcDir' it failed to assign it a value on Windows. Change-Id: I02cfb994a28e3e1032741d1b2710acb5d40d9bfd Reviewed-on: http://gerrit.openafs.org/9635 Tested-by: BuildBot Reviewed-by: Jeffrey Altman Reviewed-by: Derrick Brashear --- diff --git a/src/util/dirpath.c b/src/util/dirpath.c index 6162021..e4132ac 100644 --- a/src/util/dirpath.c +++ b/src/util/dirpath.c @@ -225,6 +225,8 @@ initDirPathArray(void) "/NoUsrViceDirectoryOnWindows"); strcpy(dirPathArray[AFSDIR_CLIENT_ETC_DIRPATH_ID], ntClientConfigDirShort); + + clntEtcDir = pathp = dirPathArray[AFSDIR_CLIENT_ETC_DIRPATH_ID]; #else strcpy(dirPathArray[AFSDIR_CLIENT_VICE_DIRPATH_ID], afsClntDirPath);