summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorwiz <wiz>2006-10-22 11:18:10 +0000
committerwiz <wiz>2006-10-22 11:18:10 +0000
commit1349620f52492ec34d44eef979a196db3c9c946a (patch)
tree69db51994fc1b5e3a01becf8ff8196fee41aed32 /shells
parent0ecb46082f777b7defec2c97eebdc5291fb19a6d (diff)
downloadpkgsrc-1349620f52492ec34d44eef979a196db3c9c946a.tar.gz
Update to 3.2:
This document details the changes between this version, bash-3.2-release, and the previous version, bash-3.2-beta. 1. Changes to Bash a. Fixed a bug that caused the temporary environment passed to a command to affect the shell's environment under certain circumstances. b. Fixed a bug in the printf builtin that caused the %q format specifier to ignore empty string arguments. c. Improved multibyte character environment detection at configuration time. d. Fixed a bug in the read builtin that left spurious escape characters in the input after processing backslashes when assigning to an array variable. 2. Changes to Readline a. Fixed a redisplay bug that occurred in multibyte-capable locales when the prompt was one character longer than the screen width. ------------------------------------------------------------------------------ This document details the changes between this version, bash-3.2-beta, and the previous version, bash-3.2-alpha. 1. Changes to Bash a. Changed the lexical analyzer to treat locale-specific blank characters as white space. b. Fixed a bug in command printing to avoid confusion between redirections and process substitution. c. Fixed problems with cross-compiling originating from inherited environment variables. d. Added write error reporting to printf builtin. e. Fixed a bug in the variable expansion code that could cause a core dump in a multi-byte locale. f. Fixed a bug that caused substring expansion of a null string to return incorrect results. g. BASH_COMMAND now retains its previous value while executing commands as the result of a trap, as the documentation states. 2. Changes to Readline a. Fixed a bug with prompt redisplay in a multi-byte locale to avoid redrawing the prompt and input line multiple times. b. Fixed history expansion to not be confused by here-string redirection. c. Readline no longer treats read errors by converting them to newlines, as it does with EOF. This caused partial lines to be returned from readline(). ------------------------------------------------------------------------------ This document details the changes between this version, bash-3.2-alpha, and the previous version, bash-3.1-release. 1. Changes to Bash a. Fixed a source bug that caused the minimal configuration to not compile. b. Fixed memory leaks in error handling for the `read' builtin. c. Changed the [[ and (( compound commands to set PIPESTATUS with their exit status. d. Fixed some parsing problems with compound array assignments. e. Added additional configuration changes for: NetBSD (incomplete multibyte character support) f. Fixed two bugs with local array variable creation when shadowing a variable of the same name from a previous context. g. Fixed the `read' builtin to restore the correct set of completion functions if a timeout occurs. h. Added code to defer the initialization of HISTSIZE (and its stifling of the history list) until the history file is loaded, allowing a startup file to override the default value. i. Tightened up the arithmetic expression parsing to produce better error messages when presented with invalid operators. j. Fixed the cross-compilation support to build the signal list at shell invocation rather than compile time if cross-compiling. k. Fixed multibyte support for non-gcc compilers (or compilers that do not allow automatic array variable sizing based on a non-constant value). l. Several fixes to the code that manages the list of terminated jobs and their exit statuses, and the list of active and recently-terminated jobs to avoid pid aliasing/wraparound and allocation errors. m. Fixed a problem that allowed scripts to die due to SIGINT while waiting for children, even when started in the background or otherwise ignoring SIGINT. n. Fixed a bug that caused shells invoked as -/bin/bash from not being recognized as login shells. o. Fixed a problem that caused shells in the background to give the terminal to a process group other than the foreground shell process group. p. Fixed a problem with extracting the `varname' in ${#varname}. q. Fixed the code that handles SIGQUIT to not exit immediately -- thereby calling functions that may not be called in a signal handler context -- but set a flag and exit afterward (like SIGINT). r. Changed the brace expansion code to skip over braces that don't begin a valid matched brace expansion construct. s. Fixed `typeset' and `declare' to not require that their shell function operands to be valid shell identifiers. t. Changed `test' to use access(2) with a temporary uid/euid swap when testing file attributes and running setuid, and access(2) in most other cases. u. Changed completion code to not attempt command name completion on a line consisting solely of whitespace when no_empty_command_completion is set. v. The `hash' builtin now prints nothing in posix mode when the hash table is empty, and prints a message to that effect to stdout instead of stderr when not in posix mode. w. Fixed a bug in the extended pattern matching code that caused it to fail to match periods with certain patterns. x. Fixed a bug that caused the shell to dump core when performing filename generation in directories with thousands of files. y. Returned to the original Bourne shell rules for parsing ``: no recursive parsing of embedded quoted strings or ${...} constructs. z. The inheritence of the DEBUG, RETURN, and ERR traps is now dependent only on the settings of the `functrace' and `errtrace' shell options, rather than whether or not the shell is in debugging mode. aa. Fixed a problem with $HOME being converted to ~ in the expansion of members of the DIRSTACK array. bb. Fixed a problem with quoted arguments to arithmetic expansions in certain constructs. cc. The command word completion code now no longer returns matching directories while searching $PATH. dd. Fixed a bug with zero-padding and precision handling in snprintf() replacement. ee. Fixed a bug that caused the command substitution code not to take embedded shell comments into account. ff. Fixed a bug that caused $((...);(...)) to be misinterpreted as an arithmetic substitution. gg. Fixed a bug in the prompt expansion code that inappropriately added a \001 before a \002 under certain circumstances. hh. Fixed a bug that caused `unset LANG' to not properly reset the locale (previous versions would set the locale back to what it was when bash was started rather than the system's "native" locale). ii. Fixed a bug that could cause file descriptors > 10 to not be closed even when closed explicitly by a script. jj. Fixed a bug that caused single quotes to be stripped from ANSI-C quoting inside double-quoted command substitutions. kk. Fixed a bug that could cause core dumps when `return' was executed as the last element of a pipeline inside a shell function. ll. Fixed a bug that caused DEBUG trap strings to overwrite commands stored in the jobs list. 2. Changes to Readline a. Fixed a problem that caused segmentation faults when using readline in callback mode and typing consecutive DEL characters on an empty line. b. Fixed several redisplay problems with multibyte characters, all having to do with the different code paths and variable meanings between single-byte and multibyte character redisplay. c. Fixed a problem with key sequence translation when presented with the sequence \M-\C-x. d. Fixed a problem that prevented the `a' command in vi mode from being undone and redone properly. e. Fixed a problem that prevented empty inserts in vi mode from being undone properly. f. Fixed a problem that caused readline to initialize with an incorrect idea of whether or not the terminal can autowrap. g. Fixed output of key bindings (like bash `bind -p') to honor the setting of convert-meta and use \e where appropriate. h. Changed the default filename completion function to call the filename dequoting function if the directory completion hook isn't set. This means that any directory completion hooks need to dequote the directory name, since application-specific hooks need to know how the word was quoted, even if no other changes are made. i. Fixed a bug with creating the prompt for a non-interactive search string when there are non-printing characters in the primary prompt. j. Fixed a bug that caused prompts with invisible characters to be redrawn multiple times in a multibyte locale. k. Fixed a bug that could cause the key sequence scanning code to return the wrong function. l. Fixed a problem with the callback interface that caused it to fail when using multi-character keyboard macros. m. Fixed a bug that could cause a core dump when an edited history entry was re-executed under certain conditions. n. Fixed a bug that caused readline to reference freed memory when attmpting to display a portion of the prompt. 3. New Features in Bash a. Changed the parameter pattern replacement functions to not anchor the pattern at the beginning of the string if doing global replacement - that combination doesn't make any sense. b. When running in `word expansion only' mode (--wordexp option), inhibit process substitution. c. Loadable builtins now work on MacOS X 10.[34]. d. Shells running in posix mode no longer set $HOME, as POSIX requires. e. The code that checks for binary files being executed as shell scripts now checks only for NUL rather than any non-printing character. f. Quoting the string argument to the [[ command's =~ operator now forces string matching, as with the other pattern-matching operators. 4. New Features in Readline a. Calling applications can now set the keyboard timeout to 0, allowing poll-like behavior. b. The value of SYS_INPUTRC (configurable at compilation time) is now used as the default last-ditch startup file. c. The history file reading functions now allow windows-like \r\n line terminators.
Diffstat (limited to 'shells')
-rw-r--r--shells/bash/Makefile23
-rw-r--r--shells/bash/distinfo70
-rw-r--r--shells/bash/patches/patch-aa13
-rw-r--r--shells/bash/patches/patch-ab13
-rw-r--r--shells/bash/patches/patch-ac21
-rw-r--r--shells/bash/patches/patch-ad14
-rw-r--r--shells/bash/patches/patch-ae79
-rw-r--r--shells/bash/patches/patch-af9
8 files changed, 19 insertions, 223 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index b0067091896..7a101e9b04e 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -1,17 +1,12 @@
-# $NetBSD: Makefile,v 1.29 2006/10/21 11:39:16 rillig Exp $
+# $NetBSD: Makefile,v 1.30 2006/10/22 11:18:10 wiz Exp $
-DISTNAME= bash-3.1
-PKGNAME= bash-3.1pl17
+DISTNAME= bash-3.2
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/} \
ftp://ftp.cwru.edu/pub/bash/
-PATCH_SITES= ${MASTER_SITES:=bash-3.1-patches/}
-PATCHFILES= bash31-001 bash31-002 bash31-003 bash31-004 \
- bash31-005 bash31-006 bash31-007 bash31-008 \
- bash31-009 bash31-010 bash31-011 bash31-012 \
- bash31-013 bash31-014 bash31-015 bash31-016 \
- bash31-017
+PATCH_SITES= ${MASTER_SITES:=bash-3.2-patches/}
+PATCHFILES= bash32-001
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/bash/bash.html
@@ -53,8 +48,7 @@ CONFIGURE_ARGS+= --enable-array-variables
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.bash
-PKG_SUPPORTED_OPTIONS= multibyte static
-PKG_SUGGESTED_OPTIONS= multibyte
+PKG_SUPPORTED_OPTIONS= static
.include "../../mk/bsd.options.mk"
@@ -67,13 +61,6 @@ BUILDLINK_DEPMETHOD.gettext= build
BUILDLINK_DEPMETHOD.readline= build
.endif
-##
-## Multibyte support
-##
-.if empty(PKG_OPTIONS:Mmultibyte)
-CONFIGURE_ENV+= ac_cv_type_wctype_t=no
-.endif
-
# the code has problems with older versions of yacc
.if !empty(LOWER_OPSYS:Mirix5*)
USE_TOOLS+= bison
diff --git a/shells/bash/distinfo b/shells/bash/distinfo
index 2a39556d8a7..306e0f71e42 100644
--- a/shells/bash/distinfo
+++ b/shells/bash/distinfo
@@ -1,63 +1,11 @@
-$NetBSD: distinfo,v 1.8 2006/09/03 08:30:42 wiz Exp $
+$NetBSD: distinfo,v 1.9 2006/10/22 11:18:10 wiz Exp $
-SHA1 (bash-3.1.tar.gz) = 766e3fd9384616d8a103f812f662fd8ec791c129
-RMD160 (bash-3.1.tar.gz) = cbeda56312b3f623684b2099b711bb7592e0eda1
-Size (bash-3.1.tar.gz) = 2533934 bytes
-SHA1 (bash31-001) = cea61aaea659ba8e5d7552204a2a497424deaf65
-RMD160 (bash31-001) = 0d071aeade45c1706f4061774bb486d9a2ba7dae
-Size (bash31-001) = 2708 bytes
-SHA1 (bash31-002) = a66b9ffb10d1fec8752353c851d9e3dc1ef7353a
-RMD160 (bash31-002) = 9b03b62c9eb1ba2a574467c6a2950b3b933794e1
-Size (bash31-002) = 7169 bytes
-SHA1 (bash31-003) = dc61c9dc01457c7742f429ed878fbba598b1b016
-RMD160 (bash31-003) = 1ee18374c2416407d1fa997ed99c5fc7f295cd62
-Size (bash31-003) = 1324 bytes
-SHA1 (bash31-004) = dcc8a188ee7b8d5cc668b8b6d9c6013e8ba7c76b
-RMD160 (bash31-004) = b8182116ca8efc0bec9054694cac54045245a704
-Size (bash31-004) = 1470 bytes
-SHA1 (bash31-005) = c9a29982618703765767e83d0c627cecde10203f
-RMD160 (bash31-005) = 3e2583ebf0e4fc546cdcf8ccf8b987a100f71a7e
-Size (bash31-005) = 1322 bytes
-SHA1 (bash31-006) = 19ca1806a739c58c680e795fb2c4dee9e0623a37
-RMD160 (bash31-006) = 608f650ef96c6f0e46395a21d9e30aba42fb33f9
-Size (bash31-006) = 1561 bytes
-SHA1 (bash31-007) = 897564cb062adacf9300ccc79006c3239993de22
-RMD160 (bash31-007) = ae865a7f4e0cbeb2022004d385c7c9d29dfe07a5
-Size (bash31-007) = 3254 bytes
-SHA1 (bash31-008) = 20479feb25533407b36ba13eed2421afa9b20e83
-RMD160 (bash31-008) = 9ec2f72649a1955593ab4ad98605ba323747367a
-Size (bash31-008) = 1422 bytes
-SHA1 (bash31-009) = 35d890067d85446b19892bae697695493c68eba5
-RMD160 (bash31-009) = 443ba0c4cbd81fe4a24d92f213a65c4dbf123053
-Size (bash31-009) = 2000 bytes
-SHA1 (bash31-010) = d6fc8724e5716a3e3b26aed51f9cc8b9d2425e4e
-RMD160 (bash31-010) = 9228d25e84180f576892ee6c9c3da8262e201269
-Size (bash31-010) = 5218 bytes
-SHA1 (bash31-011) = 2af832ae9fac9462c4029ee8f6893b6396ab8740
-RMD160 (bash31-011) = 1f35aeb50689b9ea1a8d393e34abbe1da241164a
-Size (bash31-011) = 1462 bytes
-SHA1 (bash31-012) = 253bda773a64334e9c64ab54b5ba4839ed8f9c29
-RMD160 (bash31-012) = 21892db3ca2441ebba7eabb269437024b37de0d1
-Size (bash31-012) = 1212 bytes
-SHA1 (bash31-013) = 0390c0a1529fdc40dbcba76d536440225d0232cd
-RMD160 (bash31-013) = da5aa550ac0f4a92346f846cd0e1d7290631f6a7
-Size (bash31-013) = 1133 bytes
-SHA1 (bash31-014) = b95c67171ec105cc39c9e136d3445f50f8f53622
-RMD160 (bash31-014) = d627b92e82e6c850b8f6abf2f6828b8120f1a695
-Size (bash31-014) = 2818 bytes
-SHA1 (bash31-015) = e22f2490d9403de0b28a295f4ac89554e55e901f
-RMD160 (bash31-015) = 1c2203711e26acf8f7e7bc51f05c2827b03f8eb9
-Size (bash31-015) = 3089 bytes
-SHA1 (bash31-016) = 7f4629b94464f53e98786e4a2d38f2b02566bb05
-RMD160 (bash31-016) = b474ec209cc59f8e9d2616eed9327c96cf3cc606
-Size (bash31-016) = 1295 bytes
-SHA1 (bash31-017) = 652a02f90011a167fec6e23a46bbdf9338bc9a7c
-RMD160 (bash31-017) = 838038cd5f70234504bb6d29741c48e15ca20d59
-Size (bash31-017) = 3640 bytes
-SHA1 (patch-aa) = 611f9c7e512c7fb80b088d58d6b3d91e18b06911
-SHA1 (patch-ab) = c08789555515fd4afb621cb564397ad6f1ec4dea
-SHA1 (patch-ac) = a7db1188d4986b87fb4bdf32da0f32513afa52de
-SHA1 (patch-ad) = d5224322e962e48ae29c71e1fd2d2616c60b7939
-SHA1 (patch-ae) = cdbdd0d04366f53b8efe40b3643dca4cc4d12b21
-SHA1 (patch-af) = 80372fe4ad53a20976bb8e40f2859b2c7c93d460
+SHA1 (bash-3.2.tar.gz) = fe6466c7ee98061e044dae0347ca5d1a8eab4a0d
+RMD160 (bash-3.2.tar.gz) = a73f790817d98be375a36def567737498e33aaf1
+Size (bash-3.2.tar.gz) = 2529838 bytes
+SHA1 (bash32-001) = cec2d4b62abf3361a22fb9a53242b8a27a38fe02
+RMD160 (bash32-001) = 633f6eb6b2b48345234c442b835abb94d10e0dad
+Size (bash32-001) = 1539 bytes
+SHA1 (patch-af) = d265d5ff8eae99b8334753ef7d9d9b95dd4b2380
SHA1 (patch-ag) = 4da0a43f6b890482affff46b18eef4be67770e48
+SHA1 (patch-ah) = 6f88b33d9b56fabd319fa23cd1ff41594a01045b
diff --git a/shells/bash/patches/patch-aa b/shells/bash/patches/patch-aa
deleted file mode 100644
index a2647c56e18..00000000000
--- a/shells/bash/patches/patch-aa
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2004/10/23 07:48:03 minskim Exp $
-
---- config-bot.h.orig 2004-03-19 16:56:23.000000000 -0600
-+++ config-bot.h
-@@ -141,7 +141,7 @@
-
- /* If we don't want multibyte chars even on a system that supports them, let
- the configuring user turn multibyte support off. */
--#if defined (NO_MULTIBYTE_SUPPORT)
-+#if defined (NO_MULTIBYTE_SUPPORT) || !defined(HAVE_WCTYPE_T)
- # undef HANDLE_MULTIBYTE
- #endif
-
diff --git a/shells/bash/patches/patch-ab b/shells/bash/patches/patch-ab
deleted file mode 100644
index 43706eccb94..00000000000
--- a/shells/bash/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2004/10/23 07:48:03 minskim Exp $
-
---- lib/readline/rlmbutil.h.orig 2003-05-13 08:38:37.000000000 -0500
-+++ lib/readline/rlmbutil.h
-@@ -43,7 +43,7 @@
-
- /* If we don't want multibyte chars even on a system that supports them, let
- the configuring user turn multibyte support off. */
--#if defined (NO_MULTIBYTE_SUPPORT)
-+#if defined (NO_MULTIBYTE_SUPPORT) || !defined(HAVE_WCTYPE_T)
- # undef HANDLE_MULTIBYTE
- #endif
-
diff --git a/shells/bash/patches/patch-ac b/shells/bash/patches/patch-ac
deleted file mode 100644
index 091dc75827b..00000000000
--- a/shells/bash/patches/patch-ac
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2005/12/31 00:02:28 wiz Exp $
-
---- configure.in.orig 2005-12-01 15:36:03.000000000 +0100
-+++ configure.in
-@@ -826,6 +826,16 @@ AC_CHECK_SIZEOF([long long], 8)
-
- AC_CHECK_TYPE(u_int, [unsigned int])
- AC_CHECK_TYPE(u_long, [unsigned long])
-+AC_CHECK_TYPE(wctype_t,
-+[ cat >>confdefs.h <<\_ACEOF
-+#define HAVE_WCTYPE_T 1
-+_ACEOF],,
-+[#ifdef HAVE_WCHAR_H
-+#include <wchar.h>
-+#endif
-+#ifdef HAVE_WCTYPE_H
-+#include <wctype.h>
-+#endif])
-
- BASH_TYPE_BITS16_T
- BASH_TYPE_U_BITS16_T
diff --git a/shells/bash/patches/patch-ad b/shells/bash/patches/patch-ad
deleted file mode 100644
index cfb4b5a2ade..00000000000
--- a/shells/bash/patches/patch-ad
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2005/12/31 00:02:28 wiz Exp $
-
---- config.h.in.orig 2005-09-05 04:35:50.000000000 +0200
-+++ config.h.in
-@@ -239,6 +239,9 @@
- /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
- #undef HAVE_ALLOCA_H
-
-+/* Define if you have wctype_t, as a type. */
-+#undef HAVE_WCTYPE_T
-+
-
- /* SYSTEM TYPES */
-
diff --git a/shells/bash/patches/patch-ae b/shells/bash/patches/patch-ae
deleted file mode 100644
index 223e19b68c8..00000000000
--- a/shells/bash/patches/patch-ae
+++ /dev/null
@@ -1,79 +0,0 @@
-$NetBSD: patch-ae,v 1.2 2005/12/31 00:02:28 wiz Exp $
-
---- configure.orig 2005-12-01 15:44:38.000000000 +0100
-+++ configure
-@@ -17937,6 +17937,74 @@ fi
-
-
-
-+echo "$as_me:10755: checking for wctype_t" >&5
-+echo $ECHO_N "checking for wctype_t... $ECHO_C" >&6
-+if test "${ac_cv_type_wctype_t+set}" = set; then
-+ echo $ECHO_N "(cached) $ECHO_C" >&6
-+else
-+ cat >conftest.$ac_ext <<_ACEOF
-+/* confdefs.h. */
-+_ACEOF
-+cat confdefs.h >>conftest.$ac_ext
-+cat >>conftest.$ac_ext <<_ACEOF
-+/* end confdefs.h. */
-+#ifdef HAVE_WCHAR_H
-+#include <wchar.h>
-+#endif
-+#ifdef HAVE_WCTYPE_H
-+#include <wctype.h>
-+#endif
-+
-+int
-+main ()
-+{
-+if ((wctype_t *) 0)
-+ return 0;
-+if (sizeof (wctype_t))
-+ return 0;
-+ ;
-+ return 0;
-+}
-+_ACEOF
-+rm -f conftest.$ac_objext
-+if { (eval echo "$as_me:10785: \"$ac_compile\"") >&5
-+ (eval $ac_compile) 2>conftest.er1
-+ ac_status=$?
-+ grep -v '^ *+' conftest.er1 >conftest.err
-+ rm -f conftest.er1
-+ cat conftest.err >&5
-+ echo "$as_me:10791: \$? = $ac_status" >&5
-+ (exit $ac_status); } &&
-+ { ac_try='test -z "$ac_c_werror_flag"
-+ || test ! -s conftest.err'
-+ { (eval echo "$as_me:10795: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:10798: \$? = $ac_status" >&5
-+ (exit $ac_status); }; } &&
-+ { ac_try='test -s conftest.$ac_objext'
-+ { (eval echo "$as_me:10801: \"$ac_try\"") >&5
-+ (eval $ac_try) 2>&5
-+ ac_status=$?
-+ echo "$as_me:10804: \$? = $ac_status" >&5
-+ (exit $ac_status); }; }; then
-+ ac_cv_type_wctype_t=yes
-+else
-+ echo "$as_me: failed program was:" >&5
-+sed 's/^/| /' conftest.$ac_ext >&5
-+
-+ac_cv_type_wctype_t=no
-+fi
-+rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
-+fi
-+echo "$as_me:10815: result: $ac_cv_type_wctype_t" >&5
-+echo "${ECHO_T}$ac_cv_type_wctype_t" >&6
-+if test $ac_cv_type_wctype_t = yes; then
-+ cat >>confdefs.h <<\_ACEOF
-+#define HAVE_WCTYPE_T 1
-+_ACEOF
-+fi
-+
- if test "$ac_cv_sizeof_short" = 2; then
- echo "$as_me:$LINENO: checking for bits16_t" >&5
- echo $ECHO_N "checking for bits16_t... $ECHO_C" >&6
diff --git a/shells/bash/patches/patch-af b/shells/bash/patches/patch-af
index 3e87233eef3..cdc7273738d 100644
--- a/shells/bash/patches/patch-af
+++ b/shells/bash/patches/patch-af
@@ -1,5 +1,6 @@
-$NetBSD: patch-af,v 1.2 2005/12/31 00:02:28 wiz Exp $
---- builtins/printf.def.orig 2005-10-29 20:51:29.000000000 +0200
+$NetBSD: patch-af,v 1.3 2006/10/22 11:18:10 wiz Exp $
+
+--- builtins/printf.def.orig 2006-09-18 12:48:42.000000000 +0000
+++ builtins/printf.def
@@ -64,6 +64,11 @@ $END
#include "bashgetopt.h"
@@ -27,7 +28,7 @@ $NetBSD: patch-af,v 1.2 2005/12/31 00:02:28 wiz Exp $
#if !defined (errno)
extern int errno;
-@@ -438,7 +450,11 @@ printf_builtin (list)
+@@ -452,7 +464,11 @@ printf_builtin (list)
p = pp = getintmax ();
if (p != pp)
{
@@ -39,7 +40,7 @@ $NetBSD: patch-af,v 1.2 2005/12/31 00:02:28 wiz Exp $
PF (f, pp);
}
else
-@@ -465,7 +481,11 @@ printf_builtin (list)
+@@ -479,7 +495,11 @@ printf_builtin (list)
p = pp = getuintmax ();
if (p != pp)
{