Re: Build CVS (TRUNK) failed.

2005-06-02 Thread Dennis Jones
Oops!  My nightly build script was not doing a -dP!

I have fixed it and kicked off a build.

- Dennis

- Original Message -
From: Conrad T. Pino [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: Bug CVS bug-cvs@gnu.org; [EMAIL PROTECTED]
Sent: Wednesday, June 01, 2005 10:50 AM
Subject: RE: Build CVS (TRUNK) failed.


 Hi,

 Please test for the existence of:

 directory: windows-NT/sys
 new file: windows-NT/sys/types.h

 I hope this is an update oversight that:

 cvs update -dP windows-NT

 will correct.

 If none of the above is true then please send me
 Microsoft's sys/types.h file from your compiler
 INCLUDE path.  At a command prompt run:

 cl /?  out.txt 2 err.txt

 send the err.txt file and delete out.txt.

 Thank you,

 Conrad Pino

  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, June 01, 2005 00:01
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Subject: Build CVS (TRUNK) failed.
 
  ..\windows-NT\unistd.h(34) : error C2282: 'pid_t' is followed by
'getpid' (missing ','?)
  ..\windows-NT\unistd.h(37) : error C2146: syntax error : missing ')'
before identifier 'microseconds'
  ..\windows-NT\unistd.h(37) : error C2501: 'microseconds' : missing
decl-specifiers
  dup-safer.c(51) : fatal error C1004: unexpected end of file found
 [snip]

 ---
 [This E-mail Scanned for viruses by Onlinemac.com]





---
[This E-mail Scanned for viruses by Onlinemac.com]



___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


RE: Build CVS (TRUNK) failed.

2005-06-01 Thread Conrad T. Pino
Hi,

Please test for the existence of:

directory: windows-NT/sys
 new file: windows-NT/sys/types.h

I hope this is an update oversight that:

cvs update -dP windows-NT

will correct.

If none of the above is true then please send me
Microsoft's sys/types.h file from your compiler
INCLUDE path.  At a command prompt run:

cl /?  out.txt 2 err.txt

send the err.txt file and delete out.txt.

Thank you,

Conrad Pino

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 01, 2005 00:01
 To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: Build CVS (TRUNK) failed.
 
 ..\windows-NT\unistd.h(34) : error C2282: 'pid_t' is followed by 'getpid' 
 (missing ','?)
 ..\windows-NT\unistd.h(37) : error C2146: syntax error : missing ')' before 
 identifier 'microseconds'
 ..\windows-NT\unistd.h(37) : error C2501: 'microseconds' : missing 
 decl-specifiers
 dup-safer.c(51) : fatal error C1004: unexpected end of file found
[snip]



___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


RE: Build CVS (TRUNK) failed.

2005-05-09 Thread Conrad T. Pino
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Mark,

 From: Mark D. Baushke
 Sent: Sunday, May 08, 2005 13:48
 
 lib\unistd-safer.h should be what gets used. It was added via a GNULIB
 update, so it should be there.
 

Last night's test results build worked as did mine this morning.

Microsoft Visual C (MVC) has a different opinion for *.dep and *.mak
file content.  Unless there's something I'm unaware of I plan to commit
the following patch tomorrow.

Conrad

Index: cvsnt.dep
===
RCS file: /cvs/ccvs/cvsnt.dep,v
retrieving revision 1.32
diff -u -p -r1.32 cvsnt.dep
- --- cvsnt.dep 8 Mar 2005 05:19:52 -   1.32
+++ cvsnt.dep   9 May 2005 17:59:46 -
@@ -3,9 +3,7 @@
 .\src\add.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -42,9 +40,7 @@
 .\src\admin.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -79,9 +75,7 @@
 .\src\annotate.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -116,9 +110,7 @@
 .\src\buffer.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\getpagesize.h\
.\lib\gettext.h\
.\lib\pagealign_alloc.h\
@@ -155,9 +147,7 @@
 .\src\checkin.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -194,9 +184,7 @@
 .\src\checkout.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -231,9 +219,7 @@
 .\src\classify.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -268,10 +254,8 @@
 .\src\client.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
.\lib\getline.h\
- - .\lib\getopt.h\
.\lib\getpagesize.h\
.\lib\gettext.h\
.\lib\md5.h\
@@ -313,10 +297,8 @@
 .\src\commit.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
.\lib\getline.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -354,9 +336,7 @@
 .\src\create_adm.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -391,10 +371,8 @@
 .\src\cvsrc.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
.\lib\getline.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -429,9 +407,7 @@
 .\src\diff.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -466,10 +442,8 @@
 .\src\edit.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
.\lib\getline.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -508,10 +482,8 @@
 .\src\entries.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
.\lib\getline.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -556,6 +528,7 @@
.\lib\system.h\
.\lib\timespec.h\
.\lib\unlocked-io.h\
+   .\lib\vasnprintf.h\
.\lib\wait.h\
.\lib\xalloc.h\
.\lib\xgetcwd.h\
@@ -583,9 +556,7 @@
 .\src\exithandle.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -620,9 +591,7 @@
 .\src\expand_path.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
- - .\lib\getopt.h\
.\lib\gettext.h\
.\lib\pathmax.h\
.\lib\regex.h\
@@ -657,10 +626,8 @@
 .\src\fileattr.c : \
.\lib\dirname.h\
.\lib\exit.h\
- - .\lib\fnmatch.h\
.\lib\getdate.h\
.\lib\getline.h\
- -   

Re: Build CVS (TRUNK) failed.

2005-05-09 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Conrad T. Pino [EMAIL PROTECTED] writes:

  
 Hi Mark,
 
  From: Mark D. Baushke
  Sent: Sunday, May 08, 2005 13:48
  
  lib\unistd-safer.h should be what gets used. It was added via a GNULIB
  update, so it should be there.
  
 
 Last night's test results build worked as did mine this morning.
 
 Microsoft Visual C (MVC) has a different opinion for *.dep and *.mak
 file content.  Unless there's something I'm unaware of I plan to commit
 the following patch tomorrow.

Given that I 'manually' generated the changes for the MVC files, I have
no objections to real versions of those files being committed. You might
as well commit the patch today.

Thanks!
-- Mark
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFCf6hB3x41pRYZE/gRAri+AKDH7RuHq02tZJrNdvz6q88GT/b/fgCeL9Yz
crXzBaMST1NHZVlDGJPeuG0=
=yBAU
-END PGP SIGNATURE-


___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


RE: Build CVS (TRUNK) failed.

2005-05-09 Thread Conrad T. Pino
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 From: Mark D. Baushke
 
 Given that I 'manually' generated the changes for the MVC files, I have
 no objections to real versions of those files being committed. You might
 as well commit the patch today.

Done.

-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBQn/+TrNM28ubzTo9EQI93ACg4nszla2s4eYJUiBuYC3O+5ar4F8AoO0s
4M7eWHTTN0foym0dkC1rDIUp
=VA+w
-END PGP SIGNATURE-



___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


RE: Build CVS (TRUNK) failed.

2005-05-08 Thread Conrad T. Pino
 
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Mark,

Sorry to be tuning in late.  I'm not always watching the stream.

I'm volunteering to fix this one but I need ideas on where to get
a unistd-safer.h and my initial though is to hack one together
line we did for windows-NT/unistd.h.

What are your thoughts?

Conrad

 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Sunday, May 08, 2005 00:00
 
 Microsoft (R) Program Maintenance Utility   Version 1.62.7022
 Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
 
   cd .\lib
   NMAKE /A  /F .\libcvs.mak CFG=libcvs - Win32 Release
 
 Microsoft (R) Program Maintenance Utility   Version 1.62.7022
 Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
 
   if not exist .\WinRel/ mkdir .\WinRel
   tempfile.bat 
 1 file(s) copied.
   tempfile.bat 
 1 file(s) copied.
   tempfile.bat 
 1 file(s) copied.
 NMAKE : fatal error U1073: don't know how to make 
 '..\windows-NT\unistd-safer.h'
 Stop.
 NMAKE : fatal error U1077: 'C:\Program Files\DevStudio\VC\BIN\NMAKE.EXE' : 
 return code '0x2'
 Stop.

-BEGIN PGP SIGNATURE-
Version: PGP 7.0.4

iQA/AwUBQn5RbbNM28ubzTo9EQJPeACg2OuC1x1a0KvzYmYw1871NXzsYCEAn0Ue
0ObuURyfC2Noh18GjBes78+f
=ivQm
-END PGP SIGNATURE-



___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


Re: Build CVS (TRUNK) failed.

2005-05-08 Thread Mark D. Baushke
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Conrad T. Pino [EMAIL PROTECTED] writes:

 Sorry to be tuning in late.  I'm not always watching the stream.

No worries. I think the current tree is fixed, but if you could turn
the crank to verify it that would be great.

 I'm volunteering to fix this one but I need ideas on where to get
 a unistd-safer.h and my initial though is to hack one together
 line we did for windows-NT/unistd.h.
 
 What are your thoughts?

lib\unistd-safer.h should be what gets used. It was added via a GNULIB
update, so it should be there.

Thanks!
-- Mark

 Conrad
 
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Sunday, May 08, 2005 00:00
  
  Microsoft (R) Program Maintenance Utility   Version 1.62.7022
  Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
  
  cd .\lib
  NMAKE /A  /F .\libcvs.mak CFG=libcvs - Win32 Release
  
  Microsoft (R) Program Maintenance Utility   Version 1.62.7022
  Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
  
  if not exist .\WinRel/ mkdir .\WinRel
  tempfile.bat 
  1 file(s) copied.
  tempfile.bat 
  1 file(s) copied.
  tempfile.bat 
  1 file(s) copied.
  NMAKE : fatal error U1073: don't know how to make 
  '..\windows-NT\unistd-safer.h'
  Stop.
  NMAKE : fatal error U1077: 'C:\Program Files\DevStudio\VC\BIN\NMAKE.EXE' 
  : return code '0x2'
  Stop.
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQFCfnsb3x41pRYZE/gRAtAKAJ0QQ9Imy9crUQ4U63JZUZhqPo9j/ACeJhAw
5Qdl14F1lFFn40qjdBK3oKo=
=D4Ci
-END PGP SIGNATURE-


___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


Re: Build CVS (TRUNK) failed.

2005-05-07 Thread Mark D. Baushke
Hi Jim,

Okay. Thanks for the clue. I have committed the patch given after my
.signature in hopes that it will be closer.

I think your patch still had some problems. I believe you need to quote
file names that contain a - character, the dep file for dup-safer
needed to make note of a few other files and the libcvs.mak needed to
learn how to build both dup-safer.obj as well as fd-safer.obj

Thanks,
-- Mark

Index: ChangeLog
===
RCS file: /cvs/ccvs/lib/ChangeLog,v
retrieving revision 1.416
retrieving revision 1.418
diff -u -p -r1.416 -r1.418
--- ChangeLog   3 May 2005 14:59:34 -   1.416
+++ ChangeLog   7 May 2005 08:07:13 -   1.418
@@ -1,3 +1,9 @@
+2005-05-07  Mark D. Baushke  [EMAIL PROTECTED]
+
+   * libcvs.dep: Use a relative path for unistd-safer.h.
+
+   * libcvs.dsp: Update from GNULIB.
+   Add files dup-safer.c, fd-safer.c, and unistd-safer.h.
+   * libcvs.dep, libcvs.mak: Regenerate.
+
 2005-05-03  Derek Price  [EMAIL PROTECTED]
Index: lib/libcvs.dep
===
RCS file: /cvs/ccvs/lib/libcvs.dep,v
retrieving revision 1.19
diff -u -p -r1.19 libcvs.dep
--- lib/libcvs.dep  8 Mar 2005 05:16:29 -   1.20
+++ lib/libcvs.dep  7 May 2005 08:01:35 -
@@ -34,12 +34,27 @@
.\xalloc.h\

 
+.\dup-safer.c : \
+   ..\windows-NT\config.h\
+   ..\windows-NT\stdbool.h\
+   ..\windows-NT\unistd.h\
+   ..\windows-NT\unistd-safer.h\
+   
+
 .\exitfail.c : \
..\windows-NT\config.h\
.\exit.h\
.\exitfail.h\

 
+.\fd-safer.c : \
+   ..\windows-NT\config.h\
+   ..\windows-NT\stdbool.h\
+   ..\windows-NT\unistd.h\
+   ..\windows-NT\unistd-safer.h\
+   .\error.h\
+   
+
 .\fncase.c : \
..\windows-NT\config.h\
..\windows-NT\ndir.h\
Index: lib/libcvs.dsp
===
RCS file: /cvs/ccvs/lib/libcvs.dsp,v
retrieving revision 1.20
diff -u -p -r1.20 libcvs.dsp
--- lib/libcvs.dsp  8 Mar 2005 05:16:29 -   1.20
+++ lib/libcvs.dsp  7 May 2005 08:01:35 -
@@ -105,10 +105,18 @@ SOURCE=.\dirname.c
 # End Source File
 # Begin Source File
 
+SOURCE=.\dup-safer.c
+# End Source File
+# Begin Source File
+
 SOURCE=.\exitfail.c
 # End Source File
 # Begin Source File
 
+SOURCE=.\fd-safer.c
+# End Source File
+# Begin Source File
+
 SOURCE=.\fncase.c
 # End Source File
 # Begin Source File
@@ -478,6 +486,10 @@ SOURCE=..\windows-NT\unistd.h
 # End Source File
 # Begin Source File
 
+SOURCE=..\windows-NT\unistd-safer.h
+# End Source File
+# Begin Source File
+
 SOURCE=.\unlocked-io.h
 # End Source File
 # Begin Source File
Index: lib/libcvs.mak
===
RCS file: /cvs/ccvs/lib/libcvs.mak,v
retrieving revision 1.21
diff -u -p -r1.21 libcvs.mak
--- lib/libcvs.mak  8 Mar 2005 05:16:29 -   1.21
+++ lib/libcvs.mak  7 May 2005 08:01:35 -
@@ -45,7 +45,9 @@ CLEAN :
[EMAIL PROTECTED] $(INTDIR)\basename.obj
[EMAIL PROTECTED] $(INTDIR)\closeout.obj
[EMAIL PROTECTED] $(INTDIR)\dirname.obj
+   [EMAIL PROTECTED] $(INTDIR)\dup-safer.obj
[EMAIL PROTECTED] $(INTDIR)\exitfail.obj
+   [EMAIL PROTECTED] $(INTDIR)\fd-safer.obj
[EMAIL PROTECTED] $(INTDIR)\fncase.obj
[EMAIL PROTECTED] $(INTDIR)\fnmatch.obj
[EMAIL PROTECTED] $(INTDIR)\fseeko.obj
@@ -101,8 +103,10 @@ LIB32_OBJS= \
$(INTDIR)\asnprintf.obj \
$(INTDIR)\basename.obj \
$(INTDIR)\dirname.obj \
+   $(INTDIR)\dup-safer.obj \
$(INTDIR)\exitfail.obj \
$(INTDIR)\fncase.obj \
+   $(INTDIR)\fd-safer.obj \
$(INTDIR)\fnmatch.obj \
$(INTDIR)\fseeko.obj \
$(INTDIR)\ftello.obj \
@@ -162,7 +166,9 @@ CLEAN :
[EMAIL PROTECTED] $(INTDIR)\basename.obj
[EMAIL PROTECTED] $(INTDIR)\closeout.obj
[EMAIL PROTECTED] $(INTDIR)\dirname.obj
+   [EMAIL PROTECTED] $(INTDIR)\dup-safer.obj
[EMAIL PROTECTED] $(INTDIR)\exitfail.obj
+   [EMAIL PROTECTED] $(INTDIR)\fd-safer.obj
[EMAIL PROTECTED] $(INTDIR)\fncase.obj
[EMAIL PROTECTED] $(INTDIR)\fnmatch.obj
[EMAIL PROTECTED] $(INTDIR)\fseeko.obj
@@ -216,7 +222,9 @@ LIB32_OBJS= \
$(INTDIR)\asnprintf.obj \
$(INTDIR)\basename.obj \
$(INTDIR)\dirname.obj \
+   $(INTDIR)\dup-safer.obj \
$(INTDIR)\exitfail.obj \
+   $(INTDIR)\fd-safer.obj \
$(INTDIR)\fncase.obj \
$(INTDIR)\fnmatch.obj \
$(INTDIR)\fseeko.obj \
@@ -328,11 +336,21 @@ SOURCE=.\dirname.c
 $(INTDIR)\dirname.obj : $(SOURCE) $(INTDIR)
 
 
+SOURCE=.\dup-safer.c
+
+$(INTDIR)\dup-safer.obj : $(SOURCE) $(INTDIR)
+
+
 SOURCE=.\exitfail.c
 
 $(INTDIR)\exitfail.obj : $(SOURCE) $(INTDIR)
 
 
+SOURCE=.\fd-safer.c
+
+$(INTDIR)\fd-safer.obj : $(SOURCE) 

Re: Build CVS (TRUNK) failed.

2005-05-07 Thread Jim Hyslop
Mark D. Baushke wrote:
Hi Jim,
Okay. Thanks for the clue. I have committed the patch given after my
.signature in hopes that it will be closer.
I think your patch still had some problems. I believe you need to quote
file names that contain a - character, the dep file for dup-safer
needed to make note of a few other files and the libcvs.mak needed to
learn how to build both dup-safer.obj as well as fd-safer.obj
Well, it did compile OK without the quoting, on my machine. Quoting 
certainly can't hurt, though.

--
Jim

___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


Re: Build CVS (TRUNK) failed.

2005-05-06 Thread Mark D. Baushke
Hi Folks,

   link.exe @C:\DOCUME~1\djones\LOCALS~1\Temp\nma01632.
libdiff.lib(save-cwd.obj) : error LNK2001: unresolved external symbol _fd_safer
.\WinRel\cvs.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x19'
Stop.

I suspect that something like the following patch is needed, but I don't
actually have any Windows box or development environment to test it.

-- Mark

Index: libcvs.dep
===
RCS file: /cvs/ccvs/lib/libcvs.dep,v
retrieving revision 1.19
diff -u -p -r1.19 libcvs.dep
--- libcvs.dep  8 Mar 2005 05:16:29 -   1.19
+++ libcvs.dep  6 May 2005 07:15:21 -
@@ -40,6 +40,14 @@
.\exitfail.h\

 
+.\fd-safer.c : \
+   ..\windows-NT\config.h\
+   ..\windows-NT\stdbool.h\
+   ..\windows-NT\unistd.h\
+   .\unistd-safer.h\
+   .\error.h\
+   
+
 .\fncase.c : \
..\windows-NT\config.h\
..\windows-NT\ndir.h\
Index: libcvs.dsp
===
RCS file: /cvs/ccvs/lib/libcvs.dsp,v
retrieving revision 1.20
diff -u -p -r1.20 libcvs.dsp
--- libcvs.dsp  8 Mar 2005 05:16:29 -   1.20
+++ libcvs.dsp  6 May 2005 07:15:21 -
@@ -109,6 +109,10 @@ SOURCE=.\exitfail.c
 # End Source File
 # Begin Source File
 
+SOURCE=.\fd-safer.c
+# End Source File
+# Begin Source File
+
 SOURCE=.\fncase.c
 # End Source File
 # Begin Source File
Index: libcvs.mak
===
RCS file: /cvs/ccvs/lib/libcvs.mak,v
retrieving revision 1.21
diff -u -p -r1.21 libcvs.mak
--- libcvs.mak  8 Mar 2005 05:16:29 -   1.21
+++ libcvs.mak  6 May 2005 07:15:21 -
@@ -46,6 +46,7 @@ CLEAN :
[EMAIL PROTECTED] $(INTDIR)\closeout.obj
[EMAIL PROTECTED] $(INTDIR)\dirname.obj
[EMAIL PROTECTED] $(INTDIR)\exitfail.obj
+   [EMAIL PROTECTED] $(INTDIR)\fd-safer.obj
[EMAIL PROTECTED] $(INTDIR)\fncase.obj
[EMAIL PROTECTED] $(INTDIR)\fnmatch.obj
[EMAIL PROTECTED] $(INTDIR)\fseeko.obj
@@ -103,6 +104,7 @@ LIB32_OBJS= \
$(INTDIR)\dirname.obj \
$(INTDIR)\exitfail.obj \
$(INTDIR)\fncase.obj \
+   $(INTDIR)\fd-safer.obj \
$(INTDIR)\fnmatch.obj \
$(INTDIR)\fseeko.obj \
$(INTDIR)\ftello.obj \
@@ -163,6 +165,7 @@ CLEAN :
[EMAIL PROTECTED] $(INTDIR)\closeout.obj
[EMAIL PROTECTED] $(INTDIR)\dirname.obj
[EMAIL PROTECTED] $(INTDIR)\exitfail.obj
+   [EMAIL PROTECTED] $(INTDIR)\fd-safer.obj
[EMAIL PROTECTED] $(INTDIR)\fncase.obj
[EMAIL PROTECTED] $(INTDIR)\fnmatch.obj
[EMAIL PROTECTED] $(INTDIR)\fseeko.obj
@@ -217,6 +220,7 @@ LIB32_OBJS= \
$(INTDIR)\basename.obj \
$(INTDIR)\dirname.obj \
$(INTDIR)\exitfail.obj \
+   $(INTDIR)\fd-safer.obj \
$(INTDIR)\fncase.obj \
$(INTDIR)\fnmatch.obj \
$(INTDIR)\fseeko.obj \
@@ -333,6 +337,11 @@ SOURCE=.\exitfail.c
 $(INTDIR)\exitfail.obj : $(SOURCE) $(INTDIR)
 
 
+SOURCE=.\fd-safer.c
+
+$(INTDIR)\fd-safer.obj : $(SOURCE) $(INTDIR)
+
+
 SOURCE=.\fncase.c
 
 $(INTDIR)\fncase.obj : $(SOURCE) $(INTDIR)


___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs


Re: Build CVS (TRUNK) failed.

2005-05-06 Thread Jim Hyslop
Mark D. Baushke wrote:
Hi Folks,
I suspect that something like the following patch is needed, but I don't
actually have any Windows box or development environment to test it.
Almost there - you need to add dup-safer as well.  For some reason, if I 
added the SOURCE= section for dup-safer in libcvs.mak, nmake couldn't 
build it - I have no clue why.

ccvs\libnmake -f libcvs.mak
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
No configuration specified. Defaulting to libcvs - Win32 Debug.
NMAKE : fatal error U1073: don't know how to make '\'
Stop.
I could not get it to build. I even backed out all my changes, reverted 
to your patch and did a sed s/fd-safer/dup-safer/g and it *still* didn't 
build. Weird.

Anyway, here's a revised patch that compiles and links (I haven't tested 
it at all):

Index: lib/libcvs.dep
===
RCS file: /cvs/ccvs/lib/libcvs.dep,v
retrieving revision 1.19
diff -u -r1.19 libcvs.dep
--- lib/libcvs.dep  8 Mar 2005 05:16:29 -   1.19
+++ lib/libcvs.dep  6 May 2005 18:34:59 -
@@ -32,13 +32,23 @@
..\windows-NT\stdbool.h\
.\dirname.h\
.\xalloc.h\
-   
+
+.\dup-safer.c : \  
+   ..\windows-NT\config.h\
+   ..\windows-NT\stdbool.h
 .\exitfail.c : \
..\windows-NT\config.h\
.\exit.h\
.\exitfail.h\

+.\fd-safer.c : \
+   ..\windows-NT\config.h\
+   ..\windows-NT\stdbool.h\
+   ..\windows-NT\unistd.h\
+   .\unistd-safer.h\
+   .\error.h\
+   
 .\fncase.c : \
..\windows-NT\config.h\
Index: lib/libcvs.dsp
===
RCS file: /cvs/ccvs/lib/libcvs.dsp,v
retrieving revision 1.20
diff -u -r1.20 libcvs.dsp
--- lib/libcvs.dsp  8 Mar 2005 05:16:29 -   1.20
+++ lib/libcvs.dsp  6 May 2005 18:35:00 -
@@ -105,10 +105,18 @@
 # End Source File
 # Begin Source File
+SOURCE=.\dup-safer.c
+# End Source File
+# Begin Source File
+
 SOURCE=.\exitfail.c
 # End Source File
 # Begin Source File
+SOURCE=.\fd-safer.c
+# End Source File
+# Begin Source File
+
 SOURCE=.\fncase.c
 # End Source File
 # Begin Source File
Index: lib/libcvs.mak
===
RCS file: /cvs/ccvs/lib/libcvs.mak,v
retrieving revision 1.21
diff -u -r1.21 libcvs.mak
--- lib/libcvs.mak  8 Mar 2005 05:16:29 -   1.21
+++ lib/libcvs.mak  6 May 2005 18:35:01 -
@@ -45,7 +45,9 @@
[EMAIL PROTECTED] $(INTDIR)\basename.obj
[EMAIL PROTECTED] $(INTDIR)\closeout.obj
[EMAIL PROTECTED] $(INTDIR)\dirname.obj
+   [EMAIL PROTECTED] $(INTDIR)\dup-safer.obj
[EMAIL PROTECTED] $(INTDIR)\exitfail.obj
+   [EMAIL PROTECTED] $(INTDIR)\fd-safer.obj
[EMAIL PROTECTED] $(INTDIR)\fncase.obj
[EMAIL PROTECTED] $(INTDIR)\fnmatch.obj
[EMAIL PROTECTED] $(INTDIR)\fseeko.obj
@@ -101,8 +103,10 @@
$(INTDIR)\asnprintf.obj \
$(INTDIR)\basename.obj \
$(INTDIR)\dirname.obj \
+   $(INTDIR)\dup-safer.obj \
$(INTDIR)\exitfail.obj \
$(INTDIR)\fncase.obj \
+   $(INTDIR)\fd-safer.obj \
$(INTDIR)\fnmatch.obj \
$(INTDIR)\fseeko.obj \
$(INTDIR)\ftello.obj \
@@ -162,7 +166,9 @@
[EMAIL PROTECTED] $(INTDIR)\basename.obj
[EMAIL PROTECTED] $(INTDIR)\closeout.obj
[EMAIL PROTECTED] $(INTDIR)\dirname.obj
+   [EMAIL PROTECTED] $(INTDIR)\dup-safer.obj
[EMAIL PROTECTED] $(INTDIR)\exitfail.obj
+   [EMAIL PROTECTED] $(INTDIR)\fd-safer.obj
[EMAIL PROTECTED] $(INTDIR)\fncase.obj
[EMAIL PROTECTED] $(INTDIR)\fnmatch.obj
[EMAIL PROTECTED] $(INTDIR)\fseeko.obj
@@ -216,7 +222,9 @@
$(INTDIR)\asnprintf.obj \
$(INTDIR)\basename.obj \
$(INTDIR)\dirname.obj \
+   $(INTDIR)\dup-safer.obj \
$(INTDIR)\exitfail.obj \
+   $(INTDIR)\fd-safer.obj \
$(INTDIR)\fncase.obj \
$(INTDIR)\fnmatch.obj \
$(INTDIR)\fseeko.obj \
@@ -333,6 +341,11 @@
 $(INTDIR)\exitfail.obj : $(SOURCE) $(INTDIR)
+SOURCE=.\fd-safer.c
+
+$(INTDIR)\fd-safer.obj : $(SOURCE) $(INTDIR)
+
+
 SOURCE=.\fncase.c
 $(INTDIR)\fncase.obj : $(SOURCE) $(INTDIR)

--
Jim

___
Bug-cvs mailing list
Bug-cvs@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-cvs