[brasero] When writing to a pipe, set the pipe as non blocking



commit 88c0761ac41a198ee508d3f5ce7b498d8ff3e705
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Wed Sep 9 16:04:58 2009 +0200

    When writing to a pipe, set the pipe as non blocking

 plugins/libburnia/burn-libisofs.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/libburnia/burn-libisofs.c b/plugins/libburnia/burn-libisofs.c
index a5c7c29..66af1c2 100644
--- a/plugins/libburnia/burn-libisofs.c
+++ b/plugins/libburnia/burn-libisofs.c
@@ -182,6 +182,8 @@ brasero_libisofs_write_image_to_fd_thread (BraseroLibisofs *self)
 
 	priv = BRASERO_LIBISOFS_PRIVATE (self);
 
+	brasero_job_set_nonblocking_fd (BRASERO_JOB (self), NULL);
+
 	brasero_job_set_current_action (BRASERO_JOB (self),
 					BRASERO_BURN_ACTION_CREATING_IMAGE,
 					NULL,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]