Patch-ID# 104591-03
Keywords: y2000 5bin initgroups libc cc initgroups.c
Synopsis: Trusted Solaris 1.2: fix libc to allow use of /usr/5bin/cc & y2000 
Date: Jan/29/99

Solaris Release: Trusted Solaris 1.2

SunOS Release:

Unbundled Product:

Unbundled Release:

Relevant Architectures: sun4 sun4c sun4m

BugId's fixed with this patch: 1041424 1074819 1220511 4018724 4204503

Changes incorporated in this version: 4204503

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: 

README			 - This file.

install_patch		 - Script to install the appropriate patch
			   components for the machine on which it
			   is run.

nis_master.<arch>.tar.Z  - Patches for NIS master machines for each
			   supported architecture.

nis_client.<arch>.tar.Z  - Patches for NIS client machines for each
			   supported architecture.

diskless.<arch>.tar.Z    - Patches for diskless machines for each
			   supported architecture.

Problem Description: 

THIS PATCH DOES NOT APPLY TO 4.1.1, 4.1.2, 4.1.3, 4.1.3_U1, CMW 1.0, OR
TRUSTED SOLARIS 1.1 SYSTEMS.

This patch contains a fix for the following bug(s):

Note:	In the following lists of files, the export/exec path prefix is
	used to load files into the appropriate places on the machine.
	For example, export/exec/kvm/<arch> is used to refer to
	/usr/kvm on a machine where <arch> is the native architecture.

Bug:	4204503
Desc:	Patch 104591-02 did not install correctly because installation
	depended on libc.so.

Bug:	1041424
Desc:	Port of patch 101558 to libc (initgroups.c) to allow use of /usr/5bin/cc 
	compiler. (Esc. 506796)

Bug:	1074819
Desc:	strftime %y format doesn't work for years > 2000

Bug:	1220511
Desc:	mktime() doesn't care leap year.

Bug:	4018724
Desc:	4.x strptime %y doesn't recognize the year is 2000 or greater.

Files:	lib/libc.a
	lib/libc_p.a
	lib/libc.sa.1.9
	lib/libc.so.1.9
	5lib/libc.a
	5lib/libc_p.a
	5lib/libc.sa.2.9
	5lib/libc.so.2.9


Patch Installation Instructions: 
-------------------------------
1.	Boot the machine single user, clean the disks, and start a csh(1).

		> b -s
	or
		ok boot -s

		# fsck -f -p
		# exec csh
		<host># source /.cshrc
		<host># source /.login

2.	Load this patch in a location that has disk space.  This
	example assumes that /var is a separate partition and that
	the patch is delivered on tape.

	<host># mount /var
	<host># cd /var
	<host># mkdir -p patches/<PATCH_NUMBER_HERE>
	<host># cd patches/<PATCH_NUMBER_HERE>
	<host># tar xvf /dev/rst0

3.	Install the patch and check the "log" for errors.
	<host># ./install_patch |& tee log
	<host># vi log

4.	Reboot the machine.
	<host># cd /
	<host># umount -at cfs
	<host># sync; sync; sync; reboot
