GNOME Bugzilla – Bug 556849
s-t-b fails to build due to O_CREATE needing 3 args
Last modified: 2009-02-24 23:33:33 UTC
system-tools-backends-2.5.6 gcc version 4.3.2 main.c: In function ‘daemonize’: main.c:53: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result In function ‘open’, inlined from ‘daemonize’ at main.c:50, inlined from ‘main’ at main.c:101: /usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments make[2]: *** [main.o] Error 1 make[2]: Leaving directory `/home/jhbuild/checkout/gnome2/system-tools-backends-2.5.6/dispatcher' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/jhbuild/checkout/gnome2/system-tools-backends-2.5.6' make: *** [all] Error 2
Created attachment 120832 [details] [review] add args to O_CREATE
Carlos: ping
*** Bug 570151 has been marked as a duplicate of this bug. ***
bug 570151 has a different patch. the url is http://bugzilla.gnome.org/attachment.cgi?id=127729
Ah. g-s-t is unmaintained: http://blogs.gnome.org/carlosg/2008/02/01/two-new-children-in-cookieville/
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of 533624 ***