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

Submitted by:  Linda A. Walsh <law>
Submitted on:  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>


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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    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.6