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 authentification 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: NonePriority: 6
Status: NonePrivacy: Public
Assigned to: NoneOpen/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
  • -unavailable- added by law (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup