diff options
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/luatexdir/utils/utils.w | 7 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/utils.c | 7 |
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); } } |