gnome-keyring r1295 - in trunk: . common
- From: nnielsen svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-keyring r1295 - in trunk: . common
- Date: Wed, 3 Sep 2008 15:36:48 +0000 (UTC)
Author: nnielsen
Date: Wed Sep 3 15:36:47 2008
New Revision: 1295
URL: http://svn.gnome.org/viewvc/gnome-keyring?rev=1295&view=rev
Log:
* common/gkr-wakeup.c: Build fix for strange gcc warning.
Modified:
trunk/ChangeLog
trunk/common/gkr-wakeup.c
Modified: trunk/common/gkr-wakeup.c
==============================================================================
--- trunk/common/gkr-wakeup.c (original)
+++ trunk/common/gkr-wakeup.c Wed Sep 3 15:36:47 2008
@@ -84,13 +84,15 @@
{
#define SIG_MSG "couldn't write signal byte to pipe\n"
guchar x = 0xAA;
+ int res;
if (wakeup_fds[1] < 0)
return;
/* Could be called from a signal handler, so try to not use library functions */
if (write (wakeup_fds[1], &x, 1) != 1)
- write (2, SIG_MSG, strlen (SIG_MSG) - 1);
+ res = write (2, SIG_MSG, strlen (SIG_MSG) - 1);
+
}
void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]