Bug#844038: ocamlnet: FTBFS on hurd-i386: PATH_MAX

2016-11-20 Thread Samuel Thibault
Hello, Agreed, here is a fixed patch. Samuel --- ./src/netsys/netsys_c.c.original2016-11-20 18:55:38.789583992 +0100 +++ ./src/netsys/netsys_c.c 2016-11-20 19:00:46.708028548 +0100 @@ -607,12 +607,34 @@ CAMLprim value netsys_readlinkat(value dirfd, value path) { #ifdef HAVE_AT - char

Bug#844038: ocamlnet: FTBFS on hurd-i386: PATH_MAX

2016-11-15 Thread Stéphane Glondu
On 15/11/2016 10:46, Stéphane Glondu wrote: The attached patch avoids using by by just reading the symlink length, and adjusting the size in case the symlink length increased in between through really bad concurrency luck. Sorry, I should have really tested it, here is a fixed patch. + if

Bug#844038: ocamlnet: FTBFS on hurd-i386: PATH_MAX

2016-11-15 Thread Stéphane Glondu
On 14/11/2016 21:47, Samuel Thibault wrote: The attached patch avoids using by by just reading the symlink length, and adjusting the size in case the symlink length increased in between through really bad concurrency luck. Sorry, I should have really tested it, here is a fixed patch. + if

Bug#844038: ocamlnet: FTBFS on hurd-i386: PATH_MAX

2016-11-14 Thread Samuel Thibault
Hello, Samuel Thibault, on Sat 12 Nov 2016 00:34:48 +0100, wrote: > The attached patch avoids using by by just reading the symlink > length, and adjusting the size in case the symlink length increased in > between through really bad concurrency luck. Sorry, I should have really tested it, here

Bug#844038: ocamlnet: FTBFS on hurd-i386: PATH_MAX

2016-11-11 Thread Samuel Thibault
Source: ocamlnet Version: 4.1.2-1 Severity: important Tags: upstream patch User: debian-h...@lists.debian.org Usertags: hurd Hello, ocamlnet currently FTBFS on hurd-i386 due to an inconditional usage of PATH_MAX, which is not defined there since there is no such arbitrary limit. The attached