|
Message-ID: <CAKHv7phEN2Tg87WjTZ8uUJagKD+6N8VtuNzkvT-UYZxas=3AqQ@mail.gmail.com>
Date: Fri, 21 Jun 2013 11:19:01 +0200
From: Paul Schutte <sjpschutte@...il.com>
To: musl@...ts.openwall.com
Subject: Fix for tcsh
Good day,
I just want to know what would be right approach to fixing the compile
error in tcsh.
I use the source code at ftp://ftp.astron.com/pub/tcsh/tcsh-6.18.01.tar.gz
I get the following error:
gcc -c -g -O2 -I. -I. -D_PATH_TCSHELL='"/usr/local/bin/tcsh"' sh.proc.c
sh.proc.c: In function 'pchild':
sh.proc.c:155:16: error: storage size of 'w' isn't known
make: *** [sh.proc.o] Error 1
Those lines are:
#ifdef BSDWAIT
union wait w;
#else /* !BSDWAIT */
int w;
#endif /* !BSDWAIT */
If I just use
//#ifdef BSDWAIT
// union wait w;
//#else /* !BSDWAIT */
int w;
//#endif /* !BSDWAIT */
it compiles and works (for months now without an issue).
My question really is what should the proper "ifdef" be if I want to send
the fix to the tcsh maintainers ?
Regards
Paul
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.