]> gcc.gnu.org Git - gcc.git/commitdiff
(p{fatal,error}_with_name, perror_exec): Quote filename.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 10 Jul 1995 22:20:39 +0000 (18:20 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 10 Jul 1995 22:20:39 +0000 (18:20 -0400)
From-SVN: r10108

gcc/gcc.c

index a23539cd49e1424f4eba6bdcef40482e9b913404..fef6deeccc95983d1c84a6e01b6152d0c687065d 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -4756,7 +4756,7 @@ pfatal_with_name (name)
   if (errno < sys_nerr)
     s = concat ("%s: ", my_strerror( errno ));
   else
-    s = "cannot open %s";
+    s = "cannot open `%s'";
   fatal (s, name);
 }
 
@@ -4769,7 +4769,7 @@ perror_with_name (name)
   if (errno < sys_nerr)
     s = concat ("%s: ", my_strerror( errno ));
   else
-    s = "cannot open %s";
+    s = "cannot open `%s'";
   error (s, name);
 }
 
@@ -4780,9 +4780,10 @@ perror_exec (name)
   char *s;
 
   if (errno < sys_nerr)
-    s = concat ("installation problem, cannot exec %s: ", my_strerror( errno ));
+    s = concat ("installation problem, cannot exec `%s': ",
+               my_strerror (errno));
   else
-    s = "installation problem, cannot exec %s";
+    s = "installation problem, cannot exec `%s'";
   error (s, name);
 }
 
This page took 0.071862 seconds and 5 git commands to generate.