diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-27 07:24:40 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-27 07:24:40 +0000 |
commit | c5709ea5924966b82883b45f0b92e7d6a0486226 (patch) | |
tree | d5960aa9526e2000ff762c83e3236234e6cb6181 /Build/source/texk/mendexk/convert.c | |
parent | eaac90e158a99ebff3c1ca7ee451f1048abe5f63 (diff) |
mendexk: Use binary mode for input and output (from W32TeX)
Use 8-bit exit() codes
git-svn-id: svn://tug.org/texlive/trunk@27191 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/mendexk/convert.c')
-rw-r--r-- | Build/source/texk/mendexk/convert.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/mendexk/convert.c b/Build/source/texk/mendexk/convert.c index 3341cccad05..be0441b4cdb 100644 --- a/Build/source/texk/mendexk/convert.c +++ b/Build/source/texk/mendexk/convert.c @@ -143,7 +143,7 @@ static int dicvalread(const char *filename, struct dictionary *dicval, int line) fp=nkf_open(filename,"rb"); else { fprintf(stderr, "mendex: %s is forbidden to open for reading.\n",filename); - exit(-1); + exit(255); } for (i=0;i<line;i++) { if (mfgets(buff,255,fp)==NULL) break; |