Date: Wed, 13 Nov 2002 14:31:08 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 21050 for review Message-ID: <200211132231.gADMV8il075176@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21050 Change 21050 by peter@peter_daintree on 2002/11/13 14:31:02 revert. The O_EXCL stuff should be fixed in geom by now. Affected files ... .. //depot/projects/ia64/sbin/gpt/gpt.c#14 edit Differences ... ==== //depot/projects/ia64/sbin/gpt/gpt.c#14 (text+ko) ==== @@ -271,7 +271,7 @@ return (-1); found: - fd = open(device_name, (readonly) ? O_RDONLY : O_RDWR); + fd = open(device_name, (readonly) ? O_RDONLY : O_RDWR|O_EXCL); if (fd == -1) return (-1); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211132231.gADMV8il075176>