Re: [PATCH] concat_dir_and_file() needs fixes
- From: Leonard den Ottolander <leonard den ottolander nl>
- To: MC development <mc-devel gnome org>
- Subject: Re: [PATCH] concat_dir_and_file() needs fixes
- Date: Fri, 02 Dec 2005 23:03:44 +0100
Hi Jindrich,
On Fri, 2005-12-02 at 19:11 +0100, Jindrich Novy wrote:
> I thought that it would be less PITA to make concat_dir_and_file less
> stupid than fixing the strings in edit.h:
As Roland points out one should not concatenate 2 absolute paths.
> /* File names */
> #define EDIT_DIR PATH_SEP_STR ".mc" PATH_SEP_STR "cedit"
So indeed the correct fix is to remove PATH_SEP_STR from the front of
this string. EDIT_DIR is a relative path, not absolute.
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]