From 248c87f2ed7f3daaec3d8fef53ee4bb02c1bb837 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 27 Nov 2015 15:34:19 +0100 Subject: add patch series --- .../translators-list0003-add-iteration.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 debian/patches/translators-list0003-add-iteration.patch (limited to 'debian/patches/translators-list0003-add-iteration.patch') diff --git a/debian/patches/translators-list0003-add-iteration.patch b/debian/patches/translators-list0003-add-iteration.patch new file mode 100644 index 00000000..85146235 --- /dev/null +++ b/debian/patches/translators-list0003-add-iteration.patch @@ -0,0 +1,28 @@ +From e770feb26418adca826fe5740c9bf83ca329b036 Mon Sep 17 00:00:00 2001 +From: Justus Winter <4winter@informatik.uni-hamburg.de> +Date: Fri, 20 Nov 2015 12:47:06 +0100 +Subject: [PATCH hurd 3/3] add iteration + +--- + libfshelp/translator-list.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + +diff --git a/libfshelp/translator-list.c b/libfshelp/translator-list.c +index d1bf13e..1a01218 100644 +--- a/libfshelp/translator-list.c ++++ b/libfshelp/translator-list.c +@@ -236,3 +236,11 @@ fshelp_get_active_translators (char **translators, + pthread_mutex_unlock (&translator_ihash_lock); + return err; + } ++ ++/* For each active node, call FUN. The node is to be locked around the call ++ to FUN. If FUN returns non-zero for any node, then immediately stop, and ++ return that value. */ ++error_t __attribute__ ((weak)) ++fshelp_iterate_active_translators (error_t (*fun)(struct node *)) ++{ ++} +-- +2.1.4 + -- cgit v1.2.3