From c5c8157b7def596bdf786d3c4de6537c62e30a97 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Tue, 24 Nov 2015 01:34:02 +0100 Subject: add patch series --- .../translators-list0005-add-iteration.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 debian/patches/translators-list0005-add-iteration.patch (limited to 'debian/patches/translators-list0005-add-iteration.patch') diff --git a/debian/patches/translators-list0005-add-iteration.patch b/debian/patches/translators-list0005-add-iteration.patch new file mode 100644 index 00000000..b43c8d40 --- /dev/null +++ b/debian/patches/translators-list0005-add-iteration.patch @@ -0,0 +1,28 @@ +From 6a8f2f282679a41d56aac7775b0ecd6cc434a565 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 5/5] 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 fa754ae..5c137d7 100644 +--- a/libfshelp/translator-list.c ++++ b/libfshelp/translator-list.c +@@ -235,3 +235,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