summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-10-10 11:17:38 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-10-10 11:17:38 +0000
commit20c584d37871139812455dba382adb3e14a986b4 (patch)
tree6237eca6e4d37eac7b825a786a74cf675cbf9210
parent16ef7c6e5c86ee64463f24ffca4f54e77b7e3d08 (diff)
Quote filename properly.
-rw-r--r--usr.bin/m4/misc.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/m4/misc.c b/usr.bin/m4/misc.c
index 89847fbb9ee..2e2ab819642 100644
--- a/usr.bin/m4/misc.c
+++ b/usr.bin/m4/misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: misc.c,v 1.24 2001/09/19 13:14:18 espie Exp $ */
+/* $OpenBSD: misc.c,v 1.25 2001/10/10 11:17:37 espie Exp $ */
/* $NetBSD: misc.c,v 1.6 1995/09/28 05:37:41 tls Exp $ */
/*
@@ -41,7 +41,7 @@
#if 0
static char sccsid[] = "@(#)misc.c 8.1 (Berkeley) 6/6/93";
#else
-static char rcsid[] = "$OpenBSD: misc.c,v 1.24 2001/09/19 13:14:18 espie Exp $";
+static char rcsid[] = "$OpenBSD: misc.c,v 1.25 2001/10/10 11:17:37 espie Exp $";
#endif
#endif /* not lint */
@@ -353,7 +353,9 @@ void
doprintfilename(f)
struct input_file *f;
{
+ pbstr(rquote);
pbstr(f->name);
+ pbstr(lquote);
}
/*