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

--- Comment #7 from Leon V. <le...@vaultnow.com> 2011-04-20 23:34:44 UTC ---
I decided to "hack" at this some more.  I downloaded the source code for 3.0.8
and compiled it, and began to run GDB.  Not sure if this will help, but the
call to util.c change_dir() with cygdrive/G (G: is the exposed shadow for C:) 
yeilds some strange behavior that is beyond my expertise.

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".

While in this section of code (util.c), I cannot get the variable len to print:
    1011            if (len == 1 && *dir == '.')
    (gdb) print len
    No symbol "len" in current context.

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

Hoping this will help...

Leon

-- 
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