GNU bug report logs -
#12177
mdate-sh scriptversion=2009-04-28.21; # UTC
Previous Next
Reported by: doug <doug <at> mechalogic.net>
Date: Sat, 11 Aug 2012 01:12:01 UTC
Severity: minor
Tags: moreinfo
Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12177 in the body.
You can then email your comments to 12177 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-automake <at> gnu.org
:
bug#12177
; Package
automake
.
(Sat, 11 Aug 2012 01:12:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
doug <doug <at> mechalogic.net>
:
New bug report received and forwarded. Copy sent to
bug-automake <at> gnu.org
.
(Sat, 11 Aug 2012 01:12:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
This file is found in make-3.82 and autotools packages.
It runs forever some systems. Note below:
# TIME_STYLE="posix-long-iso" echo x`/home/doug/gentoo/bin/ls -L -d -n /`
xdrwxr-xr-x 22 0 0 512 July 24 01:43 /
^^^^
Now look at line 114
Jul) month=July; nummonth=7;;
July will never match Jul and so the loop is infinite.
Regards
- Doug
Information forwarded
to
bug-automake <at> gnu.org
:
bug#12177
; Package
automake
.
(Sun, 12 Aug 2012 09:05:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 12177 <at> debbugs.gnu.org (full text, mbox):
Hi Doug, thanks for the report.
On 08/11/2012 02:59 AM, doug wrote:
> This file is found in make-3.82 and autotools packages.
>
Which Automake version?
> It runs forever some systems.
>
Not anymore, since Ralf Wildenhues fixed it two years ago (2010-08-21)
with commit v1.11-188-gb268a1f "Improve robustness of mdate-sh script":
Improve robustness of mdate-sh script.
* lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
$ls_command is word-split properly upon invocation.
(error): New function.
(main): Use it. Improve error checking to avoid endless loop
in case $ls_command gave bogus output. Fix eval quotation.
* tests/mdate6.test: New test, to expose eval quotation error.
* tests/Makefile.am: Update.
The script will still experience an error, though (which is better
than an endless loop).
> Note below:
>
> # TIME_STYLE="posix-long-iso" echo x`/home/doug/gentoo/bin/ls -L -d -n /`
> xdrwxr-xr-x 22 0 0 512 July 24 01:43 /
> ^^^^
>
What happens if TIME_STYLE is simply unset?
> Now look at line 114
>
> Jul) month=July; nummonth=7;;
>
> July will never match Jul and so the loop is infinite.
>
> Regards
> - Doug
Thanks,
Stefano
Added tag(s) moreinfo.
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 16 Aug 2012 16:33:02 GMT)
Full text and
rfc822 format available.
Severity set to 'minor' from 'normal'
Request was from
Stefano Lattarini <stefano.lattarini <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Thu, 16 Aug 2012 16:33:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-automake <at> gnu.org
:
bug#12177
; Package
automake
.
(Wed, 21 Nov 2012 10:37:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 12177 <at> debbugs.gnu.org (full text, mbox):
Reference:
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12177>
On 08/12/2012 10:56 AM, Stefano Lattarini wrote:
> Hi Doug, thanks for the report.
>
> On 08/11/2012 02:59 AM, doug wrote:
>> This file is found in make-3.82 and autotools packages.
>>
> Which Automake version?
>
>> It runs forever some systems.
>>
> Not anymore, since Ralf Wildenhues fixed it two years ago (2010-08-21)
> with commit v1.11-188-gb268a1f "Improve robustness of mdate-sh script":
>
> Improve robustness of mdate-sh script.
>
> * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
> $ls_command is word-split properly upon invocation.
> (error): New function.
> (main): Use it. Improve error checking to avoid endless loop
> in case $ls_command gave bogus output. Fix eval quotation.
> * tests/mdate6.test: New test, to expose eval quotation error.
> * tests/Makefile.am: Update.
>
> The script will still experience an error, though (which is better
> than an endless loop).
>
>> Note below:
>>
>> # TIME_STYLE="posix-long-iso" echo x`/home/doug/gentoo/bin/ls -L -d -n /`
>> xdrwxr-xr-x 22 0 0 512 July 24 01:43 /
>> ^^^^
>>
> What happens if TIME_STYLE is simply unset?
>
>> Now look at line 114
>>
>> Jul) month=July; nummonth=7;;
>>
>> July will never match Jul and so the loop is infinite.
>>
>> Regards
>> - Doug
>
Any news on this bug? To avoid keeping the Automake bug tracker overly
cluttered, I'm going to close the report in a few days if I don't hear
anything back.
Regards,
Stefano
Reply sent
to
Stefano Lattarini <stefano.lattarini <at> gmail.com>
:
You have taken responsibility.
(Mon, 26 Nov 2012 12:39:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
doug <doug <at> mechalogic.net>
:
bug acknowledged by developer.
(Mon, 26 Nov 2012 12:39:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 12177-done <at> debbugs.gnu.org (full text, mbox):
On 11/21/2012 11:34 AM, Stefano Lattarini wrote:
> Reference:
> <http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12177>
>
> On 08/12/2012 10:56 AM, Stefano Lattarini wrote:
>> Hi Doug, thanks for the report.
>>
>> On 08/11/2012 02:59 AM, doug wrote:
>>> This file is found in make-3.82 and autotools packages.
>>>
>> Which Automake version?
>>
>>> It runs forever some systems.
>>>
>> Not anymore, since Ralf Wildenhues fixed it two years ago (2010-08-21)
>> with commit v1.11-188-gb268a1f "Improve robustness of mdate-sh script":
>>
>> Improve robustness of mdate-sh script.
>>
>> * lib/mdate-sh: Sanitize zsh behavior on startup, to ensure
>> $ls_command is word-split properly upon invocation.
>> (error): New function.
>> (main): Use it. Improve error checking to avoid endless loop
>> in case $ls_command gave bogus output. Fix eval quotation.
>> * tests/mdate6.test: New test, to expose eval quotation error.
>> * tests/Makefile.am: Update.
>>
>> The script will still experience an error, though (which is better
>> than an endless loop).
>>
>>> Note below:
>>>
>>> # TIME_STYLE="posix-long-iso" echo x`/home/doug/gentoo/bin/ls -L -d -n /`
>>> xdrwxr-xr-x 22 0 0 512 July 24 01:43 /
>>> ^^^^
>>>
>> What happens if TIME_STYLE is simply unset?
>>
>>> Now look at line 114
>>>
>>> Jul) month=July; nummonth=7;;
>>>
>>> July will never match Jul and so the loop is infinite.
>>>
>>> Regards
>>> - Doug
>>
> Any news on this bug? To avoid keeping the Automake bug tracker overly
> cluttered, I'm going to close the report in a few days if I don't hear
> anything back.
>
No further feedback has been received, so I'm closing this report.
Regards,
Stefano
Information forwarded
to
bug-automake <at> gnu.org
:
bug#12177
; Package
automake
.
(Mon, 26 Nov 2012 20:58:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 12177 <at> debbugs.gnu.org (full text, mbox):
On 11/26/2012 09:29 PM, B Douglas Hilton wrote:
>
> Sorry I didn't get back to you in time.
>
No problem, the bug can still be reopened at any time if the need arise.
> As far as I know the bug is still present and will be until the end of
> time unless every old version of every program that ever used the flawed
> autotools versions were to be patched.
>
But what I was asking was: if you copy the new version of the mdate-sh
script in a package that was using the buggy version, does the error
disappear? If yes, we can be satisfied to have done our part.
> It is probably just as well that you closed it as I have neither
> the time nor ability to generate the thousands of patches that
> would have been required to fix this.
>
> - Doug
Thanks, and best regards,
Stefano
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 25 Dec 2012 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 12 years and 181 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.