diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-10-08 09:50:14 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-10-08 09:50:14 +0000 |
commit | 9d186ed8be36222a9f91b2b08b715442790f22ab (patch) | |
tree | d285e40e22f954d500d9199f2dcad7b3ac4d82f3 /Build | |
parent | 3ee73633988771781efe23048946e3b1d2a79664 (diff) |
Avoid name conflict
git-svn-id: svn://tug.org/texlive/trunk@24241 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index b37210e9e70..9f2f8807433 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -1833,9 +1833,9 @@ parse_first_line (const_string filename) #if ENABLE_PIPES -#define MAX_PIPES 16 +#define NUM_PIPES 16 -static FILE *pipes [MAX_PIPES]; +static FILE *pipes [NUM_PIPES]; boolean open_in_or_pipe (FILE **f_ptr, int filefmt, const_string fopen_mode) @@ -1855,7 +1855,7 @@ open_in_or_pipe (FILE **f_ptr, int filefmt, const_string fopen_mode) recorder_record_input (fname + 1); *f_ptr = runpopen(fname+1,"rb"); free(fname); - for (i=0; i<MAX_PIPES; i++) { + for (i=0; i<NUM_PIPES; i++) { if (pipes[i]==NULL) { pipes[i] = *f_ptr; break; @@ -1903,7 +1903,7 @@ open_out_or_pipe (FILE **f_ptr, const_string fopen_mode) recorder_record_output (fname + 1); free(fname); - for (i=0; i<MAX_PIPES; i++) { + for (i=0; i<NUM_PIPES; i++) { if (pipes[i]==NULL) { pipes[i] = *f_ptr; break; @@ -1927,7 +1927,7 @@ close_file_or_pipe (FILE *f) if (shellenabledp) { /* if this file was a pipe, pclose() it and return */ - for (i=0; i<MAX_PIPES; i++) { + for (i=0; i<NUM_PIPES; i++) { if (pipes[i] == f) { if (f) { pclose (f); |