diff --recursive -u bash-2.05b.orig/builtins/printf.def bash-2.05b/builtins/printf.def --- bash-2.05b.orig/builtins/printf.def 2002-05-13 20:36:04.000000000 +0200 +++ bash-2.05b/builtins/printf.def 2002-08-20 12:06:10.000000000 +0200 @@ -814,6 +814,17 @@ floatmax_t ret; char *ep; +#ifdef HPUX + /* The HP-UX strtold() function is from pre-C99 times (HP-UX 11.0 + has been released in 1997. HP cannot change the function's + signature within a major release to avoid problems with existing + applications. So we need a workaround. */ + union { + long_double l_d; + long double ld; + } u; +#endif + if (garglist == 0) return (0); @@ -821,7 +832,12 @@ return asciicode (); errno = 0; +#ifdef HPUX + u.l_d = strtofltmax (garglist->word->word, &ep); + ret = u.ld; +#else ret = strtofltmax (garglist->word->word, &ep); +#endif if (*ep) { diff --recursive -u bash-2.05b.orig/lib/malloc/malloc.c bash-2.05b/lib/malloc/malloc.c --- bash-2.05b.orig/lib/malloc/malloc.c 2002-06-21 21:16:49.000000000 +0200 +++ bash-2.05b/lib/malloc/malloc.c 2002-08-19 16:15:29.000000000 +0200 @@ -901,6 +901,8 @@ if (_malloc_nwatch > 0) _malloc_ckwatch (mem, file, line, W_FREE, ubytes); #endif + + return; } static PTR_T