summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-02-14 09:08:54 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-02-14 09:08:54 +0000
commite20851aba1a94de328092f3f6474e6093faf8d35 (patch)
tree1b1e423a1c202b4ea855bf104e8724f212ac0df6 /Build/source/texk
parent311ba57d242e1c807325b2a0c4413d8d1e52afca (diff)
luatexdir: sync with the upstream
git-svn-id: svn://tug.org/texlive/trunk@43226 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/web2c/luatexdir/luaffi/ffi.h2
-rw-r--r--Build/source/texk/web2c/luatexdir/luatex.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luaffi/ffi.h b/Build/source/texk/web2c/luatexdir/luaffi/ffi.h
index 75fe9c8a87a..7c9242c7eb6 100644
--- a/Build/source/texk/web2c/luatexdir/luaffi/ffi.h
+++ b/Build/source/texk/web2c/luatexdir/luaffi/ffi.h
@@ -142,7 +142,7 @@ static void (lua_remove)(lua_State *L, int idx) {
#elif defined __powerpc64__
# define ARCH_PPC64
#else
-# error
+# define UNSUPPORTED_ARCH
#endif
diff --git a/Build/source/texk/web2c/luatexdir/luatex.c b/Build/source/texk/web2c/luatexdir/luatex.c
index 7e62b59b5f7..7933d17d6df 100644
--- a/Build/source/texk/web2c/luatexdir/luatex.c
+++ b/Build/source/texk/web2c/luatexdir/luatex.c
@@ -198,7 +198,7 @@ void init_start_time(void) {
if (source_date_epoch && source_date_epoch != '\0' ) {
errno = 0;
epoch = strtoull(source_date_epoch, &endptr, 10);
- if (epoch < 0 || *endptr != '\0' || errno != 0) {
+ if (*endptr != '\0' || errno != 0) {
epoch = 0;
}
#if defined(_MSC_VER)