Bug#1294: umask strangeness
When you call open(name, O_RDWR|O_CREAT ..., it expects a third argument which
is the mode to create the file with. The compiler won't complain if you don't
supply that third argument, because there are legitimate ways to call open()
without it. Could it be that third argument isn't there?
-- Attention Ham Radio Operators: For information on "Linux for Hams", read
-- the World Wide Web page http://www.hams.com/LinuxForHams, or e-mail to
-- email@example.com .