Tíquete #46095

Command substitution in $PS4 hangs shell

: 2022-11-23 00:57 Última Atualização: 2022-11-23 14:24

Relator:
Dono:
Tipo:
Estado:
Fechado
Componente:
Marcos:
(Nenhum)
Prioridade:
5 - Medium
Gravidade:
5 - Medium
Resolução:
Fixed
Arquivo:
Nenhum
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

When the xtrace option is enabled with the $PS4 variable containing a command substitution, the expansion of the variable is likely to fall into an infinite loop because of recursive trace for commands in the command substitution. Other existing shells prevent this issue by suppressing recursive trace.

Ticket History (2/2 Histories)

2022-11-23 00:57 Updated by: magicant
  • New Ticket "Command substitution in $PS4 hangs shell" created
2022-11-23 14:24 Updated by: magicant
  • Estado Update from Aberto to Fechado
  • Resolução Update from Nenhum to Fixed
Comentário

Fixed in r4222

Attachment File List

No attachments

Editar

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