[FTBFS] open() needs mode if O_CREAT to be build in GCC 4.4

Bug #495004 reported by Alfonso Cepeda
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
udftools (Debian)
Fix Released
Unknown
udftools (Ubuntu)
Fix Released
Undecided
Morten Kjeldgaard

Bug Description

Binary package hint: udftools

Binary package hint: udftools/pktsetup/pktsetup.c

Line 90 shows:

if ((pkt_fd = open(pkt_device, O_RDONLY | O_CREAT)) == -1) {

 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:

if ((pkt_fd = open(pkt_device, O_RDONLY | O_CREAT, S_IRUSR|S_IWUSR)) == -1) {

the program compiles.

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

debfile

Changed in udftools (Debian):
status: Unknown → New
Morten Kjeldgaard (mok0)
Changed in udftools (Ubuntu):
assignee: nobody → Morten Kjeldgaard (mok0)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package udftools - 1.0.0b3-14ubuntu1

---------------
udftools (1.0.0b3-14ubuntu1) lucid; urgency=low

  * [FTBFS] open() needs mode if O_CREAT in pktsetup.c to be build
    in GCC 4.4 (LP: #495004)
 -- Alfonso Cepeda Caballos <email address hidden> Thu, 10 Dec 2009 12:08:47 +0000

Changed in udftools (Ubuntu):
status: In Progress → Fix Released
Changed in udftools (Debian):
status: New → Fix Committed
Changed in udftools (Debian):
status: Fix Committed → 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.