summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-04-17 17:24:14 +0000
committerdm <dm@cvs.openbsd.org>1996-04-17 17:24:14 +0000
commit9be5c421f1cf2e5c6cf61db049ec8181a4defe27 (patch)
treecc70325075b7bc966ae83ace0d0e2332b6d35f74 /usr.bin
parentc439b853d46dd8eb4e5ece04c21bbc63ff32b5f4 (diff)
Shouldn't visually encode execute commands, only file names.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sup/src/scan.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/sup/src/scan.c b/usr.bin/sup/src/scan.c
index 8e634e291bd..8d52fa7777d 100644
--- a/usr.bin/sup/src/scan.c
+++ b/usr.bin/sup/src/scan.c
@@ -28,6 +28,9 @@
**********************************************************************
* HISTORY
* $Log: scan.c,v $
+ * Revision 1.2 1996/04/17 17:24:13 dm
+ * Shouldn't visually encode execute commands, only file names.
+ *
* Revision 1.1 1995/12/16 11:46:50 deraadt
* add sup to the tree
*
@@ -990,7 +993,7 @@ TREE *t;
FILE **scanF;
{
char fname[MAXPATHLEN*4+1];
- strvis(fname, t->Tname, VIS_WHITE);
+ strcpy(fname, t->Tname);
fprintf(*scanF,"X%s\n",fname);
return (SCMOK);
}