Skip to content
Snippets Groups Projects
Commit b0fa8e50 authored by Peter Tyser's avatar Peter Tyser Committed by Wolfgang Denk
Browse files

setenv(): Delete 0-length environment variables


Previously setenv() would only delete an environment variable if it
was passed a NULL string pointer as a value.  It should also delete an
environment variable when it encounters a valid string pointer of
0-length.

This change/fix is generally useful and is necessary for the upcoming
"editenv" command.

Signed-off-by: default avatarPeter Tyser <ptyser@xes-inc.com>
parent ecc5500e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment