RE: Feature Branch Windows Build Broken - lib/glob.c & WINDOWS32

2005-05-26 Thread Conrad T. Pino
Hi Derek, > From: Derek Price > > >Compiling... > >glob.c > >h:\conrad\projects\cvs-1.12\lib\glob.c(535) : warning C4013: 'sysconf' > undefined; assuming extern returning int > >h:\conrad\projects\cvs-1.12\lib\glob.c(535) : error C2065: > '_SC_LOGIN_NAME_MAX' : undeclared identifier > > I've che

RE: Feature Branch Windows Build Broken - lib/canonicalize.c - ELOOP & lstat

2005-05-26 Thread Conrad T. Pino
Hi Derek, > From: Derek Price > > The new stat module is going to define gl_stat and gl_lstat and provide > protos for rpl_stat and rpl_lstat in a header. The easiest thing to do > is probably going to just use the new header and rename the > windows-NT/filesubr.c functions to rpl_stat and rpl_l

Feature Branch Windows Build Fixed - Build Output With Warnings

2005-05-26 Thread Conrad T. Pino
Deleting intermediate files and output files for project 'libcvs - Win32 Debug'. Deleting intermediate files and output files for project 'libdiff - Win32 Debug'. Deleting intermediate files and output files for project 'libz - Win32 Debug'. Deleting intermediate files and output files for project

RE: Feature Branch Windows Build - lib/dup-safer.c & dup

2005-05-26 Thread Conrad T. Pino
Hi Derek, > From: Derek Price > > >The "dup" function call in "lib/dup-safer.c" has no > >prototype included. Windows Visual C 6.0 does NOT > >implement "dup" but does implement "_dup" as: > > > > int _dup( int handle ); > > > >I've added "#define dup _dup" to "config.h" chain > >but Microsoft pr

Re: Feature Branch Windows Build Broken - lib/glob.c & WINDOWS32

2005-05-26 Thread Derek Price
Conrad T. Pino wrote: >Yes, the Windows build completes. Can you explain what "home_dir" value >will be in the "WINDOWS32" undefined logic? > > It looks like it would call, basically, getpwnam (getlogin()). There are substitutes for both in windows-NT/pwd.c, though it doesn't look like they a

Re: [bug-gnulib] New GNULIB glob module?

2005-05-26 Thread Paul Eggert
Derek Price <[EMAIL PROTECTED]> writes: > I chose the _SYS_CDEFS_H route since it seemed simplest to me, though I > chose to name the macro `MISSING_SYS_CDEFS_H'. Sorry, that's not right, since it fails in the following scenario: #define MISSING_SYS_CDEFS_H 27 #include in an ordinary progr

Re: [bug-gnulib] New GNULIB glob module?

2005-05-26 Thread Derek Price
Paul Eggert wrote: >Derek Price <[EMAIL PROTECTED]> writes: > > > >>I chose the _SYS_CDEFS_H route since it seemed simplest to me, though I >>chose to name the macro `MISSING_SYS_CDEFS_H'. >> >> > >Sorry, that's not right, since it fails in the following scenario: > > #define MISSING_SYS_CD

extensions.m4 patch (was Re: [bug-gnulib] New GNULIB glob module?)

2005-05-26 Thread Derek Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Eggert wrote: >--- extensions.m4.~1.6.~ 2005-02-23 05:49:36 -0800 >+++ extensions.m4 2005-05-24 12:35:48 -0700 >@@ -21,6 +21,10 @@ AC_DEFUN([gl_USE_SYSTEM_EXTENSIONS], [ > [/* Enable extensions on Solaris. */ > #ifndef __EXTENSIONS__ > # undef __