changeset 46948:f2225c68b0a8

(Ffile_name_directory) [DOS_NT]: Don't declare `beg' `const' since CORRECT_DIR_SEPS modifies its target.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 19 Aug 2002 17:23:43 +0000
parents 775e763fdaf2
children 98e532ea2f4d
files src/fileio.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Mon Aug 19 14:58:29 2002 +0000
+++ b/src/fileio.c	Mon Aug 19 17:23:43 2002 +0000
@@ -393,7 +393,11 @@
      (filename)
      Lisp_Object filename;
 {
+#ifndef DOS_NT
   register const unsigned char *beg;
+#else
+  register unsigned char *beg;
+#endif
   register const unsigned char *p;
   Lisp_Object handler;