fix unsetenv command; from Matthias Kilian via maintainer William Yodlowsky

This commit is contained in:
pvalchev 2004-08-11 21:24:23 +00:00
parent 29a9da490a
commit affddf8f00

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_actions_c,v 1.3 2004/08/11 21:24:23 pvalchev Exp $
--- src/actions.c.orig Wed May 19 23:33:47 2004
+++ src/actions.c Wed Aug 11 15:15:45 2004
@@ -2752,7 +2752,7 @@ cmd_unsetenv (int interactive, char *dat
}
/* Remove all instances of the env. var. */
- putenv (data);
+ unsetenv (data);
return NULL;
}