Patch-ID# 101461-06
Keywords: fcntl, stdout, blocked, variable, expansion, username, NIS, csh, cat
Synopsis: SunOS 4.1.3_U1: csh, sh jumbo patch
Date: Feb/15/95
 
Solaris Release: 1.1.1A

SunOS Release: 4.1.3_U1A
 
Unbundled Product: 
 
Unbundled Release:

Relevant Architectures: sparc
    NOTE: sun4(all)

Xref: This patch is available for:
	4.1.3 as 101071-07
	4.1.4 as 102322-01

BugId's fixed with this patch: 1186507 1023533 1054149 1167401 1172710
1172911

Changes incorporated in this version: 1186507

Patches accumulated and obsoleted by this patch: 101461-05

Patches which conflict with this patch: 

Obsoleted by: 

Files included with this patch: README, sh, csh.

Problem Description: 

1186507: cat user file gives error in csh if filec is set and user is in
         NIS map.

(from 101461-05)
1172911 : The built in "test" command was not fixed properly in
	patch number 101071-04.  The patched version of sh's builtin
	test command always returns a failure exit status.

(from 101461-04)
1172710: csh does not find files which are links going to non-existent
	files using ?/*.

(from 101461-03)
1023533: csh variable name limited to 18 characters, instead of 20

(from 101461-01)
1054149: fcntl: logsout or exits window when closing non blocked stdout
	If stdout is left in a Non-blocked mode by the user program
	after it exits, the parent window is killed (logged out in 
	case of the shell '/bin/sh' or '/bin/csh'.)

1167401: csh cannot define environment variables whose lengths are over 
	 20 chars


Patch Installation Instructions:

   It is recommended that this patch be installed in single user mode.
1. Make a copy of the FCS version

cp /usr/bin/sh /usr/bin/sh.FCS
cp /usr/bin/csh /usr/bin/csh.FCS

2. Copy the new version
Note : use the same version for the sun4, sun4c and sun4m architectures

cp sh /usr/bin
cp csh /usr/bin

3. Change permissions

chmod 755 /usr/bin/sh
chmod 755 /usr/bin/csh

