https://bugzilla.samba.org/show_bug.cgi?id=6116

--- Comment #8 from Matt McCutchen <m...@mattmccutchen.net> 2011-04-21 00:56:47 
UTC ---
(In reply to comment #7)
> The global variable curr_dir starts out correctly containing
> "/cygdrive/c/Downloads/rsync308" but when the call to 
> change_dir(cygdir/g) is made, it has been trashed by a NULL character and
> contains "/\000ygdrive/c/Downloads/rsync308".

In other words, the null-terminated string "/".  I would imagine that is
intentional.

> When the call to chdir(curr_dir) is made, the curr_dir variable contains
>      "//cygdrive/g\000ownloads/rsync308"  (note the double forward slash)

A double slash is a UNC path on Windows, so that would explain the error. 
(That sloppiness would go unpunished on Linux.)  The question is where the
double slash is coming from.

-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to