Yes, of course. The following modification should be enough to solve the 
hanging issue:

--- uncompression.c.orig        2024-01-08 21:07:23.000000000 +0100
+++ uncompression.c     2024-01-08 21:07:52.000000000 +0100
@@ -1430,7 +1430,7 @@
                0
        };
        unsigned char buffer[4096] = {};
-       while ((e = poll(&pollfd, 1, 0)) > 0) {
+       while ((e = poll(&pollfd, 1, -1)) > 0) {
                e = read(file->fd, buffer, 4096);
                if (e <= 0)
                        break;

Regards,
Christoph

>-----Ursprüngliche Nachricht-----
>Von: Bastian Germann <b...@debian.org>
>Gesendet: Montag, 8. Januar 2024 19:49
>An: Fiehe, Christoph <c.fi...@eurodata.de>; 1056...@bugs.debian.org
>Betreff: Re: Bug#1056380: AW: Bug#1056380: Same issue under Ubuntu 22.04, 
>reprepro hangs
>on Ubuntu package, unzstd process waiting
>
>Hi Christoph,
>
>Would you please post your change proposals as patches or Merge Requests?
>That makes it much more easy to review.
>
>Thanks,
>Bastian

Reply via email to