brasero r1778 - in trunk: . libbrasero-media
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r1778 - in trunk: . libbrasero-media
- Date: Sun, 18 Jan 2009 07:43:20 +0000 (UTC)
Author: philippr
Date: Sun Jan 18 07:43:20 2009
New Revision: 1778
URL: http://svn.gnome.org/viewvc/brasero?rev=1778&view=rev
Log:
2009-01-18 Philippe Rouquier <ykw localhost localdomain>
Some fixes for FreeBSD backend
Patch by Joe Marcus Clarke
* libbrasero-media/scsi-cam.c (brasero_device_handle_open):
Modified:
trunk/ChangeLog
trunk/libbrasero-media/scsi-cam.c
Modified: trunk/libbrasero-media/scsi-cam.c
==============================================================================
--- trunk/libbrasero-media/scsi-cam.c (original)
+++ trunk/libbrasero-media/scsi-cam.c Sun Jan 18 07:43:20 2009
@@ -73,7 +73,7 @@
#define BRASERO_SCSI_CMD_OPCODE_OFF 0
#define BRASERO_SCSI_CMD_SET_OPCODE(command) (command->cmd [BRASERO_SCSI_CMD_OPCODE_OFF] = command->info->opcode)
-#define OPEN_FLAGS O_RDWR /*|O_EXCL */|O_NONBLOCK
+#define OPEN_FLAGS O_RDONLY /*|O_EXCL */|O_NONBLOCK
BraseroScsiResult
brasero_scsi_command_issue_sync (gpointer command,
@@ -169,8 +169,8 @@
g_assert (path != NULL);
- if (exclusive)
- flags |= O_EXCL;
+/* if (exclusive)
+ flags |= O_EXCL;*/
/* cam_open_device() fails unless we use O_RDWR */
cam = cam_open_device (path, O_RDWR);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]