1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-05 12:56:08 +00:00
freebsd/bin/sh
Jilles Tjoelker 523646ee5c sh: Simplify cd-hash interaction.
Instead of rechecking relative paths for all hashed utilities after a cd,
track if any utility in cmdtable depends on a relative path in PATH.
If there is such a utility, cd clears the entire table.

As a result, the '*' in hash no longer happens.
2013-01-14 16:40:50 +00:00
..
bltin
funcs sh: Remove "kill" example function, which is superseded by the kill builtin 2012-01-21 20:39:17 +00:00
alias.c sh: Fix two issues when an alias is redefined: 2012-11-08 13:33:48 +00:00
alias.h
arith_yacc.c Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output. 2012-01-25 08:42:19 +00:00
arith_yacc.h
arith_yylex.c Add prototypes, ANSIfy functions definitions to reduce WARNS=6 output. 2012-01-25 08:42:19 +00:00
arith.h
builtins.def
cd.c sh: Prefer internal nextopt() to libc getopt(). 2012-09-15 21:56:30 +00:00
cd.h
error.c
error.h
eval.c sh: Pass $? to command substitution containing compound/multiple commands. 2013-01-14 12:20:55 +00:00
eval.h sh: Fix execution of multiple statements in a trap when evalskip is set 2012-01-16 11:07:46 +00:00
exec.c sh: Simplify cd-hash interaction. 2013-01-14 16:40:50 +00:00
exec.h sh: Expand assignment-like words specially for export/readonly/local. 2012-07-15 10:19:43 +00:00
expand.c
expand.h
histedit.c sh: Prefer internal nextopt() to libc getopt(). 2012-09-15 21:56:30 +00:00
init.h
input.c sh: Remove an unused variable. 2012-11-14 14:08:24 +00:00
input.h sh: Remove an unused variable. 2012-11-14 14:08:24 +00:00
jobs.c sh: Prefer strsignal() to accessing sys_siglist directly. 2012-12-25 14:17:09 +00:00
jobs.h sh: Remove unused variable in_dowait. 2012-07-15 10:49:16 +00:00
mail.c
mail.h
main.c sh: Reduce code duplication: use setinputfile instead of open/setinputfd 2012-09-14 15:22:15 +00:00
main.h
Makefile Work better with how make/bmake works: 2012-05-24 19:48:15 +00:00
memalloc.c
memalloc.h
miscbltin.c sh: Remove an unused header. 2012-05-15 22:50:47 +00:00
mkbuiltins Work better with how make/bmake works: 2012-05-24 19:48:15 +00:00
mkinit.c
mknodes.c
mksyntax.c
mktokens
myhistedit.h
mystring.c
mystring.h
nodes.c.pat
nodetypes
options.c sh: Remove XXX comment about removing nextopt(). 2012-09-08 19:24:03 +00:00
options.h
output.c sh: Detect and flag write errors on stdout in builtins. 2012-12-12 22:01:10 +00:00
output.h sh: Detect and flag write errors on stdout in builtins. 2012-12-12 22:01:10 +00:00
parser.c sh: Fix crash when parsing '{ } &'. 2013-01-13 19:26:33 +00:00
parser.h
redir.c
redir.h
sh.1 sh: Simplify cd-hash interaction. 2013-01-14 16:40:50 +00:00
shell.h
show.c
show.h
TOUR
trap.c sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend(). 2012-07-29 18:04:38 +00:00
trap.h sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend(). 2012-07-29 18:04:38 +00:00
var.c sh: Prefer internal nextopt() to libc getopt(). 2012-09-15 21:56:30 +00:00
var.h sh: Use vfork in a few common cases. 2012-02-04 23:12:14 +00:00