home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!sgigate!odin!fido!zola!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.sys.sgi
- Subject: Re: sh/csh/tcsh and TMPDIR
- Message-ID: <ueauos8@zuni.esd.sgi.com>
- Date: 4 Jan 93 01:21:53 GMT
- References: <34854@adm.brl.mil>
- Sender: news@zuni.esd.sgi.com (Net News)
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 25
-
- In <34854@adm.brl.mil> karron@karron.med.nyu.edu (Dan Karron (karron@nyu.edu)) writes:
- | How can I get the various shell commands to respect the value
- | in TMPDIR ?
- |
- | sh keeps clogging up /tmp/ with
- | sh$PID temp files.
-
- Sorry, but it is hardcoded in all 3 (both currently, and in the
- SVR4 code). Same for ksh.
-
- About all you can do is find a place with a name equally short
- and patch the binary ;)
-
- I don't think it likely anybody will view it as worth the effort
- it would be to make the mods to do otherwise (you'd have to
- check the variable at startup, and also in the code where variables
- are set; not a huge amount of effort, but...)
-
- You could ignore all files with the sh suffix in the main body
- of the script, and then check the sh* files with fuser to see
- if they are in use later on.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-