5.003_11 on UnixWare 2.1.1 - Only one small UnixWare buglet
authorAlan Burlison <aburlison@cix.compulink.co.uk>
Wed, 11 Dec 1996 05:34:00 +0000 (18:34 +1300)
committerChip Salzenberg <chip@atlantic.net>
Thu, 19 Dec 1996 04:44:00 +0000 (16:44 +1200)
I have just got around to building 5.003_11 on UnixWare2.1.1,
and I am glad to say that apart from one minor quirk, all the
tests pass OK.  The problem is related to a bug in the UW csh,
specifically the glob() builtin which has a bug.  Changing
config.sh to make d_csh='undef' results in a 100% clean build
and test.

The following small patch to patches/svr4.sh will work around
this automatically until SCO fix the problem.

Alan Burlison
aburlison@cix.compulink.co.uk

p5p-msgid: <memo.453720@cix.compulink.co.uk>

hints/svr4.sh

index 5569274..c91e13e 100644 (file)
@@ -32,6 +32,15 @@ usevfork='false'
 # other SVR4 derivatives.
 d_lstat=define
 
+# UnixWare has a broken csh.  The undocumented -X argument to uname is probably
+# a reasonable way of detecting UnixWare
+uw_ver=`uname -v`
+uw_isuw=`uname -X 2>&1 | grep Release`
+if [ "$uw_isuw" = "Release = 4.2MP" -a \
+     \( "$uw_ver" = "2.1" -o "$uw_ver" = "2.1.1" \) ]; then
+   d_csh='undef'
+fi
+
 cat <<'EOM' >&4
 
 If you wish to use dynamic linking, you must use