[BusyBox] ash type cmd problem

Vladimir N. Oleynik dzo at simtreas.ru
Tue Dec 10 07:57:03 UTC 2002


Alexander,


I found one small error from ash typecmd().
Please test it.
May be this problem have your effect into ARM arch?


--w
vodz
-------------- next part --------------
diff -rbu busybox.orig/shell/ash.c busybox/shell/ash.c
--- busybox.orig/shell/ash.c	Tue Dec 10 17:49:10 2002
+++ busybox/shell/ash.c	Tue Dec 10 17:49:56 2002
@@ -3932,7 +3932,7 @@
 		argv_a[0] = argv[i];
 		argptr = argv_a;
 		optptr = "v";
-		err |= hashcmd(argc, argv);
+		err |= hashcmd(2, argv);
 	}
 	return err;
 }


More information about the busybox mailing list