[Bug 492996] [NEW] [FTBFS] open() needs mode if O_CREAT in main.c
Alfonso Cepeda
cepeda at gmail.com
Sun Dec 6 00:04:39 UTC 2009
Public bug reported:
Binary package hint: gems
Line 200 of main.c has:
if ((fd = open(name, O_CREAT | O_EXCL | O_RDWR)) == -1)
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:
if ((fd = open(name, O_CREAT | O_EXCL | O_RDWR, 0600)) == -1)
the program compiles.
** Affects: gems (Ubuntu)
Importance: Undecided
Status: New
** Tags: ftbfs
--
[FTBFS] open() needs mode if O_CREAT in main.c
https://bugs.launchpad.net/bugs/492996
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