[FTBFS] open() needs mode if O_CREAT in utility_funcs for GCC 4.4

Bug #493019 reported by Alfonso Cepeda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
g15daemon (Debian)
Fix Released
Unknown
g15daemon (Ubuntu)
Fix Released
Undecided
Andrew Starr-Bochicchio

Bug Description

Binary package hint: g15daemon

Line 359 shows:

config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC);

 when O_CREAT parameter exists, the function needs the mode (rights) of the created file in GCC4.4.

This prevents package to be built

If this line is changed by:

config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC, 0644);

the program compiles.

Tags: ftbfs

Related branches

Revision history for this message
Alfonso Cepeda (cepeda) wrote :

debfile

submitted to debian

Changed in g15daemon (Debian):
status: Unknown → New
Changed in g15daemon (Ubuntu):
status: New → In Progress
assignee: nobody → Andrew Starr-Bochicchio (andrewsomething)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package g15daemon - 1.9.5.3-7ubuntu1

---------------
g15daemon (1.9.5.3-7ubuntu1) lucid; urgency=low

  * [FTBFS] open() needs mode if O_CREAT in utility_funcs.c
    for GCC 4.4 (LP: #493019)
 -- Alfonso Cepeda Caballos <email address hidden> Sun, 06 Dec 2009 01:24:45 +0000

Changed in g15daemon (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

Uploaded. Thanks for you contribution, and thanks for sending the patch to Debian!

Changed in g15daemon (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.