Return to gnum4.c CVS log | Up to [local] / src / usr.bin / m4 |
version 1.46, 2014/07/10 14:12:31 | version 1.47, 2015/01/16 06:40:09 | ||
---|---|---|---|
|
|
||
* functions needed to support gnu-m4 extensions, including a fake freezing | * functions needed to support gnu-m4 extensions, including a fake freezing | ||
*/ | */ | ||
#include <sys/param.h> | |||
#include <sys/types.h> | #include <sys/types.h> | ||
#include <sys/wait.h> | #include <sys/wait.h> | ||
#include <ctype.h> | #include <ctype.h> | ||
|
|
||
#include <string.h> | #include <string.h> | ||
#include <errno.h> | #include <errno.h> | ||
#include <unistd.h> | #include <unistd.h> | ||
#include <limits.h> | |||
#include "mdef.h" | #include "mdef.h" | ||
#include "stdd.h" | #include "stdd.h" | ||
#include "extern.h" | #include "extern.h" | ||
|
|
||
struct input_file * | struct input_file * | ||
dopath(struct input_file *i, const char *filename) | dopath(struct input_file *i, const char *filename) | ||
{ | { | ||
char path[MAXPATHLEN]; | char path[PATH_MAX]; | ||
struct path_entry *pe; | struct path_entry *pe; | ||
FILE *f; | FILE *f; | ||