-static char *sccsid = "@(#)defs 4.1 (Berkeley) 81/02/28";
+/* defs 4.6 83/07/01 */
#include <stdio.h>
#include <ctype.h>
+#include <sys/param.h>
+#include <sys/dir.h>
#define SHELLCOM "/bin/sh"
#define NLEFTS 512
#define NCHARS 500
#define NINTS 250
-#define INMAX 2500
+#define INMAX 3500
#define OUTMAX 3500
#define QBUFMAX 2500
#define MAXDIR 10
};
extern struct pattern *firstpat;
-struct opendir
+struct dirhdr
{
- struct opendir *nxtopendir;
- FILE * dirfc;
+ struct dirhdr *nxtopendir;
+ DIR *dirfc;
char *dirn;
};
-extern struct opendir *firstod;
+extern struct dirhdr *firstod;
struct chain