From 225acd5ef162eb1efa77ae38cad04325e0baa10e Mon Sep 17 00:00:00 2001 From: Takuji Tanaka Date: Tue, 1 Mar 2016 14:06:23 +0000 Subject: texk/ptexenc: Increase default OPEN_MAX git-svn-id: svn://tug.org/texlive/trunk@39901 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/ptexenc/ChangeLog | 5 +++++ Build/source/texk/ptexenc/ptexenc.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'Build') diff --git a/Build/source/texk/ptexenc/ChangeLog b/Build/source/texk/ptexenc/ChangeLog index a03524a0872..79212863629 100644 --- a/Build/source/texk/ptexenc/ChangeLog +++ b/Build/source/texk/ptexenc/ChangeLog @@ -1,3 +1,8 @@ +2016-03-01 TANAKA Takuji + + * ptexenc.c: Increase default OPEN_MAX on system + lacking of OPEN_MAX. + 2016-02-01 Akira Kakuto * ptexenc.c, ptexenc/ptexenc.h: Add a function setinfileenc() for a new diff --git a/Build/source/texk/ptexenc/ptexenc.c b/Build/source/texk/ptexenc/ptexenc.c index dcc5bfe66c1..92e6b866853 100644 --- a/Build/source/texk/ptexenc/ptexenc.c +++ b/Build/source/texk/ptexenc/ptexenc.c @@ -31,7 +31,7 @@ static boolean prior_file_enc = false; #ifndef NOFILE # ifndef OPEN_MAX -# define OPEN_MAX 24 /* The POSIX minimum. */ +# define OPEN_MAX 132 /* sup_max_in_open(127) +alpha */ # endif # define NOFILE OPEN_MAX #endif -- cgit v1.2.3