Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232079 - app-editors/nano-2.1.1-r2 - open with O_CREAT in second argument needs 3 arguments in nano
Summary: app-editors/nano-2.1.1-r2 - open with O_CREAT in second argument needs 3 argu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: fortify-source
  Show dependency tree
 
Reported: 2008-07-17 15:07 UTC by Magnus Granberg
Modified: 2009-02-17 21:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fix O_CREAT in nano (nano-open_missing_mode.patch,811 bytes, patch)
2008-07-17 15:09 UTC, Magnus Granberg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Granberg gentoo-dev 2008-07-17 15:07:48 UTC
I funktion "open",
    inline:ad från "write_file" vid files.c:1575:
/usr/include/bits/fcntl2.h:51: fel: anrop av "__open_missing_mode" deklarerad med attributet error: open with O_CREAT in second argument needs 3 arguments
I funktion "open",
    inline:ad från "write_file" vid files.c:1694:
/usr/include/bits/fcntl2.h:51: fel: anrop av "__open_missing_mode" deklarerad med attributet error: open with O_CREAT in second argument needs 3 arguments
make[2]: *** [files.o] Fel 1
make[2]: *** Inväntar oavslutade jobb...
mv -f .deps/prompt.Tpo .deps/prompt.Po
mv -f .deps/nano.Tpo .deps/nano.Po
make[2]: Leaving directory `/var/tmp/portage/app-editors/nano-2.1.2-r1/work/nano-2.1.2/src'
make[1]: *** [all-recursive] Fel 1
make[1]: Leaving directory `/var/tmp/portage/app-editors/nano-2.1.2-r1/work/nano-2.1.2'
make: *** [all] Fel 2
nano-2.1.2-r1 compile on gcc 4.3.1 whit fortify_sources=2
https://hardened.gentooexperimental.org/secure/ticket/29
Comment 1 Magnus Granberg gentoo-dev 2008-07-17 15:09:54 UTC
Created attachment 160643 [details, diff]
Patch to fix O_CREAT in nano
Comment 2 SpanKY gentoo-dev 2008-08-16 14:45:13 UTC
fixed with nano-2.1.4
Comment 3 Magnus Granberg gentoo-dev 2008-08-16 16:52:25 UTC
(In reply to comment #2)
> fixed with nano-2.1.4
> 
Thanx