Patch-ID# 100344-01 Keywords: bourne shell sh /tmp exec temporary-file Synopsis: bourne shell: temporary file not removed if exec'ing other program Date: 06-Aug-91 SunOS release: 4.1.1 Topic: bourne shell temporary files BugId's fixed with this patch: 1055402 Architectures for which this patch is available: sun3, sun4 Patches which may conflict with this patch: 100059 Obsoleted by: SYS_V Rel 4 Problem Description: If some temporary files are created by the bourne shell and the shell exec'es to another program, those temporary files are not removed. INSTALL: This patch includes new binary images of the Bourne shell. Before installing these files, make sure the original file is saved: # cp /bin/sh /bin/sh.old Install the new version of the appropriate program. The `arch` command will provide the correct subdirectory for the current machine. # cp `arch`/sh /bin/sh Note that the Sun-3 binary will work on a Sun-3x system; a Sun-4 binary will work on a Sun-4c system. Use the "arch" command to find the appropriate architecture, NOT the "arch -k" command.