(c) Copyright 1990, 1991, 1992, 1993 OPEN SOFTWARE FOUNDATION, INC. 
ALL RIGHTS RESERVED 
OSF/1 1.2

Defect Fixes Provided on the Release Tape
-----------------------------------------

A few critical defects were uncovered well into our final QA cycle for
Release 1.2.  Although it was too late to integrate the fixes into the
release code and resubmit the code to a QA cycle, we have included the
fixes in a separate tar archive to make them available to you.
Although these fixes have not gone through our entire QA cycle, we
have tested them sufficiently to recommend that you replace the files
in the source tree with these fixed files before building your system.

One of the fixes applies to all sites.  The second fix applies only to
those sites that have received a toolchest tape as part of their OSF/1
R1.2 distribution.


src/usr/local/ksh/name.h
src/usr/local/ksh/builtins.h
----------------------------

The following fix affects the Korn shell.  If you do not have the
required licenses and did not receive and load the toolchest archive
image as part of your OSF/1 R1.2 distribution, this fix does not apply
to your system.  The replacement file itself is located in the
toolchest archive, rather than the defect_fixes archive.

The bit that indicates that a non-integer (string) variable should be
left justified is the same bit that indicates that an integer variable
is implemented by an internal (builtin) Korn shell routine.  This was
not previously an issue since only integers were implemented as
routines in the vanilla Korn shell.  However, the OSF/1 version allows
non-integer variables to be implemented as routines.  When a left-
justified variable is assigned, the Korn shell will instead believe
that it is a builtin and will try to call a routine through an
uninitialized (usually null) pointer.

The fix is to assign an unused bit to indicate that a variable is a
builtin instead of overloading the left justify bit.

To make this fix on your system, replace the files:

  src/usr/local/ksh/name.h
  src/usr/local/ksh/builtins.h

in your OSF/1 src tree with the files:

  src/usr/local/ksh/defect_fixes/name.h
  src/usr/local/ksh/defect_fixes/builtins.h

from the toolchest archive.

This fix addresses problems described in Change Request 8680.
