summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2008-03-27 01:33:26 +0000
committerjb <jb@FreeBSD.org>2008-03-27 01:33:26 +0000
commit34d0dd01d65acb419530f155a19c96290c8cfcef (patch)
treeeace38c7a0eb9bbebf41cb12eb359af5aaf2fa08 /usr.bin
parentb94ea1b2e30ca24ef9a22f57fffeb4aeae424f9f (diff)
downloadFreeBSD-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')
-rw-r--r--usr.bin/awk/Makefile2
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
OpenPOWER on IntegriCloud