Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 1999 19:18:56 +1000
From:      Greg Black <gjb@acm.org>
To:        "David E. Cross" <crossd@cs.rpi.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: 3.2-stable, panic #12 
Message-ID:  <19990604091857.25082.qmail@alice.gba.oz.au>
In-Reply-To: <199906031735.NAA37037@cs.rpi.edu>  of Thu, 03 Jun 1999 13:35:19 -0400
References:  <199906031735.NAA37037@cs.rpi.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990604091857.25082.qmail>