From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by archone.tamu.edu id <45329>; Sun, 2 Feb 1992 18:30:02 -0600 From: Byron Rakitzis To: rc Subject: rc tweak Message-Id: <92Feb2.183002cst.45329@archone.tamu.edu> Date: Sun, 2 Feb 1992 18:30:00 -0600 I am making a tweak to rc: if rc is invoked with any of the three usual file descriptors (0, 1, 2) closed, rc will open /dev/null on that descriptor. I'm just checking to see that I'm not making a big gaffe here---I want to avoid the nastiness that arises when Unix utilities are called with any of those 3 descriptors closed. (also knowing that 0, 1, 2 are always valid fd's simplifies the bookkeeping inside rc, but that is of secondary importance)