diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-14 14:15:07 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-14 14:15:07 +0000 |
commit | 7913241805e65e711cfbb1dabbd2abd2246f0c59 (patch) | |
tree | cca609b58ca67d13933e8ca94f8f7e1ee2d8dd1d /Build/source/texk/web2c/pdftexdir | |
parent | 84fd53484ac1e0aa8d95b4339861c78e979ad52c (diff) |
luatex, pdftex: Use EXIT_FAILURE instead of EX_SOFTWARE
git-svn-id: svn://tug.org/texlive/trunk@27043 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/pdftexdir')
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/web2c/pdftexdir/utils.c | 7 |
2 files changed, 5 insertions, 6 deletions
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); } } |