[Bug 495422] [NEW] [FTBFS] open() needs mode in qfits_memory.c to compile in GCC 4.4

Alfonso Cepeda cepeda at gmail.com
Fri Dec 11 10:41:11 UTC 2009


Public bug reported:

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.

** Affects: qfits (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs

-- 
 [FTBFS] open() needs mode in qfits_memory.c to compile in GCC 4.4
https://bugs.launchpad.net/bugs/495422
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list