[Pkg-e-commits] [SCM] Enlightenment 17 branch, upstream-vcs, updated. a8698069ec4eec9c2a189198fa5eec9854b168ac

raster raster at alioth.debian.org
Sun May 4 21:40:14 UTC 2008


The following commit has been merged in the upstream-vcs branch:
commit 22d23e0390b0dc46ac48cb5c3594fa6e0f645b67
Author: raster <raster>
Date:   Tue Apr 15 15:20:59 2008 +0000

    fix batget infinie spin

diff --git a/src/modules/battery/batget.c b/src/modules/battery/batget.c
index 1256989..800d373 100644
--- a/src/modules/battery/batget.c
+++ b/src/modules/battery/batget.c
@@ -462,8 +462,9 @@ linux_sys_class_power_supply_cb_event_fd_active(void *data, Ecore_Fd_Handler *fd
 			  (errno == EBADF) ||
 			  (errno == EPIPE) ||
 			  (errno == EINVAL) ||
-			  (errno == ENOSPC));
-		  if (num == 0) break;
+			  (errno == ENOSPC) ||
+			  (errno == ENODEV));
+		  if (num <= 0) break;
 	       }
 	  }
 	if (lost)

-- 
Enlightenment 17



More information about the Pkg-e-commits mailing list