NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/48843: sh(1): break/continue/return broken inside dot commands
The following reply was made to PR bin/48843; it has been noted by GNATS.
From: Richard Hansen <rhansen%bbn.com@localhost>
To: gnats-bugs%NetBSD.org@localhost, netbsd-bugs%netbsd.org@localhost,
tech-userlevel%NetBSD.org@localhost
Cc:
Subject: Re: bin/48843: sh(1): break/continue/return broken inside dot commands
Date: Thu, 05 Jun 2014 14:56:00 -0400
On 2014-06-02 13:21, Richard Hansen wrote:
>> On Sat, May 31, 2014 at 05:14:26PM -0400, Richard Hansen wrote:
>>> I will bring this up during the next Austin Group teleconference. We
>>> should be able to get some improved wording in before POSIX Issue 7 TC2
>>> is published (even if that wording is simply "unspecified" or
>>> "implementation defined"). Any input from the NetBSD community would be
>>> appreciated.
>>>
>>> The intended behavior of break/continue outside of a loop is also
>>> unclear. I'll bring that up as well.
>
> I filed a bug report that will be the basis for discussion during the
> Thursday teleconference (assuming we have time to address this bug):
> http://austingroupbugs.net/view.php?id=842
That bug has been resolved, with the revised text (which will be in
Issue 7 TC2) available here:
http://austingroupbugs.net/view.php?id=842#c2257
We decided to not do anything for Issue 8 at this time, so the behavior
will continue to be unspecified if n is greater than the number of
lexically enclosing loops. The argument is that the standard has been
this way for 20+ years without any major complaints, so why force
implementations to change their code to support a case that few care about.
-Richard
Home |
Main Index |
Thread Index |
Old Index