^X^P sometimes doesn't put trailing slash (fwd)



Hi,

This mail, sent a month ago, somehow got forgotten.
Please fix this bug...



---------- Forwarded message ----------
Date: Sat, 23 Aug 2003 23:57:08 +0200 (CEST)
From: Koblinger Egmont <egmont uhulinux hu>
To: mc-devel gnome org
Subject: ^X^P sometimes doesn't put trailing slash

Hi,

^X^P doesn't put a trailing slash under certain circumstances, e.g. if
you're in /tmp/asdf/x while the other panel is /tmp/foo/x.

The bug is in main.c copy_other_pathname():

    command_insert (cmdline, opanel->cwd, 0);
    if (cpanel->cwd[strlen (opanel->cwd) - 1] != PATH_SEP)
        ^^^^^^
        command_insert (cmdline, PATH_SEP_STR, 0);


that one should be opanel, too.




bye,
Egmont

_______________________________________________
Mc-devel mailing list
Mc-devel gnome org
http://mail.gnome.org/mailman/listinfo/mc-devel




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]