Re: Re: DAR's filename length limitation on Windows

Wesley Leggette <lists-+42/j/[email protected]> Tue, 14 Mar 2006 15:05:46 -0600
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <1142370346.28766.5.camel@localhost>
On Tue, 2006-03-14 at 19:50 +0100, Denis Corbin wrote:
> Masaru Tsuchiyama wrote:
> > Hi!
> 
> Hello,
> 
> > 
> > I'm using DAR on Windows. But I'm facing a problem.
> > 
> > DAR on Windows can't treat files whose filename are longer 
> > than 260 charactors. This is because dar is based on cygwin.
> > 
> > Cygwin has limitation of a filename length.
> > http://www.cygwin.com/ml/cygwin/2005-04/msg00395.html
> > 
> > What part of DAR is relying on Cygwin? Unix System Call?
> 
> Of course yes, there is the Unix system calls, but also some standard C 
> library functions (printf, ...) as well as some standard C++ library 
> templates (list, vector, map, ...), theses should be available in 
> Windows I guess.
> 
> I have never tried to compile dar with a C++ compiler under Windows, I 
> thus I have no real idea of what is necessary to modify to complete such 
> an hypothetic compilation, there may stay other things to adapt over 
> what have been listed above.

Last year I was working on a win32 port of dar. It is a lot of work, but
it is possible. It's rather invasive though. Masaru, if you are
interested, I can give show you the work I did. 

Wesley



> 
> > 
> > I think it is possible to hide platform dependant parts
> > by introducing platform-independant layers.
> 
> Yes, it should be possible.
> 
> > 
> > 
> > Masaru
> > 
> 
> Regards,
> Denis.
-- 
Wesley Leggette <lists-+42/j/[email protected]>

GPG Key:         http://www.kaylix.net/kaylix.asc or http://pgp.mit.edu
GPG Fingerprint: 9B6F 19FB 5296 5E6C 21FE  7614 2A20 5688 F848 9BDD
signature.asc (application/pgp-signature, 191 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQBEFzAqKiBWiPhIm90RAsBoAJ4mEOCaqq/WlhZRLHnVRVAX2oGUlwCfTdAe
Ucpxpysf0xn6L3tfxDQETeA=
=N3+7
-----END PGP SIGNATURE-----