patch-1.3.15 linux/fs/umsdos/mangle.c

Next file: linux/fs/umsdos/namei.c
Previous file: linux/fs/umsdos/file.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.14/linux/fs/umsdos/mangle.c linux/fs/umsdos/mangle.c
@@ -175,7 +175,7 @@
 				like this.
 			*/
 			int i;
-			static char *spc = "\"*+,/:;<=>?[\\]|~";
+			static const char *spc = "\"*+,/:;<=>?[\\]|~";
 			is_init = 1;
 			for (i=0; i<=32; i++) lkp[i] = '#';
 			for (i=33; i<'A'; i++) lkp[i] = (char)i;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this