SCCS-vsn: usr.bin/error/filter.c 5.7
SCCS-vsn: usr.bin/error/input.c 5.5
SCCS-vsn: usr.bin/error/main.c 5.6
SCCS-vsn: usr.bin/error/pi.c 5.5
SCCS-vsn: usr.bin/error/subr.c 5.5
SCCS-vsn: usr.bin/error/touch.c 5.7
-static char sccsid[] = "@(#)filter.c 5.6 (Berkeley) %G%";
+static char sccsid[] = "@(#)filter.c 5.7 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
+#include <pwd.h>
+#include <unistd.h>
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
#include <ctype.h>
+#include <stdlib.h>
+#include <string.h>
#include "error.h"
#include "pathnames.h"
#include "error.h"
#include "pathnames.h"
-static char sccsid[] = "@(#)input.c 5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)input.c 5.5 (Berkeley) %G%";
#endif /* not lint */
#include <stdio.h>
#include <ctype.h>
#endif /* not lint */
#include <stdio.h>
#include <ctype.h>
+#include <stdlib.h>
+#include <string.h>
#include "error.h"
int wordc; /* how long the current error message is */
#include "error.h"
int wordc; /* how long the current error message is */
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)main.c 5.5 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 5.6 (Berkeley) %G%";
+#include <signal.h>
+#include <unistd.h>
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
#include <ctype.h>
+#include <stdlib.h>
+#include <string.h>
#include "error.h"
#include "pathnames.h"
#include "error.h"
#include "pathnames.h"
char *suffixlist = ".*"; /* initially, can touch any file */
int errorsort();
char *suffixlist = ".*"; /* initially, can touch any file */
int errorsort();
/*
* error [-I ignorename] [-n] [-q] [-t suffixlist] [-s] [-v] [infile]
*
/*
* error [-I ignorename] [-n] [-q] [-t suffixlist] [-s] [-v] [infile]
*
-static char sccsid[] = "@(#)pi.c 5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)pi.c 5.5 (Berkeley) %G%";
#endif /* not lint */
#include <stdio.h>
#include <ctype.h>
#endif /* not lint */
#include <stdio.h>
#include <ctype.h>
#include "error.h"
extern char *currentfilename;
#include "error.h"
extern char *currentfilename;
-static char sccsid[] = "@(#)subr.c 5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)subr.c 5.5 (Berkeley) %G%";
#endif /* not lint */
#include <stdio.h>
#include <ctype.h>
#endif /* not lint */
#include <stdio.h>
#include <ctype.h>
+#include <stdlib.h>
+#include <string.h>
#include "error.h"
/*
* Arrayify a list of rules
#include "error.h"
/*
* Arrayify a list of rules
-static char sccsid[] = "@(#)touch.c 5.6 (Berkeley) %G%";
+static char sccsid[] = "@(#)touch.c 5.7 (Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#include <sys/stat.h>
#endif /* not lint */
#include <sys/types.h>
#include <sys/stat.h>
+#include <signal.h>
+#include <unistd.h>
#include <stdio.h>
#include <ctype.h>
#include <stdio.h>
#include <ctype.h>
+#include <stdlib.h>
+#include <string.h>
#include "error.h"
#include "pathnames.h"
#include "error.h"
#include "pathnames.h"
onintr()
{
switch(inquire(terse
onintr()
{
switch(inquire(terse