summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-14 14:15:07 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-07-14 14:15:07 +0000
commit7913241805e65e711cfbb1dabbd2abd2246f0c59 (patch)
treecca609b58ca67d13933e8ca94f8f7e1ee2d8dd1d
parent84fd53484ac1e0aa8d95b4339861c78e979ad52c (diff)
luatex, pdftex: Use EXIT_FAILURE instead of EX_SOFTWARE
git-svn-id: svn://tug.org/texlive/trunk@27043 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/web2c/luatexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/luatexdir/utils/utils.w7
-rw-r--r--Build/source/texk/web2c/pdftexdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/pdftexdir/utils.c7
4 files changed, 10 insertions, 12 deletions
diff --git a/Build/source/texk/web2c/luatexdir/ChangeLog b/Build/source/texk/web2c/luatexdir/ChangeLog
index 66c2ea204f3..dc7ed476a28 100644
--- a/Build/source/texk/web2c/luatexdir/ChangeLog
+++ b/Build/source/texk/web2c/luatexdir/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-14 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * utils/utils.w: Use EXIT_FAILURE instead of EX_SOFTWARE.
+
2012-07-13 Peter Breitenlohner <peb@mppmu.mpg.de>
* pdf/pdfgen.w: Cast xfseeko() arg2 to avoid MSVC warning.
diff --git a/Build/source/texk/web2c/luatexdir/utils/utils.w b/Build/source/texk/web2c/luatexdir/utils/utils.w
index 2e5d533c20f..8889ce42e63 100644
--- a/Build/source/texk/web2c/luatexdir/utils/utils.w
+++ b/Build/source/texk/web2c/luatexdir/utils/utils.w
@@ -28,11 +28,6 @@ static const char _svn_version[] =
#include <kpathsea/config.h> /* this is a trick to load mingw32's io.h early,
using a macro redefinition of |eof()|. */
#include "sys/types.h"
-#ifndef __MINGW32__
-# include "sysexits.h"
-#else
-# define EX_SOFTWARE 70
-#endif
#include <kpathsea/c-stat.h>
#include <kpathsea/c-fopen.h>
#include <string.h>
@@ -168,7 +163,7 @@ void pdftex_fail(const char *fmt, ...)
if (kpathsea_debug) {
abort();
} else {
- exit(EX_SOFTWARE);
+ exit(EXIT_FAILURE);
}
}
diff --git a/Build/source/texk/web2c/pdftexdir/ChangeLog b/Build/source/texk/web2c/pdftexdir/ChangeLog
index a87899433b4..25309dae664 100644
--- a/Build/source/texk/web2c/pdftexdir/ChangeLog
+++ b/Build/source/texk/web2c/pdftexdir/ChangeLog
@@ -1,3 +1,7 @@
+2012-07-14 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * utils.c: Use EXIT_FAILURE instead of EX_SOFTWARE.
+
2012-07-13 Peter Breitenlohner <peb@mppmu.mpg.de>
* writejbig2.c: Cast xfseeko() arg2 to avoid MSVC warning.
diff --git a/Build/source/texk/web2c/pdftexdir/utils.c b/Build/source/texk/web2c/pdftexdir/utils.c
index af8794df243..f77d2b5a974 100644
--- a/Build/source/texk/web2c/pdftexdir/utils.c
+++ b/Build/source/texk/web2c/pdftexdir/utils.c
@@ -20,11 +20,6 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "openbsd-compat.h"
#include <sys/types.h>
-#ifdef WIN32
-#define EX_SOFTWARE EXIT_FAILURE
-#else
-#include <sysexits.h>
-#endif
#include <regex.h>
#include <kpathsea/c-proto.h>
#include <kpathsea/c-stat.h>
@@ -253,7 +248,7 @@ void pdftex_fail(const char *fmt, ...)
println();
abort();
} else {
- exit(EX_SOFTWARE);
+ exit(EXIT_FAILURE);
}
}