coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-9.0.193-54bec on Solaris 11.4


From: Pádraig Brady
Subject: Re: coreutils-9.0.193-54bec on Solaris 11.4
Date: Wed, 13 Apr 2022 17:38:50 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:97.0) Gecko/20100101 Thunderbird/97.0

On 11/04/2022 02:44, Bruno Haible wrote:
Pádraig Brady wrote:
FAIL: tests/tail-2/pipe-f
=========================

The following might help here:

diff --git a/src/tail.c b/src/tail.c
index f1b741783..a28fa61da 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -356,7 +356,7 @@ check_output_alive (void)
        event immediately) or if using inotify (which relies on 'poll'
        anyway).  Otherwise, use 'select' as it's more portable;
        'poll' doesn't work for this application on macOS.  */
-#if defined _AIX || HAVE_INOTIFY
+#if defined _AIX || defined __sun || HAVE_INOTIFY
     struct pollfd pfd;
     pfd.fd = STDOUT_FILENO;
     pfd.events = POLLERR;

I tried this change, together with an analogous change in line 58
(otherwise it would not compile). It does not fix the test failure;
new test-suite.log is attached.

The attached fixes this issue in my testing.

thanks,
Pádraig

Attachment: tail-f-pipe-solaris.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]