bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Unable to build HEAD on Solaris 9 & 10


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] Unable to build HEAD on Solaris 9 & 10
Date: Fri, 11 Jul 2014 08:11:13 +0300

Hi Tom,

Thanks for your report.

> checkpoint.c:146:18: error: storage size of 'ws' isn't known
>    struct winsize ws;
[..]
> ld: fatal: Symbol referencing errors. No output written to tar

I fixed both in the repository.

> The testsuite cannot be built on Solaris 9:
>   CC       ttyemu.o
> ttyemu.c: In function 'main':
> ttyemu.c:352:17: error: 'TIOCSCTTY' undeclared (first use in this function)
>        ioctl (0, TIOCSCTTY, 1);
>                  ^

Please try the attached patch.

>  25: terminal input                                  FAILED (iotty.at:29)
>  87: incremental dump when the parent directory is unreadable FAILED
> (listed03.at:27)

Please send me the testsuite.log file.

Regards,
Sergey

diff --git a/tests/ttyemu.c b/tests/ttyemu.c
index 9137290..fc4508f 100644
--- a/tests/ttyemu.c
+++ b/tests/ttyemu.c
@@ -349,8 +349,9 @@ main (int argc, char **argv)
        close (i);

       setsid ();
+#ifdef TIOCSCTTY
       ioctl (0, TIOCSCTTY, 1);
-
+#endif
       execvp (argv[0], argv);
       perror (argv[0]);
       _exit (EX_EXEC);

reply via email to

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