Ticket #26120

関数の中身が (...) のときサブシェルで実行されない

Open Date: 2011-08-24 22:41 Last Update: 2011-10-09 22:02

Reporter:
Owner:
Type:
Status:
Closed
Component:
MileStone:
(None)
Priority:
5 - Medium
Severity:
7
Resolution:
Fixed
File:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

関数の中身が (...) 形式のグルーピングで定義されている場合、関数が現在の環境で実行されてしまう。

  1. func() (
  2. exit
  3. )
  4. func
  5. echo foo

で foo が出力されない。

Ticket History (2/2 Histories)

2011-08-24 22:41 Updated by: magicant
  • New Ticket "関数の中身が (...) のときサブシェルで実行されない" created
2011-10-09 22:02 Updated by: magicant
  • Resolution Update from None to Fixed
  • Status Update from Open to Closed
  • Ticket Close date is changed to 2011-10-09 22:02
Comment

r2701 で修正。

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login