bug-gzip
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#32342: [PATCH] Allow to override time_stamp with SOURCE_DATE_EPOCH


From: Paul Eggert
Subject: bug#32342: [PATCH] Allow to override time_stamp with SOURCE_DATE_EPOCH
Date: Thu, 2 Aug 2018 09:01:05 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 08/02/2018 02:03 AM, Bernhard M. Wiedemann wrote:
+        if ((source_date_epoch = getenv("SOURCE_DATE_EPOCH")) == NULL || 
(stamp = strtol(source_date_epoch, NULL, 10))

That won't work after 2038 on x32. Also, I'm leery of having environment variables affect standard utilities' behavior, though perhaps we could shoehorn this in.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]