im.pidgin.pidgin: 526d453afe108285316f3cf84553ca2b4214a0e7

key at rock.pidgin.im key at rock.pidgin.im
Tue Jun 29 21:15:44 EDT 2010


revision:            526d453afe108285316f3cf84553ca2b4214a0e7
date:                2010-06-30T01:12:54
author:              nosnilmot at pidgin.im
branch:              im.pidgin.pidgin
changelog:
Get rid of this warning:
gntdebug.c: In function ‘handle_fprintf_stderr’:
gntdebug.c:80: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result
I'm guessing this is the right fix.
Really I just needed to commit something so I can test commit email scripts

manifest:
format_version "1"

new_manifest [051c60988fe36b139d5368b527e49a4a82c1eada]

old_revision [251cd7ea49222f2421eea77fb9d80a7f72718690]

patch "finch/gntdebug.c"
 from [bf0c49257c1c4547e631862bdd482dee37bb54e8]
   to [70e9c4bdb7e91f043a8dd889d972c61e98cff8c7]
-------------- next part --------------
============================================================
--- finch/gntdebug.c	bf0c49257c1c4547e631862bdd482dee37bb54e8
+++ finch/gntdebug.c	70e9c4bdb7e91f043a8dd889d972c61e98cff8c7
@@ -77,7 +77,10 @@ handle_fprintf_stderr(gboolean stop)
 		}
 		return;
 	}
-	pipe(pipes);
+	if (pipe(pipes)) {
+		readhandle = -1;
+		return;
+	};
 	dup2(pipes[1], STDERR_FILENO);
 
 	stderrch = g_io_channel_unix_new(pipes[0]);


More information about the Commits mailing list