Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 19:52:33 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 17020 for review
Message-ID:  <200209040252.g842qX1J046634@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17020

Change 17020 by peter@peter_mckinley on 2002/09/03 19:51:57

	Work around GEOM/devfs/specfs/whatever bug.  Do not use
	O_EXCL as it leaks a permanent exclusive reference.

Affected files ...

.. //depot/projects/ia64/sbin/gpt/gpt.c#10 edit

Differences ...

==== //depot/projects/ia64/sbin/gpt/gpt.c#10 (text+ko) ====

@@ -285,7 +285,7 @@
 	return (-1);
 
  found:
-	fd = open(device_name, (readonly) ? O_RDONLY : O_RDWR|O_EXCL);
+	fd = open(device_name, (readonly) ? O_RDONLY : O_RDWR);
 	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?200209040252.g842qX1J046634>