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

Wesley Leggette <[email protected]> Tue, 14 Mar 2006 15:05:12 -0600
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <1142370312.28768.3.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.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642