texlive[51518] Build/source/texk/web2c/lib: lib/texmfmp.c: fix for

commits+hironobu at tug.org commits+hironobu at tug.org
Mon Jul 1 18:01:48 CEST 2019


Revision: 51518
          http://tug.org/svn/texlive?view=revision&revision=51518
Author:   hironobu
Date:     2019-07-01 18:01:48 +0200 (Mon, 01 Jul 2019)
Log Message:
-----------
lib/texmfmp.c: fix for \creationdate (XeTeX only)

Modified Paths:
--------------
    trunk/Build/source/texk/web2c/lib/ChangeLog
    trunk/Build/source/texk/web2c/lib/texmfmp.c

Modified: trunk/Build/source/texk/web2c/lib/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/lib/ChangeLog	2019-07-01 14:32:56 UTC (rev 51517)
+++ trunk/Build/source/texk/web2c/lib/ChangeLog	2019-07-01 16:01:48 UTC (rev 51518)
@@ -1,3 +1,7 @@
+2019-07-01  Hironobu Yamashita  <h.y.acetaminophen at gmail.com>
+
+	* texmfmp.c (getcreationdate): Fix a wrong conditional (XeTeX only).
+
 2019-06-30  Hironori Kitagawa  <h_kitagawa2001 at yahoo.co.jp>
 
 	* texmfmp.c (getfiledump): Change readbuffer to unsigned char*.

Modified: trunk/Build/source/texk/web2c/lib/texmfmp.c
===================================================================
--- trunk/Build/source/texk/web2c/lib/texmfmp.c	2019-07-01 14:32:56 UTC (rev 51517)
+++ trunk/Build/source/texk/web2c/lib/texmfmp.c	2019-07-01 16:01:48 UTC (rev 51518)
@@ -3226,8 +3226,8 @@
         strpool[poolptr++] = (uint16_t)start_time_str[i];
 #else
     memcpy(&strpool[poolptr], start_time_str, len);
+    poolptr += len;
 #endif
-    poolptr += len;
 }
 
 void getfilemoddate(integer s)



More information about the tex-live-commits mailing list