[metacity] Throw away result of write(); it's not important
- From: Thomas James Alexander Thurman <tthurman src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [metacity] Throw away result of write(); it's not important
- Date: Tue, 5 Jan 2010 20:44:08 +0000 (UTC)
commit 575f5204618acae7380305f35290f09ef1f8ac9f
Author: Thomas Thurman <tthurman gnome org>
Date: Tue Jan 5 15:44:01 2010 -0500
Throw away result of write(); it's not important
src/core/main.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/core/main.c b/src/core/main.c
index 8ef856e..e7256c9 100644
--- a/src/core/main.c
+++ b/src/core/main.c
@@ -377,7 +377,9 @@ sigterm_handler (int signum)
{
if (sigterm_pipe_fds[1] >= 0)
{
- write (sigterm_pipe_fds[1], "", 1);
+ int dummy;
+
+ dummy = write (sigterm_pipe_fds[1], "", 1);
close (sigterm_pipe_fds[1]);
sigterm_pipe_fds[1] = -1;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]