From owner-freebsd-hackers Fri Jun 4 12: 1:26 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from alice.gba.oz.au (gba-254.tmx.com.au [203.9.155.254]) by hub.freebsd.org (Postfix) with SMTP id 211BB15122 for ; Fri, 4 Jun 1999 12:01:13 -0700 (PDT) (envelope-from gjb@acm.org) Received: (qmail 25083 invoked by uid 1001); 4 Jun 1999 09:18:57 -0000 Message-ID: <19990604091857.25082.qmail@alice.gba.oz.au> X-Posted-By: GBA-Post 1.03 20-Sep-1998 X-PGP-Fingerprint: 5A91 6942 8CEA 9DAB B95B C249 1CE1 493B 2B5A CE30 Date: Fri, 04 Jun 1999 19:18:56 +1000 From: Greg Black To: "David E. Cross" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: 3.2-stable, panic #12 References: <199906031735.NAA37037@cs.rpi.edu> In-reply-to: <199906031735.NAA37037@cs.rpi.edu> of Thu, 03 Jun 1999 13:35:19 -0400 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "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 -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message