ref: 5262add4fd5fa180629ec7ac8e775336182fa247
parent: 75999adf10f6c02fa7ccb0646671e13316e8b49b
author: Jon Lech Johansen <[email protected]>
date: Wed Nov 13 17:45:05 EST 2002
* ./src/ioctl.c: cosmetic fixes. * ./AUTHORS: updated my entry.
--- a/AUTHORS
+++ b/AUTHORS
@@ -33,6 +33,7 @@
E: [email protected]
C: jlj
D: Win32 port
+D: Fixes to the Darwin port
N: Markus Kuespert
E: [email protected]
--- a/src/ioctl.c
+++ b/src/ioctl.c
@@ -2,7 +2,7 @@
* ioctl.c: DVD ioctl replacement function
*****************************************************************************
* Copyright (C) 1999-2001 VideoLAN
- * $Id: ioctl.c,v 1.16 2002/10/29 18:51:37 gbazin Exp $
+ * $Id: ioctl.c,v 1.17 2002/11/13 22:45:05 jlj Exp $
*
* Authors: Markus Kuespert <[email protected]>
* Samuel Hocevar <[email protected]>
@@ -277,8 +277,10 @@
i_ret = 0;
}
else
+ {
*pi_copyright = ((key->KeyFlags & DVD_SECTOR_PROTECT_MASK) ==
DVD_SECTOR_PROTECTED) ? 0 : 1;
+ }
}
}
else
@@ -1584,10 +1586,6 @@
*p_mask = auth_info.lrpcs.region_mask;
*p_scheme = auth_info.lrpcs.rpc_scheme;
-#elif defined( HAVE_LINUX_DVD_STRUCT )
- /* FIXME: OpenBSD doesn't know this */
- i_ret = -1;
-
#elif defined( HAVE_BSD_DVD_STRUCT )
struct dvd_authinfo auth_info;
@@ -1892,10 +1890,10 @@
#if defined( __QNXNTO__ )
/*****************************************************************************
- * QNXInitCPT: initialize a ssc structure for the win32 aspi layer
+ * QNXInitCPT: initialize a CPT structure for QNX Neutrino
*****************************************************************************
- * This function initializes a ssc raw device command structure for future
- * use, either a read command or a write command.
+ * This function initializes a cpt command structure for future use,
+ * either a read command or a write command.
*****************************************************************************/
static void QNXInitCPT( CAM_PASS_THRU * p_cpt, int i_type )
{