[rhel6-branch] Skip comments in dmidecode output (#1064701)

David Shea dshea at redhat.com
Wed Feb 19 19:20:22 UTC 2014


On 02/19/2014 02:13 PM, Brian C. Lane wrote:
> -        extraHeaders = realloc(extraHeaders, (len+1)*sizeof(char *));
> +        /* Trim off any trailing newlines or spaces */
> +        for (p=sn+strlen(sn); p != sn && !isspace(*p); p--);
> +        *p = '\0';

Extra semicolon at the end of the "for"


More information about the anaconda-patches mailing list