Patch-ID# 101246-02
Keywords: libC.so.3 strstreambuf::str() null character
Synopsis: SunOS 5.2, 5.3: patch for libC.so.3
Date: Nov/12/93

Solaris Release: 2.2, 2.3

SunOS Release: 5.2, 5.3

Unbundled Product: 

Unbundled Release: 

Relevant Architectures: sparc

BugId's fixed with this patch: 1142709 1088959

Changes incorporated in this version: 1088959

Patches accumulated and obsoleted by this patch: 

Patch id  binaries    package   Synopsis
========  ========    =======   ========
101246-01 libC.so.3   SUNWlibCf libC.so.3 was missing from /usr/lib in
                                SunOS 5.2 and "end-user" cluster of SunOS 5.3

Patches which conflict with this patch: 

Patches required with this patch: 

Obsoleted by: 

Files included with this patch: /usr/lib/libC.so.3

Problem Description: 

this patch, rev -02
-------------------
1088959  strstreambuf::str() incorrectly adds null character to string with
         the result that ostrstream::pcount() returns wrong length

rev-01
------
1142709   The library libC.so.3 will be bundled with SunOS 5.4 but is
          not bundled with SunOS 5.2 and "end-user" cluster of SunOS 5.3.
          (This library is bundled with "all" cluster of SunOS 5.3).
          This patch is meant for users of SunOS 5.2 and users who have
          installed the "end-user" cluster of SunOS 5.3. The library libC.so.3
          will be needed by applications compiled with C++ 3.0 and linked
          dynamically with libC.so.


Patch Installation Instructions: 
-------------------------------- 
The command 'pkgadd' should be used for installing this patch and
'pkgrm' should be used to remove this patch.

Special Install Instructions: 
----------------------------- 
   This patch should be installed on the workstation of each user
   who needs /usr/lib/libC.so.3. Simply installing this patch on a 
   server will not help.


Instructions to install patch using "installpatch"
--------------------------------------------------

1.  Become super-user.

2. Remove the existing SUNWlibCf package if it exists on your machine by
   typing the command:
        pkgrm SUNWlibCf

3.  Apply the patch by typing:
	pkgadd -d <dir>/<patch-id> SUNWlibCf

    where <dir> is the directory containing the patch and <patch-id>
    is the patch number.  <dir> must be a full path name.

    Example:

	# pkgadd -d /tmp/123456-01 SUNWlibCf


Instructions for installing a patch on a diskless or dataless client
--------------------------------------------------------------------

1.  Before applying the patch, the following command must be executed
    on the server to give the client read-only, root access to the
    exported /usr file system so that the client can execute the
    pkgadd command:

    share -F nfs -o ro,anon=0 /export/exec/Solaris_2.1_sparc.all/usr

    The command:

    share -F nfs -o ro,root=<client_name> \
		/export/exec/Solaris_2.1_sparc.all/usr

    accomplishes the same goal, but only gives root access to the
    client specified in the command.

2.  Login to the client system and become super-user.

3.  Continue with step 2 in the "Instructions to install patch using
    installpatch" section above.


Instructions for backing out patch using "backoutpatch"
-------------------------------------------------------

1.  Become super-user. 

2.  Backout patch by typing:
 
        pkgrm SUNWlibCf
