Control: tags -1 - patch

Hello,

Arthur Marble, le Mon 02 Jun 2014 19:24:54 -0500, a écrit :
> diff -Naur litl.orig/litl-0.1.3+dfsg/debian/patches/clang-ftbfs.diff 
> litl/litl-0.1.3+dfsg/debian/patches/clang-ftbfs.diff 
> --- litl.orig/litl-0.1.3+dfsg/debian/patches/clang-ftbfs.diff 1969-12-31 
> 18:00:00.000000000 -0600
> +++ litl/litl-0.1.3+dfsg/debian/patches/clang-ftbfs.diff      2014-06-02 
> 19:20:03.401227135 -0500
> @@ -0,0 +1,27 @@
> +--- a/src/litl_write.c
> ++++ b/src/litl_write.c
> +@@ -79,6 +79,12 @@ static void __litl_write_init_var(litl_w
> +   pthread_key_create(&trace->index, NULL );
> + }
> + 
> ++// a jump function is needed 'cause it is not possible to pass args to
> ++//   the calling function through pthread_once

Well, please read the comment: the 'trace' parameter is not passed here:

> +   trace->index_once = (pthread_once_t) PTHREAD_ONCE_INIT;
> +   pthread_once(&trace->index_once, __init);

So it can not be done that way.

Samuel


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to