git: awk(1): Override FOPEN_MAX to handle 64 open files instead of 20
Aaron LI
aly at crater.dragonflybsd.org
Sun Jun 21 22:30:49 PDT 2026
commit 1e057a03484db060d73825e84446be564d0abb84
Author: Aaron LI <aly at aaronly.me>
Date: Mon Jun 22 09:18:58 2026 +0800
awk(1): Override FOPEN_MAX to handle 64 open files instead of 20
Awk uses a fixed array of size FOPEN_MAX to track the open files, so it
could only open max 20 files as the default FOPEN_MAX is defined to be
20 in <stdio.h>. Override FOPEN_MAX to 64 to support more open files.
Obtained-from: FreeBSD (commit d97cdd33492f5afe2150e1fced657c9a31911c67)
Summary of changes:
usr.bin/awk/awk/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e057a03484db060d73825e84446be564d0abb84
--
DragonFly BSD source repository
More information about the Commits
mailing list