[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building Diffutils with MinGW
From: |
Paul Eggert |
Subject: |
Re: Building Diffutils with MinGW |
Date: |
Sat, 05 May 2012 22:23:10 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 |
On 05/05/2012 02:12 AM, Eli Zaretskii wrote:
I don't understand why should something like that be done by a
separate script, since the top-level configure already includes
multiple tests for mingw* configurations.
These are imported from gnulib, which has some maintainers that
worry about mingw*. It's no extra work to use them,
since they don't affect the diffutils code proper.
#include <dirent.h>
#ifndef _D_EXACT_NAMLEN
# define _D_EXACT_NAMLEN(dp) strlen ((dp)->d_name)
#endif
is sub-optimal for systems that have the d_namlen member in struct
dirent, but don't define _D_EXACT_NAMLEN.
Yes, that's right. The code works correctly on such systems,
and nobody's bothered to implement any such minor tuning.
- Building Diffutils with MinGW, Eli Zaretskii, 2012/05/04
- Re: Building Diffutils with MinGW, Paul Eggert, 2012/05/04
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/04
- Re: Building Diffutils with MinGW, Paul Eggert, 2012/05/04
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/04
- Re: Building Diffutils with MinGW, Paul Eggert, 2012/05/04
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/05
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/05
- Re: Building Diffutils with MinGW, Jim Meyering, 2012/05/05
- Re: Building Diffutils with MinGW, Eli Zaretskii, 2012/05/05
- Re: Building Diffutils with MinGW,
Paul Eggert <=