Module Name: src Committed By: christos Date: Mon May 2 01:46:31 UTC 2016
Modified Files: src/bin/sh: cd.c eval.c input.c jobs.c parser.c redir.c redir.h Log Message: Fix handing of user file descriptors outside the 0..9 range. Also, move (most of) the shell's internal use fd's to much higher values (depending upon what ulimit -n allows) so they are less likely to clash with user supplied fd numbers. A future patch will (hopefully) avoid this problem completely by dynamically moving the shell's internal fds around as needed. (From kre@) To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/bin/sh/cd.c cvs rdiff -u -r1.119 -r1.120 src/bin/sh/eval.c cvs rdiff -u -r1.48 -r1.49 src/bin/sh/input.c cvs rdiff -u -r1.75 -r1.76 src/bin/sh/jobs.c cvs rdiff -u -r1.116 -r1.117 src/bin/sh/parser.c cvs rdiff -u -r1.42 -r1.43 src/bin/sh/redir.c cvs rdiff -u -r1.18 -r1.19 src/bin/sh/redir.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.