[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: glob() bug when expanding braces
From: |
Flavio Veloso |
Subject: |
Re: glob() bug when expanding braces |
Date: |
Thu, 29 Nov 2001 09:22:21 -0200 (BRST) |
On Thu, 29 Nov 2001, Flavio Veloso wrote:
(...)
> --- sysdeps/generic/glob.c.orig Wed Nov 28 18:31:21 2001
> +++ sysdeps/generic/glob.c Wed Nov 28 19:15:33 2001
> @@ -359,38 +359,22 @@
(...)
> - return cp;
> + return (*begin && depth == 0) ? begin : NULL;
This may be reduced to just
return *begin ? begin : NULL;
Thanks to Jakub Jelinek for point it.
Need I to resend the patch or just this clarification is enough?
--
Flávio