diff options
Diffstat (limited to 'sysutils/brasero')
-rw-r--r-- | sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c b/sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c index fe31c298c..848148295 100644 --- a/sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c +++ b/sysutils/brasero/files/patch-libbrasero-media_scsi-cam.c @@ -1,12 +1,25 @@ ---- libbrasero-media/scsi-cam.c.orig 2009-10-08 22:34:11.000000000 -0400 -+++ libbrasero-media/scsi-cam.c 2009-10-08 22:35:09.000000000 -0400 -@@ -193,6 +193,9 @@ brasero_device_handle_open (const gchar +--- libbrasero-media/scsi-cam.c.orig 2009-09-25 10:39:03.000000000 -0400 ++++ libbrasero-media/scsi-cam.c 2009-10-09 00:06:22.000000000 -0400 +@@ -184,6 +184,8 @@ brasero_device_handle_open (const gchar + handle->fd = fd; + } + else { ++ int serrno; ++ + if (code) { + if (errno == EAGAIN + || errno == EWOULDBLOCK +@@ -193,6 +195,13 @@ brasero_device_handle_open (const gchar *code = BRASERO_SCSI_ERRNO; } ++ serrno = errno; ++ + if (fd > -1) + close (fd); + ++ errno = serrno; ++ return NULL; } |