Change Directory Error(2)

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
ksworks
Posts: 2
Joined: 29 Jul 2007, 08:17

Change Directory Error(2)

Post by ksworks »

I got 'Change Directory Error: (2) No such file or directory"
in case of directory traversing.

1) Current dirname contain '\\' code(backslash).
2) Move to parent directory.
3) *ERROR OCCURS*

Perhaps... in Japanese, we use multibyte characters
contains '\\' code in NON SEPARATOR CHARACTER.
Attachments
this is error image (In Japanese).
this is error image (In Japanese).
dirs.jpg (66.17 KiB) Viewed 4191 times
ksworks
Posts: 2
Joined: 29 Jul 2007, 08:17

I guess

Post by ksworks »

In 'Move to parent' case, Slamander search-backward to '\\' code.
and remove '\\', and set directory to removed path...

so, I wrote a sample code.
one of this (test1) is a problem,
and another (test2) is NO problem.

May you review my code?
And I hope you to correct the problem.

Regards.
Attachments
dirs.zip
Sample code
(727 Bytes) Downloaded 435 times
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5231
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Post by Jan Rysavy »

The problem is in Unicode encoding. It is not supported in Altap Salamander 2.5. We plan it for version 3.0.
Post Reply