https://bugzilla.novell.com/show_bug.cgi?id=431661
User matz@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=431661#c7
--- Comment #7 from Michael Matz 2008-10-08 06:12:06 MDT ---
The patch looks a bit fishy at first sight. E.g.:
+ if (!l || (c = TRM(*l)) != ' ' && c != '\t' && c != '\n')
+ break; /* strip blanks */
Are you sure about the precedence of '||' vs. '&&', that the above doesn't
mean "if ( (!l || c != ' ') && c != '\t' ...)" . I at least am always
confused by precedences and always write parentheses if in doubt :)
In any case, if a line starting with '\n' causes NULL in that array that
means that Strsave returns that NULL. So it would be interesting to see
its code. A testcase if the compiler really is at fault would also help,
or at least an indication if compiling with -O0 makes the error go away.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.