head 1.9; access; symbols pkgsrc-2022Q3:1.8.0.52 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.50 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.48 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.46 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.44 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.8.0.42 pkgsrc-2021Q2-base:1.8 pkgsrc-2021Q1:1.8.0.40 pkgsrc-2021Q1-base:1.8 pkgsrc-2020Q4:1.8.0.38 pkgsrc-2020Q4-base:1.8 pkgsrc-2020Q3:1.8.0.36 pkgsrc-2020Q3-base:1.8 pkgsrc-2020Q2:1.8.0.32 pkgsrc-2020Q2-base:1.8 pkgsrc-2020Q1:1.8.0.12 pkgsrc-2020Q1-base:1.8 pkgsrc-2019Q4:1.8.0.34 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.30 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.28 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.26 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.24 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.22 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.20 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.18 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.16 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.14 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.10 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.8 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.6 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.8.0.4 pkgsrc-2016Q3-base:1.8 pkgsrc-2016Q2:1.8.0.2 pkgsrc-2016Q2-base:1.8 pkgsrc-2016Q1:1.7.0.10 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.7.0.8 pkgsrc-2015Q4-base:1.7 pkgsrc-2015Q3:1.7.0.6 pkgsrc-2015Q3-base:1.7 pkgsrc-2015Q2:1.7.0.4 pkgsrc-2015Q2-base:1.7 pkgsrc-2015Q1:1.7.0.2 pkgsrc-2015Q1-base:1.7 pkgsrc-2014Q4:1.6.0.32 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.30 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.28 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.26 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.6.0.24 pkgsrc-2013Q4-base:1.6 pkgsrc-2013Q3:1.6.0.22 pkgsrc-2013Q3-base:1.6 pkgsrc-2013Q2:1.6.0.20 pkgsrc-2013Q2-base:1.6 pkgsrc-2013Q1:1.6.0.18 pkgsrc-2013Q1-base:1.6 pkgsrc-2012Q4:1.6.0.16 pkgsrc-2012Q4-base:1.6 pkgsrc-2012Q3:1.6.0.14 pkgsrc-2012Q3-base:1.6 pkgsrc-2012Q2:1.6.0.12 pkgsrc-2012Q2-base:1.6 pkgsrc-2012Q1:1.6.0.10 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.6.0.8 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q3:1.6.0.6 pkgsrc-2011Q3-base:1.6 pkgsrc-2011Q2:1.6.0.4 pkgsrc-2011Q2-base:1.6 pkgsrc-2011Q1:1.6.0.2 pkgsrc-2011Q1-base:1.6 pkgsrc-2010Q4:1.5.0.6 pkgsrc-2010Q4-base:1.5 pkgsrc-2010Q3:1.5.0.4 pkgsrc-2010Q3-base:1.5 pkgsrc-2010Q2:1.5.0.2 pkgsrc-2010Q2-base:1.5 pkgsrc-2010Q1:1.4.0.26 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.4.0.24 pkgsrc-2009Q4-base:1.4 pkgsrc-2009Q3:1.4.0.22 pkgsrc-2009Q3-base:1.4 pkgsrc-2009Q2:1.4.0.20 pkgsrc-2009Q2-base:1.4 pkgsrc-2009Q1:1.4.0.18 pkgsrc-2009Q1-base:1.4 pkgsrc-2008Q4:1.4.0.16 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.14 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.12 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.10 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.8 pkgsrc-2008Q1:1.4.0.6 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.4 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.2 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.3.0.6 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.4 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.2 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.2.0.6 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.4 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.2 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.1.0.8 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.6 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.4 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.2 pkgsrc-2005Q1-base:1.1; locks; strict; comment @# @; 1.9 date 2022.11.25.23.29.47; author adam; state dead; branches; next 1.8; commitid gXqmmUzCHdXOK83E; 1.8 date 2016.06.11.12.54.24; author rillig; state Exp; branches; next 1.7; commitid ZazeAmsfPcg323az; 1.7 date 2015.03.07.22.40.48; author rodent; state Exp; branches; next 1.6; commitid kr6XcuYjqPCQ7Jcy; 1.6 date 2011.03.12.15.26.45; author wiz; state Exp; branches; next 1.5; 1.5 date 2010.04.15.12.49.41; author joerg; state Exp; branches; next 1.4; 1.4 date 2007.09.18.21.20.12; author wiz; state Exp; branches; next 1.3; 1.3 date 2006.10.22.11.18.10; author wiz; state Exp; branches; next 1.2; 1.2 date 2005.12.31.00.02.28; author wiz; state Exp; branches; next 1.1; 1.1 date 2005.03.15.02.05.49; author garbled; state Exp; branches; next ; desc @@ 1.9 log @bash: properly install shared objects; pkglint fixes @ text @$NetBSD: patch-af,v 1.8 2016/06/11 12:54:24 rillig Exp $ Fixes PRIdMAX and PRIuMAX on AIX < 5.1. --- builtins/printf.def.orig 2014-01-03 15:35:33.000000000 +0000 +++ builtins/printf.def @@@@ -95,6 +95,11 @@@@ $END # undef PRIdMAX #endif +#if defined (_AIX) && !defined (_AIX51) + /* AIX defines do not work. Undefine them. */ +# undef PRIdMAX +# undef PRIuMAX +#endif #if !defined (PRIdMAX) # if HAVE_LONG_LONG # define PRIdMAX "lld" @@@@ -102,6 +107,13 @@@@ $END # define PRIdMAX "ld" # endif #endif +#if !defined (PRIuMAX) && defined (_AIX) +# if HAVE_LONG_LONG +# define PRIuMAX "llu" +# else +# define PRIuMAX "lu" +# endif +#endif #if !defined (errno) extern int errno; @@@@ -594,7 +606,11 @@@@ printf_builtin (list) p = pp = getintmax (); if (p != pp) { +#if defined (_AIX) && !defined (_AIX51) + f = mklong (start, PRIdMAX, sizeof (intmax_t) - 2); +#else f = mklong (start, PRIdMAX, sizeof (PRIdMAX) - 2); +#endif PF (f, pp); } else @@@@ -621,7 +637,11 @@@@ printf_builtin (list) p = pp = getuintmax (); if (p != pp) { +#if defined (_AIX) && !defined (_AIX51) + f = mklong (start, PRIuMAX, sizeof (uintmax_t) - 2); +#else f = mklong (start, PRIdMAX, sizeof (PRIdMAX) - 2); +#endif PF (f, pp); } else @ 1.8 log @Fixed pkglint warnings. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.7 2015/03/07 22:40:48 rodent Exp $ @ 1.7 log @Apply patch to patch in PR 49375. Defuzz patches. @ text @d1 3 a3 1 $NetBSD: patch-af,v 1.6 2011/03/12 15:26:45 wiz Exp $ @ 1.6 log @Update to 4.2. 1. New Features in Bash a. `exec -a foo' now sets $0 to `foo' in an executable shell script without a leading #!. b. Subshells begun to execute command substitutions or run shell functions or builtins in subshells do not reset trap strings until a new trap is specified. This allows $(trap) to display the caller's traps and the trap strings to persist until a new trap is set. c. `trap -p' will now show signals ignored at shell startup, though their disposition still cannot be modified. d. $'...', echo, and printf understand \uXXXX and \UXXXXXXXX escape sequences. e. declare/typeset has a new `-g' option, which creates variables in the global scope even when run in a shell function. f. test/[/[[ have a new -v variable unary operator, which returns success if `variable' has been set. g. Posix parsing changes to allow `! time command' and multiple consecutive instances of `!' (which toggle) and `time' (which have no cumulative effect). h. Posix change to allow `time' as a command by itself to print the elapsed user, system, and real times for the shell and its children. j. $((...)) is always parsed as an arithmetic expansion first, instead of as a potential nested command substitution, as Posix requires. k. A new FUNCNEST variable to allow the user to control the maximum shell function nesting (recursive execution) level. l. The mapfile builtin now supplies a third argument to the callback command: the line about to be assigned to the supplied array index. m. The printf builtin has a new %(fmt)T specifier, which allows time values to use strftime-like formatting. n. There is a new `compat41' shell option. o. The cd builtin has a new Posix-mandated `-e' option. p. Negative subscripts to indexed arrays, previously errors, now are treated as offsets from the maximum assigned index + 1. q. Negative length specifications in the ${var:offset:length} expansion, previously errors, are now treated as offsets from the end of the variable. r. Parsing change to allow `time -p --'. s. Posix-mode parsing change to not recognize `time' as a keyword if the following token begins with a `-'. This means no more Posix-mode `time -p'. Posix interpretation 267. t. There is a new `lastpipe' shell option that runs the last command of a pipeline in the current shell context. The lastpipe option has no effect if job control is enabled. u. History expansion no longer expands the `$!' variable expansion. v. Posix mode shells no longer exit if a variable assignment error occurs with an assignment preceding a command that is not a special builtin. w. Non-interactive mode shells exit if -u is enabled and an attempt is made to use an unset variable with the % or # expansions, the `//', `^', or `,' expansions, or the parameter length expansion. x. Posix-mode shells use the argument passed to `.' as-is if a $PATH search fails, effectively searching the current directory. Posix-2008 change. 2. New Features in Readline a. The history library does not try to write the history filename in the current directory if $HOME is unset. This closes a potential security problem if the application does not specify a history filename. b. New bindable variable `completion-display-width' to set the number of columns used when displaying completions. c. New bindable variable `completion-case-map' to cause case-insensitive completion to treat `-' and `_' as identical. d. There are new bindable vi-mode command names to avoid readline's case- insensitive matching not allowing them to be bound separately. e. New bindable variable `menu-complete-display-prefix' causes the menu completion code to display the common prefix of the possible completions before cycling through the list, instead of after. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.5 2010/04/15 12:49:41 joerg Exp $ d3 1 a3 1 --- builtins/printf.def.orig 2010-11-23 15:02:55.000000000 +0000 d5 1 a5 1 @@@@ -90,6 +90,11 @@@@ $END d17 1 a17 1 @@@@ -97,6 +102,13 @@@@ $END d31 1 a31 1 @@@@ -571,7 +583,11 @@@@ printf_builtin (list) d43 1 a43 1 @@@@ -598,7 +614,11 @@@@ printf_builtin (list) @ 1.5 log @Allow building on systems without vsnprintf. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- builtins/printf.def.orig 2009-11-20 20:31:23.000000000 +0000 d5 1 a5 1 @@@@ -85,6 +85,11 @@@@ $END d17 1 a17 1 @@@@ -92,6 +97,13 @@@@ $END d31 1 a31 10 @@@@ -172,7 +184,7 @@@@ extern int asprintf __P((char **, const #endif #if !HAVE_VSNPRINTF -extern int vsnprintf __P((char *, size_t, const char *, ...)) __attribute__((__format__ (printf, 3, 4))); +extern int vsnprintf __P((char *, size_t, const char *, va_list)) __attribute__((__format__ (printf, 3, 0))); #endif static void printf_erange __P((char *)); @@@@ -487,7 +499,11 @@@@ printf_builtin (list) d43 1 a43 1 @@@@ -514,7 +530,11 @@@@ printf_builtin (list) @ 1.4 log @Update to patchlevel 3.2.25: Various bugfixes. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.3 2006/10/22 11:18:10 wiz Exp $ d3 1 a3 1 --- builtins/printf.def.orig 2007-09-18 15:24:09.000000000 +0000 d5 1 a5 1 @@@@ -74,6 +74,11 @@@@ $END d17 1 a17 1 @@@@ -81,6 +86,13 @@@@ $END d31 10 a40 1 @@@@ -466,7 +478,11 @@@@ printf_builtin (list) d52 1 a52 1 @@@@ -493,7 +509,11 @@@@ printf_builtin (list) @ 1.3 log @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. @ text @d1 1 a1 1 $NetBSD: patch-af,v 1.2 2005/12/31 00:02:28 wiz Exp $ d3 1 a3 1 --- builtins/printf.def.orig 2006-09-18 12:48:42.000000000 +0000 d5 3 a7 3 @@@@ -64,6 +64,11 @@@@ $END #include "bashgetopt.h" #include "common.h" d17 1 a17 1 @@@@ -71,6 +76,13 @@@@ $END d31 1 a31 1 @@@@ -452,7 +464,11 @@@@ printf_builtin (list) d43 1 a43 1 @@@@ -479,7 +495,11 @@@@ printf_builtin (list) @ 1.2 log @Update to 3.1pl1: This is a terse description of the new features added to bash-3.1 since the release of bash-3.0. As always, the manual page (doc/bash.1) is the place to look for complete descriptions. 1. New Features in Bash a. Bash now understands LC_TIME as a special variable so that time display tracks the current locale. b. BASH_ARGC, BASH_ARGV, BASH_SOURCE, and BASH_LINENO are no longer created as `invisible' variables and may not be unset. c. In POSIX mode, if `xpg_echo' option is enabled, the `echo' builtin doesn't try to interpret any options at all, as POSIX requires. d. The `bg' builtin now accepts multiple arguments, as POSIX seems to specify. e. Fixed vi-mode word completion and glob expansion to perform tilde expansion. f. The `**' mathematic exponentiation operator is now right-associative. g. The `ulimit' builtin has new options: -i (max number of pending signals), -q (max size of POSIX message queues), and -x (max number of file locks). h. A bare `%' once again expands to the current job when used as a job specifier. i. The `+=' assignment operator (append to the value of a string or array) is now supported for assignment statements and arguments to builtin commands that accept assignment statements. j. BASH_COMMAND now preserves its value when a DEBUG trap is executed. k. The `gnu_errfmt' option is enabled automatically if the shell is running in an emacs terminal window. l. New configuration option: --single-help-strings. Causes long help text to be written as a single string; intended to ease translation. m. The COMP_WORDBREAKS variable now causes the list of word break characters to be emptied when the variable is unset. n. An unquoted expansion of $* when $IFS is empty now causes the positional parameters to be concatenated if the expansion doesn't undergo word splitting. o. Bash now inherits $_ from the environment if it appears there at startup. p. New shell option: nocasematch. If non-zero, shell pattern matching ignores case when used by `case' and `[[' commands. q. The `printf' builtin takes a new option: -v var. That causes the output to be placed into var instead of on stdout. r. By default, the shell no longer reports processes dying from SIGPIPE. s. Bash now sets the extern variable `environ' to the export environment it creates, so C library functions that call getenv() (and can't use the shell-provided replacement) get current values of environment variables. t. A new configuration option, `--enable-strict-posix-default', which will build bash to be POSIX conforming by default. u. If compiled for strict POSIX conformance, LINES and COLUMNS may now override the true terminal size. 2. New Features in Readline a. The key sequence sent by the keypad `delete' key is now automatically bound to delete-char. b. A negative argument to menu-complete now cycles backward through the completion list. c. A new bindable readline variable: bind-tty-special-chars. If non-zero, readline will bind the terminal special characters to their readline equivalents when it's called (on by default). d. New bindable command: vi-rubout. Saves deleted text for possible reinsertion, as with any vi-mode `text modification' command; `X' is bound to this in vi command mode. e. A new external application-controllable variable that allows the LINES and COLUMNS environment variables to set the window size regardless of what the kernel returns: rl_prefer_env_winsize @ text @d1 3 a3 2 $NetBSD: patch-af,v 1.1 2005/03/15 02:05:49 garbled Exp $ --- builtins/printf.def.orig 2005-10-29 20:51:29.000000000 +0200 d31 1 a31 1 @@@@ -438,7 +450,11 @@@@ printf_builtin (list) d43 1 a43 1 @@@@ -465,7 +481,11 @@@@ printf_builtin (list) @ 1.1 log @Add a patch allowing compilation of bash on AIX 4.3.3. Tested not to impact NetBSD/i386 build. Should also not impact aix5 builds. @ text @d1 4 a4 4 $NetBSD$ --- builtins/printf.def.orig 2003-12-19 16:04:06.000000000 -0700 +++ builtins/printf.def 2005-03-14 18:56:57.000000000 -0700 @@@@ -62,6 +62,11 @@@@ d16 1 a16 1 @@@@ -69,6 +74,13 @@@@ d30 1 a30 1 @@@@ -344,7 +356,11 @@@@ d42 1 a42 1 @@@@ -371,7 +387,11 @@@@ @