bug#47412: env: fragile argument parsing

2021-03-29 Thread Paul Eggert
On 3/26/21 3:21 PM, Paul Eggert wrote: The -S code could use some more fixes in this area too - it can probably still dump core on platforms like the Hurd that don't limit exec arg size - but one thing at a time. I fixed the (unlikely) bugs I found in this area by installing the attached.

bug#47476: relative date of -1 month shows the wrong month

2021-03-29 Thread Pádraig Brady
On 29/03/2021 16:39, Lars Noodén wrote: Severity: normal Package: coreutils Version: 8.32-4 On March 29, 2021, if a relative date of '-1 month' is passed to 'date', then the output shows March instead of February. $ date; date -d '-1 month'; date -d '1 month ago'; date -d 'last month'; Mon 29

bug#47476: relative date of -1 month shows the wrong month

2021-03-29 Thread Lars Noodén
Severity: normal Package: coreutils Version: 8.32-4 On March 29, 2021, if a relative date of '-1 month' is passed to 'date', then the output shows March instead of February. $ date; date -d '-1 month'; date -d '1 month ago'; date -d 'last month'; Mon 29 Mar 2021 06:35:43 PM EEST Mon 01 Mar 2021

bug#47412: env: fragile argument parsing

2021-03-29 Thread Pádraig Brady
On 26/03/2021 20:52, Paul Eggert wrote: Thanks for the bug report. I installed the attached to fix it and am closing the report. The fix looks good, thanks. I added in a test case also at: https://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=9f1bda18f cheers, Pádraig