1 diff -rdup bash-3.2-p25/config.h.in bash-3.2/config.h.in
2 --- bash-3.2-p25/config.h.in 2007-10-15 20:08:58.000000000 +0200
3 +++ bash-3.2/config.h.in 2007-10-15 20:09:30.000000000 +0200
5 /* Define if you have the asprintf function. */
8 -/* Define if you have the bcopy function. */
11 -/* Define if you have the bzero function. */
14 /* Define if you have the confstr function. */
17 diff -rdup bash-3.2-p25/configure bash-3.2/configure
18 --- bash-3.2-p25/configure 2007-10-15 19:12:58.000000000 +0200
19 +++ bash-3.2/configure 2007-10-15 20:13:01.000000000 +0200
20 @@ -12382,7 +12382,7 @@ done
24 -for ac_func in bcopy bzero confstr fnmatch \
25 +for ac_func in confstr fnmatch \
26 getaddrinfo gethostbyname getservbyname getservent inet_aton \
27 memmove pathconf putenv raise regcomp regexec \
28 setenv setlinebuf setlocale setvbuf siginterrupt strchr \
29 diff -rdup bash-3.2-p25/configure.in bash-3.2/configure.in
30 --- bash-3.2-p25/configure.in 2007-10-15 20:08:58.000000000 +0200
31 +++ bash-3.2/configure.in 2007-10-15 20:12:07.000000000 +0200
32 @@ -702,7 +702,7 @@ AC_CHECK_FUNCS(dup2 eaccess fcntl getdta
33 AC_REPLACE_FUNCS(rename)
35 dnl checks for c library functions
36 -AC_CHECK_FUNCS(bcopy bzero confstr fnmatch \
37 +AC_CHECK_FUNCS(confstr fnmatch \
38 getaddrinfo gethostbyname getservbyname getservent inet_aton \
39 memmove pathconf putenv raise regcomp regexec \
40 setenv setlinebuf setlocale setvbuf siginterrupt strchr \
41 diff -rdup bash-3.2-p25/CWRU/misc/sigstat.c bash-3.2/CWRU/misc/sigstat.c
42 --- bash-3.2-p25/CWRU/misc/sigstat.c 2007-10-15 20:08:58.000000000 +0200
43 +++ bash-3.2/CWRU/misc/sigstat.c 2007-10-15 19:12:59.000000000 +0200
44 @@ -86,7 +86,7 @@ int sig;
48 - bzero(signames, sizeof(signames));
49 + memset(signames, 0, sizeof(signames));
51 #if defined (SIGHUP) /* hangup */
52 signames[SIGHUP] = "SIGHUP";
53 diff -rdup bash-3.2-p25/lib/glob/sm_loop.c bash-3.2/lib/glob/sm_loop.c
54 --- bash-3.2-p25/lib/glob/sm_loop.c 2006-02-27 23:18:43.000000000 +0100
55 +++ bash-3.2/lib/glob/sm_loop.c 2007-10-15 20:11:27.000000000 +0200
56 @@ -355,7 +355,7 @@ BRACKMATCH (p, test, flags)
60 - bcopy (p + 1, ccname, (close - p - 1) * sizeof (CHAR));
61 + memmove (ccname, p + 1, (close - p - 1) * sizeof (CHAR));
62 *(ccname + (close - p - 1)) = L('\0');
63 pc = IS_CCLASS (test, (XCHAR *)ccname);
65 diff -rdup bash-3.2-p25/lib/sh/oslib.c bash-3.2/lib/sh/oslib.c
66 --- bash-3.2-p25/lib/sh/oslib.c 2007-10-15 20:08:58.000000000 +0200
67 +++ bash-3.2/lib/sh/oslib.c 2007-10-15 20:10:34.000000000 +0200
68 @@ -157,36 +157,6 @@ getdtablesize ()
70 #endif /* !HAVE_GETDTABLESIZE */
72 -#if !defined (HAVE_BCOPY)
83 -#endif /* !HAVE_BCOPY */
85 -#if !defined (HAVE_BZERO)
97 - for (i = 0, r = s; i < n; i++)
102 #if !defined (HAVE_GETHOSTNAME)
103 # if defined (HAVE_UNAME)
104 # include <sys/utsname.h>