[syslinux] "UI" keyword, pc_default and getline

H. Peter Anvin hpa at zytor.com
Sat Jan 31 14:55:43 PST 2009


Sebastian Herbszt wrote:
> There is a problem with "pc_default" if the following is present in the config file (line order does matter):
> 
> UI gfxboot.com init
> DEFAULT memtest
> 
> "pc_default" is called on the "DEFAULT" keyword, but "getline" is skipped, so the code now tries to
> parse the keywords parameter. The config line should be skipped in this case.
> 
> This could be fixed by converting "skipline" to a function and calling it from "pc_default".
> 

Thanks!

This patch didn't apply for me so I rewrote it, but the idea is the same.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.




More information about the Syslinux mailing list