Date: Sun, 4 Nov 2001 21:54:57 -0800 (PST) From: Paul Eggert <eggert@twinsun.com> To: naddy@FreeBSD.ORG Cc: bug-tar@gnu.org, freebsd-bugs@FreeBSD.ORG, netbsd-bugs@NetBSD.ORG Subject: Re: gtar 1.13.25 configure fails on FreeBSD/NetBSD due to sh bug Message-ID: <200111050554.fA55svl17021@sic.twinsun.com> In-Reply-To: <20011105013348.A74836@kemoauc.mips.inka.de> (naddy@freebsd.org) References: <20011105013348.A74836@kemoauc.mips.inka.de>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: Christian Weisgerber <naddy@freebsd.org> > Date: Mon, 5 Nov 2001 01:33:48 +0100 > > test $jm_cv_func_decl_free != yes > > cat >>confdefs.h <<EOF > #define HAVE_DECL_FREE $? > EOF > > FreeBSD's /bin/sh resets $? when it starts evaluating the redirections, > so the symbol is always defined to 0 regardless of the previous > test result. That probably qualifies as a shell bug, It sure does. I'll CC: this message to freebsd-bugs and netbsd-bugs to let them know about the bug. Thanks for the bug report. I'll install a workaround in the next test version of GNU tar. > Other shells derived from 4.4BSD sh, notably NetBSD's /bin/sh, also > suffer from this. I tested GNU tar with OpenBSD 2.9, which does not have the bug. If it matters, its /bin/sh is PD KSH v5.2.14 99/07/13.2. (I don't have a FreeBSD or NetBSD system handy.) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111050554.fA55svl17021>