Re: DAR's filename length limitation on Windows

Denis Corbin <[email protected]> Tue, 14 Mar 2006 19:50:10 +0100
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
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.

> 
> I think it is possible to hide platform dependant parts
> by introducing platform-independant layers.

Yes, it should be possible.

> 
> 
> Masaru
> 

Regards,
Denis.
signature.asc (application/pgp-signature, 252 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEFxBqpC5CI8gYGlIRAtQzAKDAritZqDL7c6KP/F23JACHVdZ8HQCgvm+R
fYi4NFUPQjY4QA1oIpzvf+E=
=P/JK
-----END PGP SIGNATURE-----