texlive[64983] Build/source/texk/web2c/luatexdir: Better error
commits+lscarso at tug.org
commits+lscarso at tug.org
Thu Nov 10 14:19:23 CET 2022
Revision: 64983
http://tug.org/svn/texlive?view=revision&revision=64983
Author: lscarso
Date: 2022-11-10 14:19:22 +0100 (Thu, 10 Nov 2022)
Log Message:
-----------
Better error message if setlocale fails.
Modified Paths:
--------------
trunk/Build/source/texk/web2c/luatexdir/ChangeLog
trunk/Build/source/texk/web2c/luatexdir/lua/luainit.c
trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
Modified: trunk/Build/source/texk/web2c/luatexdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/ChangeLog 2022-11-10 00:49:15 UTC (rev 64982)
+++ trunk/Build/source/texk/web2c/luatexdir/ChangeLog 2022-11-10 13:19:22 UTC (rev 64983)
@@ -1,3 +1,6 @@
+2022-11-10 Luigi Scarso <luigi.scarso at gmail.com>
+ * Better error message if setlocale fails
+
2022-10-28 Luigi Scarso <luigi.scarso at gmail.com>
* \variablefam (backport from luametatex, handy for latex) (H .Hagen)
Modified: trunk/Build/source/texk/web2c/luatexdir/lua/luainit.c
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/lua/luainit.c 2022-11-10 00:49:15 UTC (rev 64982)
+++ trunk/Build/source/texk/web2c/luatexdir/lua/luainit.c 2022-11-10 13:19:22 UTC (rev 64983)
@@ -997,7 +997,7 @@
*/
env_locale = setlocale (LC_ALL, "");
if (!env_locale && !lua_only) {
- fprintf(stderr,"Unable to read environment locale: exit now.\n");
+ fprintf(stderr,"Unable to read locale data: please check the 'locale' settings of your environment for consistency. Exiting now.\n");
exit(1);
}
tmp = setlocale (LC_CTYPE, NULL);
@@ -1018,7 +1018,7 @@
*/
env_locale = setlocale (LC_ALL, old_locale);
if (!env_locale) {
- fprintf(stderr,"Unable to restore original locale %s: exit now.\n",old_locale);
+ fprintf(stderr,"Unable to restore original locale %s: exiting now.\n",old_locale);
exit(1);
}
xfree(old_locale);
Modified: trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h
===================================================================
--- trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h 2022-11-10 00:49:15 UTC (rev 64982)
+++ trunk/Build/source/texk/web2c/luatexdir/luatex_svnversion.h 2022-11-10 13:19:22 UTC (rev 64983)
@@ -1,4 +1,4 @@
#ifndef luatex_svn_revision_h
#define luatex_svn_revision_h
-#define luatex_svn_revision 7547
+#define luatex_svn_revision 7548
#endif
More information about the tex-live-commits
mailing list.