bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] compiling tar cvs using mingw


From: Gerry Reno
Subject: Re: [Bug-tar] compiling tar cvs using mingw
Date: Thu, 11 Sep 2003 10:28:19 -0700 (PDT)

Sergey,
  Ok, I will await the convenience lib.  I finally managed to hack it
into submission but the following changes would help:

lib/waitpid.c:
  add #include <sys/types.h>

lib/:
  add pwd.h and grp.h

src/buffer.c:
  adding the write_archive_buffer code that you sent.

src/system.h:
include the following line in MSDOS section after '# include <io.h>'
#define mkdir(file, mode) (mkdir) (file)


  Now there is a runtime issue when I try to create an archive:
D:\Temp>d:\cygwin\home\greno\dev\gnu\tar\src\tar -cvf
d:\temp\firstest1.tar test.*
d:\cygwin\home\greno\dev\gnu\tar\src\tar: d\:\\temp\\firstest1.tar:
Cannot open: Input/output error  (notice the d\: construct)

but if I shorten the archive name to 6 chars before the dot or less
then it works ok:
D:\Temp>d:\cygwin\home\greno\dev\gnu\tar\src\tar -cvf
d:\temp\ftest1.tar test.*
test.bat
test.bks
D:\Temp>

  Is there something magic about 6 chars before the dot?  Can you look
and see if this could be fixed?

thx,
Gerry Reno


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com




reply via email to

[Prev in Thread] Current Thread [Next in Thread]