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
This commit is contained in:
Jilles Tjoelker 2011-01-25 20:56:18 +00:00
parent 1bc9325f8a
commit cff1d84937
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=217847

View File

@ -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