patchThe GNU Bourne-Again SHell - Patches: patch #7637, bash 4.1 return builtin violates...


You are not allowed to post comments on this tracker with your current authentication level.

patch #7637: bash 4.1 return builtin violates posix in checking for options

Submitter:  Linda A. Walsh <law>
Submitted:  Fri 21 Oct 2011 07:50:32 PM UTC
Category:  None Priority:  6
Status:  Done Privacy:  Public
Assigned to:  None Open/Closed:  Open

Fri 21 Oct 2011 07:50:32 PM UTC, original submission:  

in bash 4.1, the return cmd now checks to see if it has
options and parses them as 'illegal' (not very helpful and
certainly not a usability feature).  Posix says the return command takes no options.  

That bash would check for them is an error.

This change broke compatibility in a number of previously
running scripts.

Linda A. Walsh <law>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by chet (Updated the item)
  • -email is unavailable- added by law (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-04 chet StatusNone Done

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code