delorie.com/archives/browse.cgi | search |
From: | "Mark E." <snowball3 AT bigfoot DOT com> |
To: | djgpp-workers AT delorie DOT com |
Date: | Sun, 19 Aug 2001 12:55:49 -0400 |
MIME-Version: | 1.0 |
Subject: | Re: djgpp: djgpp/src/libc/posix/unistd/dup2.c |
Message-ID: | <3B7FB755.8145.74BCBC@localhost> |
In-reply-to: | <200108191650.MAA24519@delorie.com> |
X-mailer: | Pegasus Mail for Win32 (v3.12c) |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> Update by cvs id: snowball > Update of /cvs/djgpp/djgpp/src/libc/posix/unistd > > Modified Files: > dup2.c > Log Message: > Clear the properties associated with newfd after calling the dos dup2 > function so files marked as temporary can be deleted. Hi folks, I've noticed that with a shell script that uses one here document a temporary file is left behind after Bash exits. I debugged the problem and it turned out the recent change to dup2 was the problem. This commit fixes the problem. If your experimenting with Bash 2.05, update your copy of libc as soon as possible so your /djgpp/tmp doesn't fill up. Mark
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |