[syslinux] [bug] Syslinux-5.11-pre2: IPAPPEND/SYSAPPEND inconsistent base

Gene Cumm gene.cumm at gmail.com
Sun Jun 23 20:06:26 PDT 2013


core and the simple menu do not interpret the IPAPPEND/SYSAPPEND
directives in the same way.  Which is the proper way?  Either way,
this should be clarified in the documentation.

com32/elflink/ldlinux/readconfig.c:
        } else if ((ep = looking_at(p, "ipappend")) ||
                (ep = looking_at(p, "sysappend"))) {
            uint32_t s = strtoul(skipspace(ep), NULL, 16);
            if (ld.label)
                ld.ipappend = s;
            else
                SysAppends = s;

com32/menu/readconfig.c
        } else if ((ep = looking_at(p, "ipappend")) || (ep =
looking_at(p, "sysappend"))) {
            if (ld.label)
                ld.ipappend = atoi(skipspace(ep));
            else
                ipappend = atoi(skipspace(ep));

--
-Gene


More information about the Syslinux mailing list