aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/awk
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2008-03-27 01:33:26 +0000
committerJohn Birrell <jb@FreeBSD.org>2008-03-27 01:33:26 +0000
commitd97cdd33492f5afe2150e1fced657c9a31911c67 (patch)
treeeace38c7a0eb9bbebf41cb12eb359af5aaf2fa08 /usr.bin/awk
parente15e150d76dbd369d75d314eab3aac2de9ea0f1d (diff)
downloadsrc-d97cdd33492f5afe2150e1fced657c9a31911c67.tar.gz
src-d97cdd33492f5afe2150e1fced657c9a31911c67.zip
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.
Notes
Notes: svn path=/head/; revision=177655
Diffstat (limited to 'usr.bin/awk')
-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 8174db83cc3a..7ec2e575c608 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