[syslinux] boot... round 2, pronounce || as or
Geert Stappers
stappers at stappers.nl
Wed Jul 1 11:52:06 PDT 2015
On Wed, Jul 01, 2015 at 10:35:51AM +0200, poma via Syslinux wrote:
> --- a/com32/elflink/ldlinux/readconfig.c
> +++ b/com32/elflink/ldlinux/readconfig.c
> @@ -330,7 +330,7 @@ static char *copy_sysappend_string(char *dst, const char *src)
> char c;
>
> while ((c = *src++)) {
> - if (c <= ' ' || c == '\x7f') {
> + if (c <= ' ' && c == '\x7f') {
> if (!was_space)
> *dst++ = '_';
> was_space = true;
c <= ' ' and c == '\x7f'
will never be true
c <= ' ' or c == '\x7f'
c <= ' ' || c == '\x7f'
might be true
More information about the Syslinux
mailing list