Author: dmeyer
Date: Fri Oct  6 19:38:24 2006
New Revision: 1913

Modified:
   trunk/base/src/extensions/inotify/inotify.c

Log:
use perror to show the problem

Modified: trunk/base/src/extensions/inotify/inotify.c
==============================================================================
--- trunk/base/src/extensions/inotify/inotify.c (original)
+++ trunk/base/src/extensions/inotify/inotify.c Fri Oct  6 19:38:24 2006
@@ -42,6 +42,8 @@
 PyObject *init(PyObject *self, PyObject *args)
 {
     int fd = inotify_init();
+    if (fd == -1)
+       perror("inotify_init");
     return Py_BuildValue("l", fd);
 }
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to