[prev in list] [next in list] [prev in thread] [next in thread]
List: bash-bug
Subject: Re: [PATCH] fix [[ -t X ]] segfault
From: Chet Ramey <chet.ramey () case ! edu>
Date: 2023-09-13 14:22:21
Message-ID: 8f512af0-1db9-4531-927a-0211d3f9c735 () case ! edu
[Download RAW message or body]
On 9/8/23 12:36 PM, Grisha Levit wrote:
> Since the change that made `test -t FD' report an error for non-numeric
> values of FD:
>
> $ [[ -t X ]]
> bash: [[: X: integer expected
> Segmentation fault
Thanks for the report and patch.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic