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
modern syntax for asgops & inits cause Donn's latest ccom rejects the old.
[unix-history]
/
usr
/
src
/
local
/
sccscmds
/
sccscmds.2
/
cmd
/
prt.c
diff --git
a/usr/src/local/sccscmds/sccscmds.2/cmd/prt.c
b/usr/src/local/sccscmds/sccscmds.2/cmd/prt.c
index
ba25285
..
430d7c1
100644
(file)
--- a/
usr/src/local/sccscmds/sccscmds.2/cmd/prt.c
+++ b/
usr/src/local/sccscmds/sccscmds.2/cmd/prt.c
@@
-1,7
+1,7
@@
# include "../hdr/defines.h"
# include "../hdr/had.h"
# include "../hdr/defines.h"
# include "../hdr/had.h"
-
SCCSID(@(#)prt.c 4.1)
;
+
static char Sccsid[] = "@(#)prt.c 4.2 %G%"
;
/*
Program to print parts or all of an SCCS file.
/*
Program to print parts or all of an SCCS file.
@@
-38,7
+38,7
@@
long cutoff;
long revcut;
int linenum;
char *ysid;
long revcut;
int linenum;
char *ysid;
-char *flagdesc[26]
{
"",
+char *flagdesc[26]
= {
"",
"branch",
"ceiling",
"default SID",
"branch",
"ceiling",
"default SID",
@@
-145,8
+145,8
@@
char *argv[];
Change flags for 'fatal' so that it will return to this
routine (main) instead of terminating processing.
*/
Change flags for 'fatal' so that it will return to this
routine (main) instead of terminating processing.
*/
- Fflags
=&
~FTLEXIT;
- Fflags
=|
FTLJMP;
+ Fflags
&=
~FTLEXIT;
+ Fflags
|=
FTLJMP;
/*
Call 'prt' routine for each file argument.
/*
Call 'prt' routine for each file argument.
@@
-336,7
+336,7
@@
getdel(delp,lp)
register struct delent *delp;
register char *lp;
{
register struct delent *delp;
register char *lp;
{
- lp
=+
2;
+ lp
+=
2;
NONBLANK(lp);
delp->type = *lp++;
NONBLANK(lp);
NONBLANK(lp);
delp->type = *lp++;
NONBLANK(lp);