[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it,
From: |
John W. Eaton |
Subject: |
Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now |
Date: |
Tue, 27 Apr 2010 15:50:24 -0400 |
On 9-Apr-2010, Paolo Bonzini wrote:
| On 04/09/2010 11:04 AM, Bruno Haible wrote:
| > Indeed. But since mingw has it but MSVC doesn't, this raises the
| > question: how important is the MSVC porting platform (use Microsoft's
| > compiler and include files [proprietary but downloadable at zero cost
| > from Microsoft's web site], with possibly a wrapper script like
| > 'cccl')?
|
| I think for mingwex-provided function we should not mark modules as
| obsolete outright; it depends on the amount of code and dependencies, IMO.
|
| > On one hand, there have been attempts to add support for this
| > platform to libtool. On the other hand, this platforms lacks
| > <dirent.h>, opendir, readdir, but we have not had a single request
| > for supporting this in gnulib in 7 years.
|
| dirent functions are actually not _that_ much used.
Sorry for jumping in late to this thread...
Octave, which attempts to be buildable with MSVC, uses dirent.h and
the functions opendir, readdir, and closedir. My understanding is
that these functions are not available by default when compiling with
MSVC. We have some lame replacements for these functions, and I think
Emacs also has replacements for them. I would guess that there are
other implementations out there as well. But it would be much better
if there were some replacements in gnulib.
OTOH, Octave doesn't absolutely require these functions or dirent.h,
but we do need some (hopefully portable) way to get a list of files in
a directory.
What's the right gnulibish way to do that, and will it work on Windows
systems with MSVC?
Thanks,
jwe
- [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Jim Meyering, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Bruno Haible, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Paolo Bonzini, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Jim Meyering, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Paolo Bonzini, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Jim Meyering, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Paolo Bonzini, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, John W. Eaton, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Jim Meyering, 2010/04/09
- Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now,
John W. Eaton <=
- Re: <dirent.h> on msvc, Bruno Haible, 2010/04/27
- Re: <dirent.h> on msvc, John W. Eaton, 2010/04/27
Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Jim Meyering, 2010/04/09
MSVC support in gnulib still needed? (Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now), Jarno Rajahalme, 2010/04/09
Re: [PATCH] ftruncate: mark module as obsolete; even MinGW provides it, now, Ralf Wildenhues, 2010/04/09