[OctDev] Patch to fix compilation with CFLAG -Werror=format-security
John W. Eaton
jwe at octave.org
Mon Feb 16 00:42:25 CST 2009
On 16-Feb-2009, Søren Hauberg wrote:
| søn, 15 02 2009 kl. 21:33 +0000, skrev Frederik Himpe:
| > Mandriva is now using the CFLAGS -Werror=format-security by default. To
| > compile octave 3.0.3, I had to apply this patch:
| >
| > http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/octave/current/SOURCES/octave-3.0.3-string-format.patch?view=co
| >
| > Could you review it and apply it?
|
| I guess the patch looks fine. I'm sending this to 'bug at octave.org' as
| the patch is to Octave and not Octave-Forge.
I checked in a similar change, but used fputs instead of fprintf.
Thanks,
jwe
More information about the Bug-octave
mailing list