bug-bash
[Top][All Lists]
Advanced

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

issues compiling on a hitachi HI-UX/MPP


From: chutz
Subject: issues compiling on a hitachi HI-UX/MPP
Date: Thu, 10 Jul 2003 18:14:09 +0900 (JST)

Configuration Information [Automatically generated, do not change]:
Machine: hppa1.1
OS: hiuxwe2
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='hppa1.1' 
-DCONF_OSTYPE='hiuxwe2' -DCONF_MACHTYPE='hppa1.1-hitachi-hiuxwe2' 
-DCONF_VENDOR='hitachi' -DSHELL  -DHAVE_CONFIG_H  -I.  -I. -I./include -I./lib  
-g
uname output: HI-UX/MPP step 03-07 0 SR8000
Machine Type: hppa1.1-hitachi-hiuxwe2

Bash Version: 2.05b
Patch Level: 0
Release Status: release

Description:
        compile time errors occur on the machine in question 
(hppa1.1-hitachi-hiuxwe2)

Repeat-By:
        cd bash-2.05b
        ./configure
        make

Fix:
        apply the following patch:

diff -ur bash-2.05b/jobs.c bash-2.05b-new/jobs.c
--- bash-2.05b/jobs.c   Fri May 10 00:56:20 2002
+++ bash-2.05b-new/jobs.c       Thu Jul 10 12:57:46 2003
@@ -127,6 +127,8 @@
 /* Some systems let waitpid(2) tell callers about stopped children. */
 #if !defined (WCONTINUED)
 #  define WCONTINUED 0
+#endif
+#if !defined (WIFCONTINUED)
 #  define WIFCONTINUED(s)      (0)
 #endif
 
diff -ur bash-2.05b/lib/malloc/malloc.c bash-2.05b-new/lib/malloc/malloc.c
--- bash-2.05b/lib/malloc/malloc.c      Sat Jun 22 04:16:49 2002
+++ bash-2.05b-new/lib/malloc/malloc.c  Thu Jul 10 12:01:25 2003
@@ -236,7 +236,7 @@
        8192UL, 16384UL, 32768UL, 65536UL, 131072UL, 262144UL, 524288UL,
        1048576UL, 2097152UL, 4194304UL, 8388608UL, 16777216UL, 33554432UL,
        67108864UL, 134217728UL, 268435456UL, 536870912UL, 1073741824UL,
-       2147483648UL, 4294967296UL-1
+       2147483648UL, 4294967295
 };
 
 /* binsizes[x] == (1 << ((x) + 3)) */
@@ -901,6 +901,7 @@
   if (_malloc_nwatch > 0)
     _malloc_ckwatch (mem, file, line, W_FREE, ubytes);
 #endif
+ 1;
 }
 
 static PTR_T




reply via email to

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