Patch-ID# 101071-07
Keywords: fcntl, stdout, exit,  blocked, variable, name, length, root, -x , test
Synopsis: SunOS 4.1.3: csh, sh jumbo patch
Date: Nov/10/94
 
Solaris release: 1.1

SunOS release: 4.1.3, 4.1.3C
 
Unbundled Product: 
 
Unbundled Release:
 
Relevant Architectures: sparc

BugId's fixed with this patch: 1023533 1054149 1089028 1172911 1170167

Changes incorporated in this version:  1170167

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Obsoleted by:  

Files included with this patch:

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


Problem Description: 

1170167: Allow setting long environment variables in csh

(from #101071-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 #101071-04)

1089028: Test command does not work right for root
	When testing execute status with -x as root
	return value is true even for non executable files

(from #101071-03)

1023533: csh variable names limited to 18 characters, instead of 20

(from #101071-02)

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'.)


Patch Installation Instructions:

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 sun4 version for the sun4c and sun4m architectures

cp `arch`/4.1.3/sh /usr/bin
cp `arch`/4.1.3/csh /usr/bin

3. Change permissions

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