SCCS-vsn: local/sccscmds/sccscmds.2/util/fatal.c 1.2
SCCS-vsn: local/sccscmds/sccscmds.ok/util/fatal.c 1.2
SCCS-vsn: local/sccscmds/sccscmds.2/util/bal.c 1.2
SCCS-vsn: local/sccscmds/sccscmds.ok/util/bal.c 1.2
SCCS-vsn: local/sccscmds/sccscmds.2/util/setsig.c 1.2
SCCS-vsn: local/sccscmds/sccscmds.ok/util/setsig.c 1.2
SCCS-vsn: local/sccscmds/sccscmds.2/util/xpipe.c 1.2
SCCS-vsn: local/sccscmds/sccscmds.ok/util/xpipe.c 1.2
-static char Sccsid[] "@(#)bal 2.1";
-#
+static char Sccsid[] = "@(#)bal.c 1.2 %G%";
+
/*
Function to find the position, in str, of the first of the char-
acters in end occurring outside a balanced string. A balanced string
/*
Function to find the position, in str, of the first of the char-
acters in end occurring outside a balanced string. A balanced string
ifany(clos) return error;
ifany(open) {
opp[0] = matching_clos;
ifany(clos) return error;
ifany(open) {
opp[0] = matching_clos;
- s =+ balbrk(s,open,clos,opp);
+ s += balbrk(s,open,clos,opp);
if (*s++ != matching_clos) return error;
break;
}
if (*s++ != matching_clos) return error;
break;
}
+static char Sccsid[] = "@(#)fatal.c 1.2 %G%";
+
# include "../hdr/macros.h"
# include "../hdr/fatal.h"
# include "../hdr/macros.h"
# include "../hdr/fatal.h"
/*
General purpose error handler.
/*
General purpose error handler.
int Fcnt;
int Fflags;
char *Ffile;
int Fcnt;
int Fflags;
char *Ffile;
int (*Ffunc)();
int Fjmp[10];
int (*Ffunc)();
int Fjmp[10];
+static char Sccsid[] = "@(#)setsig.c 1.2 %G%";
+
# include "signal.h"
#undef NSIG
# ifdef PWB
# include "signal.h"
#undef NSIG
# ifdef PWB
#define NSIG 4
# endif
# include "../hdr/macros.h"
#define NSIG 4
# endif
# include "../hdr/macros.h"
/*
General-purpose signal setting routine.
/*
General-purpose signal setting routine.
0,
0, /* Hangup */
0, /* Interrupt */
0,
0, /* Hangup */
0, /* Interrupt */
-static char preface[] "SIGNAL: ";
-static char endmsg[] " (ut12)\n";
+static char preface[] = "SIGNAL: ";
+static char endmsg[] = " (ut12)\n";
-static char Sccsid[] "@(#)xpipe 2.1";
+static char Sccsid[] = "@(#)xpipe.c 1.2 %G%";
/*
Interface to pipe(II) which handles all error conditions.
Returns 0 on success,
/*
Interface to pipe(II) which handles all error conditions.
Returns 0 on success,
- static char p[] "pipe";
+ static char p[] = "pipe";
if (pipe(t) == 0)
return(0);
if (pipe(t) == 0)
return(0);
-static char Sccsid[] "@(#)bal 2.1";
-#
+static char Sccsid[] = "@(#)bal.c 1.2 %G%";
+
/*
Function to find the position, in str, of the first of the char-
acters in end occurring outside a balanced string. A balanced string
/*
Function to find the position, in str, of the first of the char-
acters in end occurring outside a balanced string. A balanced string
ifany(clos) return error;
ifany(open) {
opp[0] = matching_clos;
ifany(clos) return error;
ifany(open) {
opp[0] = matching_clos;
- s =+ balbrk(s,open,clos,opp);
+ s += balbrk(s,open,clos,opp);
if (*s++ != matching_clos) return error;
break;
}
if (*s++ != matching_clos) return error;
break;
}
+static char Sccsid[] = "@(#)fatal.c 1.2 %G%";
+
# include "../hdr/macros.h"
# include "../hdr/fatal.h"
# include "../hdr/macros.h"
# include "../hdr/fatal.h"
/*
General purpose error handler.
/*
General purpose error handler.
int Fcnt;
int Fflags;
char *Ffile;
int Fcnt;
int Fflags;
char *Ffile;
int (*Ffunc)();
int Fjmp[10];
int (*Ffunc)();
int Fjmp[10];
+static char Sccsid[] = "@(#)setsig.c 1.2 %G%";
+
# include "signal.h"
#undef NSIG
# ifdef PWB
# include "signal.h"
#undef NSIG
# ifdef PWB
#define NSIG 4
# endif
# include "../hdr/macros.h"
#define NSIG 4
# endif
# include "../hdr/macros.h"
/*
General-purpose signal setting routine.
/*
General-purpose signal setting routine.
0,
0, /* Hangup */
0, /* Interrupt */
0,
0, /* Hangup */
0, /* Interrupt */
-static char preface[] "SIGNAL: ";
-static char endmsg[] " (ut12)\n";
+static char preface[] = "SIGNAL: ";
+static char endmsg[] = " (ut12)\n";
-static char Sccsid[] "@(#)xpipe 2.1";
+static char Sccsid[] = "@(#)xpipe.c 1.2 %G%";
/*
Interface to pipe(II) which handles all error conditions.
Returns 0 on success,
/*
Interface to pipe(II) which handles all error conditions.
Returns 0 on success,
- static char p[] "pipe";
+ static char p[] = "pipe";
if (pipe(t) == 0)
return(0);
if (pipe(t) == 0)
return(0);