summaryrefslogtreecommitdiff
path: root/Build/source/texk/kpathsea
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-12-05 23:25:15 +0000
committerKarl Berry <karl@freefriends.org>2017-12-05 23:25:15 +0000
commit1d4324fb7eee9016217d729a2ef3ca1395cbb8c6 (patch)
tree967756486e43ebdff77e184129e460fc72ea173d /Build/source/texk/kpathsea
parent830406fe8897be9072358ad597c2784f05511b97 (diff)
default SCHAR_MAX=127, not 128
git-svn-id: svn://tug.org/texlive/trunk@45993 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/kpathsea')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rw-r--r--Build/source/texk/kpathsea/c-minmax.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 0d57e1e1b4f..51ca0f0cea0 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2017-12-05 Karl Berry <karl@freefriends.org>
+
+ * c-minmax.h (SCHAR_MAX): decrement to the correct 127.
+ Report from Doug McKenna, tex-k 4 Dec 2017 18:26:35.
+
2017-11-28 Karl Berry <karl@tug.org>
* doc/unixtex.texi: no longer in ~ftp, etc.
diff --git a/Build/source/texk/kpathsea/c-minmax.h b/Build/source/texk/kpathsea/c-minmax.h
index 7181c44b499..a46bd2f123e 100644
--- a/Build/source/texk/kpathsea/c-minmax.h
+++ b/Build/source/texk/kpathsea/c-minmax.h
@@ -1,7 +1,7 @@
/* c-minmax.h: define INT_MIN, etc. Assume a 32-bit machine if the
values aren't defined.
- Copyright 1992, 1993, 2008 Karl Berry.
+ Copyright 1992, 1993, 2008, 2017 Karl Berry.
Copyright 2005 Olaf Weber.
This library is free software; you can redistribute it and/or
@@ -30,7 +30,7 @@
#define SCHAR_MIN (-127)
#endif
#ifndef SCHAR_MAX
-#define SCHAR_MAX 128
+#define SCHAR_MAX 127
#endif
#ifndef UCHAR_MAX
#define UCHAR_MAX 255