~ruther/guix-local

ref: e0ea3f8a0d63004f0be41c4643aabcefc67a2139 guix-local/gnu/packages/patches/gnunet-fix-scheduler.patch -rw-r--r-- 435 bytes
e0ea3f8a — Ludovic Courtès download: Append (effective-version) to '%load-path' for GnuTLS. 11 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: src/util/scheduler.c
===================================================================
--- src/util/scheduler.c	(revision 31745)
+++ src/util/scheduler.c	(working copy)
@@ -1599,7 +1599,7 @@
   int real_fd;
 
   GNUNET_DISK_internal_file_handle_ (fd, &real_fd, sizeof (int));
-  GNUNET_assert (real_fd > 0);
+  GNUNET_assert (real_fd >= 0);
   return add_without_sets (
       delay, priority,
       on_read  ? real_fd : -1,