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:
parent
e400e0825a
commit
bd7667733f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=135856
@ -701,7 +701,7 @@ unsetfunc(char *name)
|
||||
delete_cmd_entry();
|
||||
return (0);
|
||||
}
|
||||
return (1);
|
||||
return (0);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -761,7 +761,7 @@ unsetvar(char *s)
|
||||
}
|
||||
}
|
||||
|
||||
return (1);
|
||||
return (0);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user