[syslinux] CONFIG and appended directory; current directory

Gene Cumm gene.cumm at gmail.com
Sun Sep 19 10:23:34 PDT 2010


On Wed, Sep 15, 2010 at 02:23, Gene Cumm <gene.cumm at gmail.com> wrote:
> I've been testing the CONFIG directive and config.c32 module and I've
> found a possible issue.  It seems to ignore the directory of "/" but
> can otherwise go up and down a directory tree perfectly.  Executing
> COM32 chdir("/") does seem to work.

Appending "/" as the target directory for config.c32 or CONFIG calls
pm_is_config_file().  In pm_is_config_file(),  before mangle_name(),
*p == "/ ".  mangle_name() changes "/ " to "", hence the issue.

I'm going to try to look at this this afternoon.

-- 
-Gene




More information about the Syslinux mailing list