Issued:
2009-06-22
Updated:
2009-09-02

RHBA-2009:1117 - vim bug fix update


Synopsis

vim bug fix update

Type/Severity

Bug Fix Advisory

Topic

Updated vim packages that resolve several issues are now available.

Description

VIM (VIsual editor iMproved) is an updated and improved version of the vi editor.

These updated vim packages provide fixes for the following bugs:

  • autocommands are macro-like commands that the Vim editor runs when certain defined events occur, such reading or writing a certain file, leaving a buffer or window, or exiting Vim. Certain autocommands are provided with the vim package in Red Hat Enterprise Linux. However, if the user wanted to remove these autocommands, it was not easy to cleanly do so. With this update, the Red Hat-bundled autocommands are grouped into the "redhat" augroup, which allows the set of commands to be more easily manipulated or removed. (BZ#241308)

  • on 32-bit architectures, Vim calculated the total amount of available memory incorrectly. This miscalculation resulted in Vim slowing down significantly when opening large files. With these updated packages, Vim now calculates the total amount of available RAM differently, which avoids the potential slowdown when opening and/or working with very large files. (BZ#429208)

  • the package-provided vim.sh and vim.csh setup scripts in the /etc/profile.d directory, for the Bash and Tcsh shells respectively, employed incorrect shell scripting constructions that did not properly test certain conditions, such as whether strings returned by the "id" command could be empty. This update provides corrected setup scripts that fix these coding errors. (BZ#459823)

All users of vim are advised to upgrade to these updated packages, which resolve these issues.

Solution

Before applying this update, make sure that all previously-released errata relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.http://kbase.redhat.com/faq/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Enterprise Linux for Power, big endian5ppc
Red Hat Enterprise Linux for IBM z Systems5s390x
Red Hat Enterprise Linux Workstation5x86_64
Red Hat Enterprise Linux Workstation5i386
Red Hat Enterprise Linux Server5x86_64
Red Hat Enterprise Linux Server5ia64
Red Hat Enterprise Linux Server5i386
Red Hat Enterprise Linux Server from RHUI5x86_64
Red Hat Enterprise Linux Server from RHUI5i386
Red Hat Enterprise Linux Desktop5x86_64
Red Hat Enterprise Linux Desktop5i386

Updated Packages

  • vim-minimal-7.0.109-6.el5.i386.rpm
  • vim-minimal-7.0.109-6.el5.s390x.rpm
  • vim-minimal-7.0.109-6.el5.ppc.rpm
  • vim-common-7.0.109-6.el5.s390x.rpm
  • vim-enhanced-7.0.109-6.el5.x86_64.rpm
  • vim-X11-7.0.109-6.el5.i386.rpm
  • vim-X11-7.0.109-6.el5.s390x.rpm
  • vim-common-7.0.109-6.el5.ppc.rpm
  • vim-common-7.0.109-6.el5.x86_64.rpm
  • vim-X11-7.0.109-6.el5.ia64.rpm
  • vim-common-7.0.109-6.el5.ia64.rpm
  • vim-enhanced-7.0.109-6.el5.ia64.rpm
  • vim-minimal-7.0.109-6.el5.x86_64.rpm
  • vim-enhanced-7.0.109-6.el5.i386.rpm
  • vim-enhanced-7.0.109-6.el5.ppc.rpm
  • vim-X11-7.0.109-6.el5.ppc.rpm
  • vim-common-7.0.109-6.el5.i386.rpm
  • vim-7.0.109-6.el5.src.rpm
  • vim-X11-7.0.109-6.el5.x86_64.rpm
  • vim-enhanced-7.0.109-6.el5.s390x.rpm
  • vim-minimal-7.0.109-6.el5.ia64.rpm

Fixes

CVEs

(none)

References

(none)


Additional information