13 lines
550 B
Plaintext
13 lines
550 B
Plaintext
|
$OpenBSD: patch-import_ioaux_c,v 1.1.1.1 2004/06/18 18:56:43 sturm Exp $
|
||
|
--- import/ioaux.c.orig 2003-12-20 03:48:54.000000000 -0800
|
||
|
+++ import/ioaux.c 2004-04-28 10:26:58.000000000 -0700
|
||
|
@@ -234,7 +234,7 @@ int probe_path(char *name)
|
||
|
|
||
|
// treat block device as absolute directory path
|
||
|
if(S_ISBLK(fbuf.st_mode)
|
||
|
-#ifdef __APPLE__ // accessing through the raw device (/dev/rdiskX)
|
||
|
+#if defined(__APPLE__) || defined(__OpenBSD__) // accessing through the raw device (/dev/rdiskX)
|
||
|
|| S_ISCHR(fbuf.st_mode)
|
||
|
#endif
|
||
|
)
|