texlive[45993] Build/source/texk/kpathsea: default SCHAR_MAX=127, not

commits+karl at tug.org commits+karl at tug.org
Wed Dec 6 00:25:15 CET 2017


Revision: 45993
          http://tug.org/svn/texlive?view=revision&revision=45993
Author:   karl
Date:     2017-12-06 00:25:15 +0100 (Wed, 06 Dec 2017)
Log Message:
-----------
default SCHAR_MAX=127, not 128

Modified Paths:
--------------
    trunk/Build/source/texk/kpathsea/ChangeLog
    trunk/Build/source/texk/kpathsea/c-minmax.h

Modified: trunk/Build/source/texk/kpathsea/ChangeLog
===================================================================
--- trunk/Build/source/texk/kpathsea/ChangeLog	2017-12-05 22:48:45 UTC (rev 45992)
+++ trunk/Build/source/texk/kpathsea/ChangeLog	2017-12-05 23:25:15 UTC (rev 45993)
@@ -1,3 +1,8 @@
+2017-12-05  Karl Berry  <karl at 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 at tug.org>
 
 	* doc/unixtex.texi: no longer in ~ftp, etc.

Modified: trunk/Build/source/texk/kpathsea/c-minmax.h
===================================================================
--- trunk/Build/source/texk/kpathsea/c-minmax.h	2017-12-05 22:48:45 UTC (rev 45992)
+++ trunk/Build/source/texk/kpathsea/c-minmax.h	2017-12-05 23:25:15 UTC (rev 45993)
@@ -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



More information about the tex-live-commits mailing list