Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/bin/sh
Module Name: src
Committed By: kre
Date: Sat Apr 29 15:14:29 UTC 2017
Modified Files:
src/bin/sh: input.c jobs.c redir.c redir.h
Log Message:
Keep track of which file descriptors the shell is using for its
own purposes, and move them elsewhere whenever a user redirection
happens to pick the same number. With this we can move the shell
file descriptors back to lower values (be slightly kinder to the kernel)
since we can no longer clash. (Also get rid of a little old unneeded code.)
This also completes the fdflags command, which no longer permits access
to (by way or either obtaining, or changing) the shell's internal fds.
To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/bin/sh/input.c
cvs rdiff -u -r1.79 -r1.80 src/bin/sh/jobs.c
cvs rdiff -u -r1.53 -r1.54 src/bin/sh/redir.c
cvs rdiff -u -r1.22 -r1.23 src/bin/sh/redir.h
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