diff options
author | jilles <jilles@FreeBSD.org> | 2011-01-25 20:56:18 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2011-01-25 20:56:18 +0000 |
commit | a123f0aac0bbca03e1fcd5bf754b1ba29df2f5e9 (patch) | |
tree | 20c70e1a933a38730561f7cc65a8febb07527686 /bin | |
parent | fa976d4a0accade96681a22f51550578f718358a (diff) | |
download | FreeBSD-src-a123f0aac0bbca03e1fcd5bf754b1ba29df2f5e9.zip FreeBSD-src-a123f0aac0bbca03e1fcd5bf754b1ba29df2f5e9.tar.gz |
sh: Clean up some old comments:
* There is no plan for an alternative to the command "set".
* Attempting to unset a readonly variable has not raised an error for quite
a while, so the order of unsetting a variable and a function with the same
name does not matter.
MFC after: 1 week
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/var.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/bin/sh/var.c b/bin/sh/var.c index e841647..44d2028 100644 --- a/bin/sh/var.c +++ b/bin/sh/var.c @@ -600,9 +600,8 @@ var_compare(const void *a, const void *b) /* - * Command to list all variables which are set. Currently this command - * is invoked from the set command when the set command is called without - * any variables. + * Command to list all variables which are set. This is invoked from the + * set command when it is called without any options or operands. */ int @@ -840,9 +839,7 @@ setvarcmd(int argc, char **argv) /* - * The unset builtin command. We unset the function before we unset the - * variable to allow a function to be unset when there is a readonly variable - * with the same name. + * The unset builtin command. */ int |