]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-windows-short-names-20080827
authorJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 27 Aug 2008 12:49:20 +0000 (12:49 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Wed, 27 Aug 2008 12:49:20 +0000 (12:49 +0000)
LICENSE MIT

plus and equal are not valid characters in short names.
we replace them with left and right brace in order to
minimize the instability in the file names.

(cherry picked from commit bef68684fd7bb4e58e621766a0f2abbdfd15af80)

src/WINNT/afsd/cm_utils.c

index 87cb64c2a9f702600e1dd18453006f334adc49cb..f46c326a7bf3a7b7f8af7cf3595e1a7a325c9e76 100644 (file)
@@ -440,7 +440,7 @@ char cm_8Dot3Mapping[42] =
 {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9',
  'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 
  'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 
- 'V', 'W', 'X', 'Y', 'Z', '_', '-', '$', '#', '!', '+', '='
+ 'V', 'W', 'X', 'Y', 'Z', '_', '-', '$', '#', '!', '{', '}'
 };
 int cm_8Dot3MapSize = sizeof(cm_8Dot3Mapping);