(install_file_in_dir): Qualify a char* with the `const' keyword.
authorJim Meyering <jim@meyering.net>
Thu, 1 Apr 1999 05:09:59 +0000 (05:09 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 1 Apr 1999 05:09:59 +0000 (05:09 +0000)
src/install.c

index 146c288aa584dbccdc67d95e434e2513614df288..4e73679c519c715a4f7e573aa6f27c3c2b70c658 100644 (file)
@@ -446,7 +446,7 @@ static int
 install_file_in_dir (const char *from, const char *to_dir,
                     const struct cp_options *x)
 {
-  char *from_base;
+  const char *from_base;
   char *to;
   int ret;