Re: [PATCH] concat_dir_and_file() needs fixes



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]