On Wed, 30 Oct 2002, Christopher Faylor wrote: > On Mon, Oct 28, 2002 at 04:37:49PM -0500, Igor Pechtchanski wrote: > >On Mon, 28 Oct 2002, Christopher Faylor wrote: > >> Maybe someone will be kind enough to tell me what this is in reference to. > > > >The -l option in the cygpath distributed with the cygwin package prints > >out garbage. The same cygpath compiled anew works. The problem is > >described (among other places) here: > >http://cygwin.com/ml/cygwin/2002-09/msg00749.html > > Thank you for the URL. > > I believe I've fixed the problem. It was due to the incorrect protyping > of GetLongPathName. The code in cygpath could use a good cleanup. I > did a little but there is still a number of stylistic problems. > > I'm generating a snapshot now. > > cgf
This fixed the problem: $ cygpath-old -w -l /cygdrive/c/WINNT/system32/drivers/etc/ 0?" $ cygpath -w -l /cygdrive/c/WINNT/system32/drivers/etc/ c:\WINNT\system32\drivers\etc\ $ Thanks, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ [EMAIL PROTECTED] ZZZzz /,`.-'`' -. ;-;;,_ [EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Water molecules expand as they grow warmer" (C) Popular Science, Oct'02, p.51