gnome-main-menu r411 - trunk/libslab
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-main-menu r411 - trunk/libslab
- Date: Sat, 5 Apr 2008 00:39:45 +0100 (BST)
Author: federico
Date: Sat Apr 5 00:39:44 2008
New Revision: 411
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=411&view=rev
Log:
Ahem, deal with the result of stat() correctly
Signed-off-by: Federico Mena Quintero <federico gnu org>
Modified:
trunk/libslab/libslab-utils.c
Modified: trunk/libslab/libslab-utils.c
==============================================================================
--- trunk/libslab/libslab-utils.c (original)
+++ trunk/libslab/libslab-utils.c Sat Apr 5 00:39:44 2008
@@ -590,7 +590,7 @@
result = stat (filename, &st);
g_free (filename);
- if (!result)
+ if (result != 0)
return;
t = time (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]