Attempting to unset an undefined variable or function should not be

considered an error according to the Open Group Base Specification.

PR:		standards/45738
Submitted by:	Matthias Andree <matthias.andree@web.de>
MFC after:	3 days
This commit is contained in:
Dag-Erling Smørgrav 2004-09-27 18:43:18 +00:00
parent e400e0825a
commit bd7667733f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135856
2 changed files with 2 additions and 2 deletions

View File

@ -701,7 +701,7 @@ unsetfunc(char *name)
delete_cmd_entry();
return (0);
}
return (1);
return (0);
}
/*

View File

@ -761,7 +761,7 @@ unsetvar(char *s)
}
}
return (1);
return (0);
}