lp:ubuntu/hardy-proposed/bash

Created by James Westby and last modified
Get this branch:
bzr branch lp:ubuntu/hardy-proposed/bash
Members of Ubuntu branches can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Ubuntu branches
Review team:
Ubuntu Development Team
Status:
Mature

Recent revisions

36. By Matthias Klose

* Call add-shell on new installs and on updates up to version
  3.2-0ubuntu18. LP: #228931.
* Only call remove-shell on remove or purge.

35. By Matthias Klose

* SRU for hardy. LP: #227722.
* /etc/skel/.bashrc:
  - Fix typo, forcing a colored prompt. LP: #223256.
  - Generate Bourne shell code when running lesspipe.
* Add missing md5sum for feisty and gutsy /etc/skel/.bash_profile,
  so it is removed on upgrade to hardy if unmodified. LP: #211406.
* Apply upstream patches 034 - 039, applying fixes for:
  - The bash getcwd replacement will write past the end of allocated memory
    when it allocates the buffer itself if it uses the buffer size passed
    as an argument, and that size is less than the length of the pathname.
  - Bash incorrectly puts the second and subsequent children spawned by a
    shell forked to run a command substitution in the wrong process group.
  - When initializing a subshell, bash did not reset a sentinel keeping
    track of the number of command substitutions, leading to an infinite
    loop if an error was encountered in the subshell.
  - Bash inappropriately evaluates command substitutions while expanding
    directory names as part of command substitution.
  - When reading input lines into a single variable using the `read' builtin,
    bash did not free the memory it read after assigining it to the named
    variable, causing a memory leak noticable when reading large amounts of
    data.
  - Replace shell-compat patches with upstream patch 039 (compat31).
* Reenable running the testsuite during the build.
* Only call add-shell on new installations; guard remove-shell in post
  removal.

34. By Matthias Klose

* Remove /etc/skel/.bash_profile, if it is unmodified; if modified and
  /etc/skel/.profile is unmodifed, move .bash_profile to .profile.
  LP: #211406.
* /etc/skel/.bashrc: Add an option to blurt a terminal window with a
  colored prompt. LP: #103929.
* /etc/skel/.bashrc: Add color support for grep and friends (commented out
  by default). LP: #144632.
* /etc/skel/.profile: Avoid the use of `~'. LP: #200283.
* Add a shopt option compat31 to falls back to the behaviour of bash-3.1
  and earlier versions, in that quoting the string argument to the [[
  command's =~ +operator does not force string matching. LP: #110407.

33. By Kjell Braden

Don't run command-not-found from the shell scripts when it has been
removed in the meantime (LP: #194939)

32. By Matthias Klose

Build-depend on sharutils ... but save the control file before uploading.

31. By Matthias Klose

Build-depend on sharutils.

30. By Matthias Klose

* Apply upstream patches 026 - 033. Fixes for:
  - Keep the Apple linker from attempting to link bash against Apple's
    readline library "replacement" rather than the one shipped with bash.
  - When updating the display after displaying, for instance, a list
    of possible completions, readline will place the cursor at the wrong
    position if the prompt contains invisible characters and a newline.
    LP: #119938.
  - Under some circumstances, readline will incorrectly display a prompt
    string containing invisible characters after the final newline.
  - When the bash arithmetic expression evaluator has temporarily turned off
    evalation, such as when parsing a pre- or post-decrement or -increment
    operator, and an error occurs, evaluation is not re-enabled.
  - If redirections attached to a compound command fail, bash does not set
    the command's exit status correctly. This only happens when the command
    is the first in a sequential list.
  - In certain cases when outputting characters at the end of the line, e.g.,
    when displaying the prompt string, readline positions the cursor
    incorrectly if the prompt string contains invisible characters and the
    text being drawn begins before the last invisible character in the line.
  - There is an off-by-one error in the code that buffers characters
    received very quickly in succession, causing characters to be dropped.
  - References made within a function to an uninitialized local array
    variable using the [*] subscript in a double-quoted string can result
    in spurious ASCII 127 characters in the expanded value.
* Remove bash-completion from the source.
* Remove the conflict with bash-completion, recommend bash-completion.
* debian/skel.bashrc: Check for dircolors before using it. LP: #121992.
* Include correct bash.pot file. LP: #104261.

29. By Matthias Klose

* Move CWRU/changelog from the bash to the bash-doc package (we already
  have the CHANGES files).
* Support safe-upgrade and full-upgrade in aptitude auto completion.
  (Benjamin Rubin). LP: #128575.

[ Daniel Hahler]
* Apply upstream patches 018 - 025 (LP: #147946), fixes for:
  - 018: Fix losing saved status of a background job and fix
    infinite loop after creating and waiting for 4096 jobs.
  - 019: Properly report error status when rl_read_key returns -1,
    fixes cause of input loops.
  - 020: Fix state consistency in some cases of error processing,
    when jumping back to the top-level processing loop from
    a builtin command.
  - 021: When the parser read a backslash-escaped character that would
    be treated internally as an escape, it would double the number
    of escape characters.
  - 022: POSIX specifies that the `read' builtin invoked from an interative
    shell must prompt with $PS2 when a line is continued using a backslash
    while reading from a terminal.
  - 023: When an error occurs during the pattern removal word expansion,
    the shell can free unallocated memory or free memory multiple times.
  - 024: Fix calculation of screen position when performing a redisplay in
    which the new text uses more space, but fewer bytes.
  - 025: Fix dropping each 511th character of buffered input, e.g. when
    pasting a large amount of data.

28. By LaMont Jones

Trigger rebuild for hppa

27. By Michael Vogt

* debian/etc.bash.bashrc:
  - updated for new location of command-not-found
  - fix parsing of commands that look like arguments (LP: #124301)

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:ubuntu/lucid/bash
This branch contains Public information 
Everyone can see this information.

Subscribers