svn commit: trunk/busybox/shell
vda at busybox.net
vda at busybox.net
Thu May 10 23:05:29 UTC 2007
Author: vda
Date: 2007-05-10 16:05:28 -0700 (Thu, 10 May 2007)
New Revision: 18605
Log:
hush: fix recent breakage (VAR=VAL stopped working)
Modified:
trunk/busybox/shell/hush.c
Changeset:
Modified: trunk/busybox/shell/hush.c
===================================================================
--- trunk/busybox/shell/hush.c 2007-05-10 09:20:20 UTC (rev 18604)
+++ trunk/busybox/shell/hush.c 2007-05-10 23:05:28 UTC (rev 18605)
@@ -2420,7 +2420,7 @@
result = -1;
} else {
cur->name = strdup(name);
- if (cur->name) {
+ if (!cur->name) {
free(cur);
result = -1;
} else {
More information about the busybox-cvs
mailing list