[FTBFS] open() needs mode in qfits_memory.c to compile in GCC 4.4
Bug #495422 reported by
Alfonso Cepeda
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qfits (Debian) |
Fix Released
|
Unknown
|
|||
qfits (Ubuntu) |
Fix Released
|
Undecided
|
Morten Kjeldgaard |
Bug Description
Binary package hint: qfits
Line 311 of qfits_memory.c has:
swapfd = open(fname, O_RDWR | O_CREAT);
but when O_CREAT parameter exists, the function needs the mode (rights) of the created file.
This prevents package to be built
If this line is changed by:
swapfd = open(fname, O_RDWR | O_CREAT, S_IRUSR|S_IWUSR);
the program compiles.
Related branches
Changed in qfits (Debian): | |
status: | Unknown → New |
Changed in qfits (Ubuntu): | |
assignee: | nobody → Morten Kjeldgaard (mok0) |
Changed in qfits (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
debdiff