diff options
author | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2016-03-01 14:06:23 +0000 |
---|---|---|
committer | Takuji Tanaka <KXD02663@nifty.ne.jp> | 2016-03-01 14:06:23 +0000 |
commit | 225acd5ef162eb1efa77ae38cad04325e0baa10e (patch) | |
tree | 0be8045119d0e21d210a7f44efd6be9486906de8 /Build | |
parent | 2b4a514cb8094a8a13ea03dfece00e235a96e6f3 (diff) |
texk/ptexenc: Increase default OPEN_MAX
git-svn-id: svn://tug.org/texlive/trunk@39901 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/ptexenc/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/ptexenc/ptexenc.c | 2 |
2 files changed, 6 insertions, 1 deletions
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 <ttk@t-lab.opal.ne.jp> + + * ptexenc.c: Increase default OPEN_MAX on system + lacking of OPEN_MAX. + 2016-02-01 Akira Kakuto <kakuto@fuk.kindai.ac.jp> * 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 |