projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
4.3BSD beta release manual page
[unix-history]
/
usr
/
src
/
usr.bin
/
plot
/
driver.c
diff --git
a/usr/src/usr.bin/plot/driver.c
b/usr/src/usr.bin/plot/driver.c
index
1907e80
..
f779719
100644
(file)
--- a/
usr/src/usr.bin/plot/driver.c
+++ b/
usr/src/usr.bin/plot/driver.c
@@
-1,5
+1,5
@@
#ifndef lint
#ifndef lint
-static char sccsid[] = "@(#)driver.c 4.
2
(Berkeley) %G%";
+static char sccsid[] = "@(#)driver.c 4.
3
(Berkeley) %G%";
#endif
#include <stdio.h>
#endif
#include <stdio.h>
@@
-61,7
+61,7
@@
fplt(fin) FILE *fin; {
line(x0,y0,x1,y1);
break;
case 't':
line(x0,y0,x1,y1);
break;
case 't':
- gets(s,fin);
+ gets
tr
(s,fin);
label(s);
break;
case 'e':
label(s);
break;
case 'e':
@@
-100,7
+100,7
@@
fplt(fin) FILE *fin; {
circle(xi,yi,r);
break;
case 'f':
circle(xi,yi,r);
break;
case 'f':
- gets(s,fin);
+ gets
tr
(s,fin);
linemod(s);
break;
case 'd':
linemod(s);
break;
case 'd':
@@
-124,10
+124,9
@@
getsi(fin) FILE *fin; { /* get an integer stored in 2 ascii bytes. */
a = a<<8;
return(a|b);
}
a = a<<8;
return(a|b);
}
-gets(s,fin) char *s; FILE *fin; {
+gets
tr
(s,fin) char *s; FILE *fin; {
for( ; *s = getc(fin); s++)
if(*s == '\n')
break;
*s = '\0';
for( ; *s = getc(fin); s++)
if(*s == '\n')
break;
*s = '\0';
- return;
}
}