projects
/
unix-history
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2c6551
)
ifdef output to eliminate siphoning of control characters
author
Sam Leffler
<sam@ucbvax.Berkeley.EDU>
Wed, 3 Jun 1981 01:16:51 +0000
(17:16 -0800)
committer
Sam Leffler
<sam@ucbvax.Berkeley.EDU>
Wed, 3 Jun 1981 01:16:51 +0000
(17:16 -0800)
SCCS-vsn: usr.sbin/lpr/filters/lpf.c 4.2
usr/src/usr.sbin/lpr/filters/lpf.c
patch
|
blob
|
blame
|
history
diff --git
a/usr/src/usr.sbin/lpr/filters/lpf.c
b/usr/src/usr.sbin/lpr/filters/lpf.c
index
ce6fd56
..
330840c
100644
(file)
--- a/
usr/src/usr.sbin/lpr/filters/lpf.c
+++ b/
usr/src/usr.sbin/lpr/filters/lpf.c
@@
-1,4
+1,4
@@
-/* lpf.c 4.
1 81/05/09
*/
+/* lpf.c 4.
2 81/06/02
*/
/*
* lpf -- Line printer filter: handles underlines for those printers/
* device drivers that won't
@@
-8,6
+8,7
@@
#include <signal.h>
#define LINELN 132
+#define output(c) (putchar(c))
char linebuf[LINELN+2];
int ov;
@@
-117,6
+118,7
@@
putline()
exit(1);
}
+#ifndef output
output(c)
register char c;
{
@@
-145,3
+147,4
@@
register char c;
}
putchar(c);
}
+#endif