GNU nano - Bugs: bug #23827, Compilation fails with...
You are not allowed to post comments on this tracker with your current authentication level.
bug #23827: Compilation fails with -D_FORTIFY_SOURCE=2
Submitter: | Jordi Mallach <jordi> | ||
Submitted: | Sat 12 Jul 2008 02:00:39 PM UTC | ||
Severity: | 4 - Important | Status: | Fixed |
Assigned to: | astyanax | Open/Closed: | Closed |
Mon 25 Aug 2008 02:41:17 AM UTC, comment #3: |
Chris Allegretta <astyanax> |
Sun 17 Aug 2008 05:00:21 PM UTC, comment #2: Well the Gentoo folks reported this too so clearly I'm the odd man out here :) Fixed in r4306 in trunk and r4307 in 2.0 branch. |
Chris Allegretta <astyanax> |
Sun 13 Jul 2008 03:29:30 PM UTC, comment #1: Jordi Im having trouble reproducing this. Even after updating my Ubuntu Hardy system and adding -D_FORTIFY_SOURCE=2 I do see the warnings about ignoring return values, but not the fatal errors about not calling open with the 3rd arg. I do agree that we should add those flags since according to the man page they shoudl really be specified, I'm curious why I dont get those errors; it it specific to a certain version of GCC or libc? |
Chris Allegretta <astyanax> |
Sat 12 Jul 2008 02:00:39 PM UTC, original submission:
Ubuntu has switched their default CPP flags to include -D_FORTIFY_SOURCE=2, which breaks nano in a pair of uses of open():
|
Jordi Mallach <jordi> |
Depends on the following items: None found
Items that depend on this one: None found
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-08-25 | astyanax | Open/Closed | Open | Closed | |
2008-08-17 | astyanax | Severity | 3 - Normal | 4 - Important | |
Status | None | Fixed | |||
2008-07-13 | astyanax | Assigned to | None | astyanax | |
2008-07-12 | jordi | Attached File | - | Added open_flags.patch, #16109 |
Powered by Savane 3.13-caa5.
Corresponding source code
Closing as 2.0.8 was released today which contains this fix.