Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 232079

Summary: app-editors/nano-2.1.1-r2 - open with O_CREAT in second argument needs 3 arguments in nano
Product: Gentoo Linux Reporter: Magnus Granberg <zorry>
Component: [OLD] GCC PortingAssignee: SpanKY <vapier>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 259417    
Attachments: Patch to fix O_CREAT in nano

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