diff options
author | Karl Berry <karl@freefriends.org> | 2016-06-12 17:01:19 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-06-12 17:01:19 +0000 |
commit | 54cf03cb1282a86ff0001946e1d47622bb4f9587 (patch) | |
tree | d6e1241a74d83682112ba2b3d1b64cf6d8d09d25 /Build/source/texk/web2c/lib | |
parent | ca3d4c708452843d997cc904092338795f79aa28 (diff) |
rename SOURCE_DATE_EPOCH_TEX_PRIMITIVES to FORCE_SOURCE_DATE; from pdftex r758
git-svn-id: svn://tug.org/texlive/trunk@41417 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/lib')
-rw-r--r-- | Build/source/texk/web2c/lib/ChangeLog | 9 | ||||
-rw-r--r-- | Build/source/texk/web2c/lib/texmfmp.c | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog index 5994ef7ac80..37931ded8fb 100644 --- a/Build/source/texk/web2c/lib/ChangeLog +++ b/Build/source/texk/web2c/lib/ChangeLog @@ -1,6 +1,13 @@ +2016-06-12 Karl Berry <karl@freefriends.org> + + * texmfmp.c (get_date_and_time): + rename envvar SOURCE_DATE_EPOCH_TEX_PRIMITIVES to FORCE_SOURCE_DATE. + http://tug.org/pipermail/tex-k/2016-June/002722.html + (and surrounding thread, starting in May) + 2016-05-06 Akira Kakuto <kakuto@fuk.kinidai.ac.jp> - * texmfmp.c: Avoid to crash for too large a value of SOURCE_DATE_EPOCH. + * texmfmp.c: Avoid crash for too large a value of SOURCE_DATE_EPOCH. (w32 only). 2016-05-06 Karl Berry <karl@tug.org> diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c index cd7953a9301..ceb7094de61 100644 --- a/Build/source/texk/web2c/lib/texmfmp.c +++ b/Build/source/texk/web2c/lib/texmfmp.c @@ -2247,7 +2247,7 @@ get_date_and_time (integer *minutes, integer *day, { struct tm *tmptr; #ifndef onlyTeX - string sde_texprim = getenv ("SOURCE_DATE_EPOCH_TEX_PRIMITIVES"); + string sde_texprim = getenv ("FORCE_SOURCE_DATE"); if (sde_texprim && STREQ (sde_texprim, "1")) { init_start_time (); tmptr = gmtime (&start_time); @@ -2263,7 +2263,7 @@ get_date_and_time (integer *minutes, integer *day, /* warn if they gave an invalid value, empty (null string) ok. */ if (sde_texprim && strlen (sde_texprim) > 0 && !STREQ (sde_texprim, "0")) { -WARNING1 ("invalid value (expected 0 or 1) for environment variable $SOURCE_DATE_EPOCH_TEX_PRIMITIVES: %s", +WARNING1 ("invalid value (expected 0 or 1) for environment variable $FORCE_SOURCE_DATE: %s", sde_texprim); } #endif /* not onlyTeX */ |