freebsd-dev/bin
Jilles Tjoelker 2935c4cc5e sh: Make return return from the closest function or dot script.
Formerly, return always returned from a function if it was called from a
function, even if there was a closer dot script. This was for compatibility
with the Bourne shell which only allowed returning from functions.

Other modern shells and POSIX return from the function or the dot script,
whichever is closest.

Git 1.8.4's rebase --continue depends on the POSIX behaviour.

Reported by:	Christoph Mallon, avg
2013-09-04 22:10:16 +00:00
..
cat - Add the __dead2 attribute since it is a function that never returns 2013-04-23 13:03:11 +00:00
chflags Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
chio Update chio(1) and ch(4) to support reporting element designators. 2013-04-19 20:03:51 +00:00
chmod
cp
csh
date
dd Make dd's signal handler async safe. 2013-05-10 18:43:36 +00:00
df Complete revision 243104. 2013-05-17 03:52:20 +00:00
domainname Point users towards nisdomainname and rc.conf. 2013-04-22 17:55:12 +00:00
echo
ed Fix a -Wunsequenced warning. 2013-06-29 15:49:26 +00:00
expr Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
getfacl
hostname Mark usage() __dead2 2013-04-28 22:52:43 +00:00
kenv Constify parameters, no functional or binary change. 2013-05-15 18:38:28 +00:00
kill Remove cast that was only required for K&R C. 2013-04-28 22:05:01 +00:00
ln Add 'static' where able. 2013-06-02 17:55:00 +00:00
ls Expand the use of stat(2) flags to allow storing some Windows/DOS 2013-08-21 23:04:48 +00:00
mkdir Add missing static qualifiers 2013-04-27 21:59:43 +00:00
mv - Make 'flags' argument to chflags(2), fchflags(2) and lchflags(2) of type 2013-03-21 22:44:33 +00:00
pax
pkill Add -c flag to pgrep(1) and pkill(1), to match login classes. 2013-08-09 08:38:51 +00:00
ps Add the ability to display the default FIB number for a process to the 2013-08-26 23:48:21 +00:00
pwait
pwd
rcp
realpath
rm Add two more 'static' qualifiers 2013-04-26 17:56:35 +00:00
rmail
rmdir
setfacl Mention that read_attributes, write_attributes, read_acl and write_acl 2013-04-01 13:17:28 +00:00
sh sh: Make return return from the closest function or dot script. 2013-09-04 22:10:16 +00:00
sleep sleep: Explain in a comment why the [EINTR] check is there. 2013-06-05 20:15:18 +00:00
stty
sync
test test(1): Add information about replacing -nt/-ot. 2013-05-31 22:57:04 +00:00
uuidgen
Makefile
Makefile.inc