Re: AC_HEADER_DIRENT

2006-07-07 Thread Derek R. Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Hyslop wrote: > Can you live with the current solution until I (or someone) > implements a dirent substitute for the Windows build? It would be nice to simplify. Does the attached patch do the trick? 2006-07-07 Derek R. Price <[EMAIL PROTECTE

Re: AC_HEADER_DIRENT

2006-07-07 Thread Jim Hyslop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Eggert wrote: > No, dirent.h is standardized here: > > http://www.opengroup.org/onlinepubs/009695399/basedefs/dirent.h.html Ah, great information, thanks. > ndir.h is obsolete and has been obsolete for years. > > Sounds like CVS is supplying it

Re: AC_HEADER_DIRENT

2006-07-07 Thread Paul Eggert
Jim Hyslop <[EMAIL PROTECTED]> writes: > I get the impression dirent.h and ndir.h are both obsolete. No, dirent.h is standardized here: http://www.opengroup.org/onlinepubs/009695399/basedefs/dirent.h.html ndir.h is obsolete and has been obsolete for years. Sounds like CVS is supplying its own

Re: AC_HEADER_DIRENT

2006-07-07 Thread Jim Hyslop
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Derek R. Price wrote: > Paul Eggert wrote: > >>>"Derek R. Price" <[EMAIL PROTECTED]> writes: >>> >>> Thanks, Bruno. I've attached a patch that replaces all the references to AC_HEADER_DIRENT with calls to AC_CHECK_HEADERS_ONCE([dirent.h n

Re: new module for temporary files in temporary directories

2006-07-07 Thread Paul Eggert
Ben Pfaff <[EMAIL PROTECTED]> writes: > Is this a feature that Bruno will add later? I suspect so, if we want 'sort' to use the module (still haven't decided that). > My theory is that any object may be accessed through a volatile > lvalue and receive volatile semantics *for that access* Tha

Re: AC_HEADER_DIRENT

2006-07-07 Thread Derek R. Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Eggert wrote: > "Derek R. Price" <[EMAIL PROTECTED]> writes: > >> Thanks, Bruno. I've attached a patch that replaces all the references >> to AC_HEADER_DIRENT with calls to AC_CHECK_HEADERS_ONCE([dirent.h >> ndir.h]) and makes the accompanying c

Re: [bug-gnulib] getaddrinfo.c on windows

2006-07-07 Thread Bruno Haible
Derek R. Price wrote: > * lib/getaddrinfo.c: Changes to compile under MSVC6: changed > '#if WIN32_NATIVE' to '#ifdef' My bad. Thanks for the fix. Bruno

Re: AC_HEADER_DIRENT

2006-07-07 Thread Derek R. Price
Paul Eggert wrote: >> Is OpenVMS the only practical VMS target left? > > Yes. For now, let's remove the vmsdir.h stuff since I don't think > anybody uses it now. If it's necessary the VMS guys can supply > a substitude dirent.h as well. > > Also, we should use "__VMS" rather than "VMS" since th

Re: HAVE_UNISTD_H used in progreloc.c

2006-07-07 Thread Bruno Haible
Hi Jim, > I just grepped for HAVE_UNISTD_H in gnulib/ and found this > single remaining use. Any reason to keep it? > > Index: lib/progreloc.c Yes. Mingw doesn't have a . gnulib provides an empty replacement; however, the relocatable stuff is only temporarily in gnulib - ultimately it belongs

Re: arpa_inet_h: new module, replaces inet_ntop

2006-07-07 Thread Simon Josefsson
Simon Josefsson <[EMAIL PROTECTED]> writes: > Here is a new arpa_inet module, much simplified. It's now unrelated > to inet_?to?, it's only for ntohl, ntohs, etc, and possibly other > arpa/inet.h functions that do exist in winsock2.h. I've installed this. > Index: m4/arpa_inet_h.m4 > ==

Re: getaddrinfo.c on windows

2006-07-07 Thread Simon Josefsson
"Derek R. Price" <[EMAIL PROTECTED]> writes: > Jim Hyslop reported needing the attached patch to compile getaddrinfo.c > in MSVC6. > > 2006-07-06 Jim Hyslop <[EMAIL PROTECTED]> > > * lib/getaddrinfo.c: Changes to compile under MSVC6: changed > '#if WIN32_NATIVE' to '#ifdef' & moved W

HAVE_UNISTD_H used in progreloc.c

2006-07-07 Thread Jim Meyering
Hi Bruno, I just grepped for HAVE_UNISTD_H in gnulib/ and found this single remaining use. Any reason to keep it? Index: lib/progreloc.c === RCS file: /sources/gnulib/gnulib/lib/progreloc.c,v retrieving revision 1.8 diff -u -p -r1.