Re: 3.2-stable, panic #12

[ Available lists | Index of freebsd-hackers | Month of Jun 1999 | Week of 4 Jun 1999 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Greg Black <gjb@acm.org>
Date
4 Jun 1999 12:01:26
Subject
Re: 3.2-stable, panic #12
Message-ID
19990604091857.25082.qmail@alice.gba.oz.au

References to

[ Hide this part ]
"David E. Cross" writes:

> fd=open(argv[1], O_CREAT, 600);

Since this opens the file so that it cannot be written to, not
to mention the really weird mode it will get if it's created by
that open(), the rest of the thing doesn't deserve to work.

Generally speaking, it's a good idea to make sure that test code
is at least decent before starting to puzzle over what it does.

--
Greg Black -- <gjb@acm.org>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Elapsed time: 0.108 seconds