diff options
author | jb <jb@FreeBSD.org> | 2008-03-27 01:33:26 +0000 |
---|---|---|
committer | jb <jb@FreeBSD.org> | 2008-03-27 01:33:26 +0000 |
commit | 34d0dd01d65acb419530f155a19c96290c8cfcef (patch) | |
tree | eace38c7a0eb9bbebf41cb12eb359af5aaf2fa08 /usr.bin/awk | |
parent | b94ea1b2e30ca24ef9a22f57fffeb4aeae424f9f (diff) | |
download | FreeBSD-src-34d0dd01d65acb419530f155a19c96290c8cfcef.zip FreeBSD-src-34d0dd01d65acb419530f155a19c96290c8cfcef.tar.gz |
Allow awk (the one true one!) to handle 64 files instead of just 20.
The current FreeBSD syscall generation script uses all 20 and I need
another open file.
It's a shame that something named as the 'one-true-awk' is so limited
by an old denition like FOPEN_MAX when it could just make the file
handling dynamic.
This is done to avoid touching contrib sources on a vendor branch.
Diffstat (limited to 'usr.bin/awk')
-rw-r--r-- | usr.bin/awk/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/awk/Makefile b/usr.bin/awk/Makefile index 8174db8..7ec2e57 100644 --- a/usr.bin/awk/Makefile +++ b/usr.bin/awk/Makefile @@ -6,7 +6,7 @@ AWKSRC= ${.CURDIR}/../../contrib/one-true-awk PROG= awk SRCS= awkgram.y b.c lex.c lib.c main.c parse.c proctab.c run.c tran.c ytab.h -CFLAGS+= -DHAS_ISBLANK -I. -I${AWKSRC} +CFLAGS+= -DHAS_ISBLANK -I. -I${AWKSRC} -DFOPEN_MAX=64 DPADD= ${LIBM} LDADD= -lm |