NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/48875 CVS commit: src/bin/sh

The following reply was made to PR bin/48875; it has been noted by GNATS.

From: "Robert Elz" <>
Subject: PR/48875 CVS commit: src/bin/sh
Date: Mon, 9 May 2016 21:03:10 +0000

 Module Name:	src
 Committed By:	kre
 Date:		Mon May  9 21:03:10 UTC 2016
 Modified Files:
 	src/bin/sh: eval.c eval.h main.c
 Log Message:
 PR bin/48875 - avoid holding (replaced) file descriptors open when running a
 command in the current shell (so they can be restored for the next command)
 in cases where it is obvious that there is not going to be a following
 command to use them.   This fixes the problem reported in the PR (though
 there are still plenty of situations where a FD could be closed but isn't,
 we do not do full fd flow eveluation to determine whether a fd will be
 used or not).
 This is the change that was just committed and then backed out again...
 OK christos@
 To generate a diff of this commit:
 cvs rdiff -u -r1.124 -r1.125 src/bin/sh/eval.c
 cvs rdiff -u -r1.18 -r1.19 src/bin/sh/eval.h
 cvs rdiff -u -r1.66 -r1.67 src/bin/sh/main.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index