I came across such a bug in 0.668: when I rename a directory (pointing at a new, existing directory in system directory tree browsing window) that has subdirectories in my queue, the subdirectories' names are incorporated into filenames, instead of the subdirectories' structure being reconstructed under a new location in the queue. Simply - backslash between subdirectories' names is lost.
For example: If I have in my queue "d:\somedir\subdir\file.zip", there exists a directory "d:\anotherdir" and I want to move the whole directory "d:\somedir" to "d:\anotherdir", then I'll get in DC++ 0.668's queue
- "d:\anotherdir\subdirfile.zip" (and other files, if there were any), instead of which should be:
- "d:\anotherdir\subdir\file.zip" (note the backslash).
The fix is a small file, I've sent it to Bugzilla: http://dcplusplus.sourceforge.net/cgi-b ... cgi?id=411. The patched DC++ 0.668 was tested with success on 2 sample queues.
invalid directory structure in queue after moving a dir
Moderator: Moderators
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37
Seems to be related to this bug: http://dcplusplus.sourceforge.net/cgi-b ... g.cgi?id=9
Are you able to reproduce that one? Does you patch cover it as well?
Are you able to reproduce that one? Does you patch cover it as well?
-
- Forum Moderator
- Posts: 1420
- Joined: 2003-04-22 14:37