mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-24 04:02:06 +03:00
* main.c (copy_other_pathname): Trailing slash in not always
inserted when it should be.
This commit is contained in:
parent
3ba2ed6891
commit
e65f371486
@ -1,3 +1,8 @@
|
||||
2003-09-29 Koblinger Egmont <egmont@uhulinux.hu>
|
||||
|
||||
* main.c (copy_other_pathname): Trailing slash in not always
|
||||
inserted when it should be.
|
||||
|
||||
2003-09-29 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* find.c (do_search): Use strncpy() instead if unsafe strcpy().
|
||||
|
@ -1136,7 +1136,7 @@ copy_other_pathname (void)
|
||||
return;
|
||||
|
||||
command_insert (cmdline, opanel->cwd, 0);
|
||||
if (cpanel->cwd[strlen (opanel->cwd) - 1] != PATH_SEP)
|
||||
if (opanel->cwd[strlen (opanel->cwd) - 1] != PATH_SEP)
|
||||
command_insert (cmdline, PATH_SEP_STR, 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user