[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gnulib] New GNULIB glob module?
From: |
Derek Price |
Subject: |
Re: [bug-gnulib] New GNULIB glob module? |
Date: |
Tue, 17 May 2005 14:02:06 -0400 |
User-agent: |
Mozilla Thunderbird 1.0.2 (Windows/20050317) |
Paul Eggert wrote:
>Derek Price <address@hidden> writes:
>
>
>
>>>This seems a bit brittle. Why not simply try to compile this program?
>>>
>>> #include <glob.h>
>>> char a[_GNU_GLOB_INTERFACE_VERSION == 1 ? 1 : -1];
>>>
>>>
>>Because I like to avoid runtime tests if I can avoid it, since they
>>cannot be used when cross-compiling.
>>
>>
>
>The code that I proposed does not have any runtime tests, since the
>array is allocated statically. Tests like this are often used during
>cross-compiling.
>
>
Ah, I didn't realize the optimizer could be relied on for code like
this. Fixed.
Patch delayed until completion of today's email processing.
Regards,
Derek
- Re: [bug-gnulib] New GNULIB glob module?, (continued)
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/17
- Re: [bug-gnulib] New GNULIB glob module?, Paul Eggert, 2005/05/14
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/15
- Re: [bug-gnulib] New GNULIB glob module?, Paul Eggert, 2005/05/16
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/17
- Re: [bug-gnulib] New GNULIB glob module?, Paul Eggert, 2005/05/18
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/18
- Re: [bug-gnulib] New GNULIB glob module?, Paul Eggert, 2005/05/15
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/15
- Re: [bug-gnulib] New GNULIB glob module?, Paul Eggert, 2005/05/17
- Re: [bug-gnulib] New GNULIB glob module?,
Derek Price <=
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/20
- Re: [bug-gnulib] New GNULIB glob module?, Paul Eggert, 2005/05/23
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/24
- Re: [bug-gnulib] New GNULIB glob module?, Paul Eggert, 2005/05/24
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/25
- Re: [bug-gnulib] New GNULIB glob module?, Larry Jones, 2005/05/25
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/25
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/25
- Re: [bug-gnulib] New GNULIB glob module?, Paul Eggert, 2005/05/26
- Re: [bug-gnulib] New GNULIB glob module?, Derek Price, 2005/05/26