diff options
author | Karl Berry <karl@freefriends.org> | 2007-08-19 23:41:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-08-19 23:41:26 +0000 |
commit | 56c0da12a9fba35882b8b7073eb809804ebf1ee8 (patch) | |
tree | 72e7ff2eb4942be1de2c0367929625f87e9e0112 | |
parent | c44e363f1eba308aef18d4bbbdd885bd325e3ad6 (diff) |
_setmaxstdio(2048) for windows
git-svn-id: svn://tug.org/texlive/trunk@4765 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index 1472aac18ba..69b38bd4a30 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,3 +1,8 @@ +2007-08-20 Karl Berry <karl@tug.org> + + * texmfmp.c (main) [WIN32]: _setmaxstdio(2048), to increase + open files limit. From Akira, 19 Aug 2007 09:30:30 +0900. + 2007-07-26 Karl Berry <karl@tug.org> * openclose.c (recorder_record_name): fflush the recorder file, diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index 8b876bb42a5..cb4de56493f 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -335,7 +335,6 @@ maininit P2C(int, ac, string *, av) #endif /* TeX */ } -#ifndef WIN32 /* The entry point: set up for reading the command line, which will happen in `topenin', then call the main body. */ @@ -347,13 +346,16 @@ main P2C(int, ac, string *, av) _response (&ac, &av); #endif +#ifdef WIN32 + _setmaxstdio(2048); +#endif + maininit(ac, av); /* Call the real main program. */ mainbody (); return EXIT_SUCCESS; } -#endif /* ! WIN32 */ /* This is supposed to ``open the terminal for input'', but what we really do is copy command line arguments into TeX's or Metafont's |