Your message dated Sat, 10 Feb 2007 14:00:32 +0100
with message-id <[EMAIL PROTECTED]>
and subject line Bug#357900: gcc-4.0: Please detect and warn about 2 argument
mode() called with O_CREAT
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: gcc-4.0
Version: 4.0.3-1
Severity: wishlist
Tags: upstream
mode(2) reads:
mode must be specified when O_CREAT is in the flags, and is
ignored otherwise.
I straced the result of
open(buf, O_RDWR|O_CREAT|O_EXCL);
and the effective value of the third parameter was garbage (this open
was in a loop, and the third parameter was equal to my loop variable).
I wonder if gcc could detect this error.
--- End Message ---
--- Begin Message ---
tags 357900 + wontfix
thanks
> I doubt that would be something to be considerd. Would you mind
> forwarding that upstream?
no reaction; closing the report as wontfix.
--- End Message ---