Patch-ID# 103187-04
Keywords: libc.a libc.so.1 libc_pic.a popen file descriptors iconv_close nscd
Synopsis: SunOS 5.5: libc patch
Date: May/21/96

Solaris Release: 2.5

SunOS Release: 5.5

Unbundled Product:

Unbundled Release:

Topic: SunOS 5.5: libc fixes


  WARNING:      This patch will cause Fortran 90 programs to Segmentation
                Fault if they write to terminal or other line buffered
                device (bug 1260474).  This is caused as a side effect of
                the fix for bug 1235867.

                It can be worked around for programs that only output
                to terminal by redirecting or piping output. For example --
			program | cat

                An additional workaround by changing source --
                change source to write to logical unit 0 (Standard Error
                which is unbuffered) instead of logical unit 6 (Standard
                Output which is line buffered).


BugId's fixed with this patch: 1229805 1235042 1235867 1238038 1240224

Changes incorporated in this version: 1235867

Relevant Architectures: sparc

Patches accumulated and obsoleted by this patch:

Patches which conflict with this patch:

Patches required with this patch:

Obsoleted by:

Files included with this patch:

/usr/lib/libc.a
/usr/lib/libc.so
/usr/lib/libc.so.1
/usr/lib/libp/libc.a
/usr/lib/pics/libc_pic.a

Problem Description:

1235867 line buffered stdio loses data and/or hangs in 2.5

(from 103187-03)

1240224 chroot: Can't use openlog(3), syslog(3) and closelog(3)

(from 103187-02)

1235042 nscd library code nukes filedescriptor if its fd is closed by application

(from 103187-01)

1238038 iconv_close returns wrong data type
1229805 popen assumes maximum number of file descriptors is 256

Patch Installation Instructions:
--------------------------------
Refer to the Install.info file within the patch for instructions on
using the generic 'installpatch' and 'backoutpatch' scripts provided
with each patch. Any other special or non-generic installation
instructions should be described below.

Special Install Instructions:
-----------------------------

None.
