[BusyBox] Any last fixes for busybox 0.60.1?

Vladimir N. Oleynik dzo at simtreas.ru
Sat Aug 25 06:51:46 UTC 2001


Erik,

> I think the stable branch (this is _not_ what you get in the daily
> snapshots -- you have to do a 'cvs up -t busybox_0_60_stable' to get
> the stable tree) is ready for a release...  Please send in any last
> minute bug fixes.  I am currently planning on making the release on
> Wed Aug 22 12:00:00 MDT (18:00:00 UTC) unless a really bad bug shows
> up.
> 
> Also, please send me Changelog entries if you did any work that is in
> this release -- the Changelog for 0.60.1 is currently very empty...
> 
> The only bug that I know of that is _not_ fixed is the problem where
> msh segfaults when given something like
>         for item in `cat list.txt` ; do echo $item ; done
> 
> If this bug is not fixed by release time (I know vodz has already spent
> many hours looking for a fix), this will go in an "errata" list, and be
> fixed for 0.60.2,

I by default recommend to make ash and also to apply a following patch to ash
to elimination of the retrieved errors in readcmd() and ulimitcmd()
which are not present in the current 061pre version. 

Also, in msh as in its algorithm rigidly is incorporated
impossibility of operation with international characters with the setted 8 bit.
This bug report require full rewrite msh to ash ;-))


--w
vodz
-------------- next part --------------
diff -rbu busybox.orig/Config.h busybox/Config.h
--- busybox.orig/Config.h	Fri Aug 24 02:14:30 2001
+++ busybox/Config.h	Sat Aug 25 16:37:47 2001
@@ -9,7 +9,7 @@
 // BusyBox Applications
 //#define BB_ADJTIMEX
 //#define BB_AR
-//#define BB_ASH
+#define BB_ASH
 #define BB_BASENAME
 #define BB_CAT
 #define BB_CHGRP
@@ -81,7 +81,7 @@
 #define BB_MODPROBE
 #define BB_MORE
 #define BB_MOUNT
-#define BB_MSH
+//#define BB_MSH
 //#define BB_MT
 #define BB_MV
 //#define BB_NC
@@ -151,10 +151,10 @@
 //
 // If you enabled one or more of the shells, you may select which one
 // should be run when sh is invoked:
-//#define BB_FEATURE_SH_IS_ASH
+#define BB_FEATURE_SH_IS_ASH
 //#define BB_FEATURE_SH_IS_HUSH
 //#define BB_FEATURE_SH_IS_LASH
-#define BB_FEATURE_SH_IS_MSH
+//#define BB_FEATURE_SH_IS_MSH
 //
 // BusyBox will, by default, malloc space for its buffers.  This costs code
 // size for the call to xmalloc.  You can use the following feature to have
diff -rbu busybox.orig/ash.c busybox/ash.c
--- busybox.orig/ash.c	Fri Aug 24 02:14:30 2001
+++ busybox/ash.c	Sat Aug 25 16:39:02 2001
@@ -8132,7 +8132,7 @@
 			rflag = 1;
 	}
 	if (prompt && isatty(0)) {
-		putprompt(prompt);
+		out2str(prompt);
 		flushall();
 	}
 	if (*(ap = argptr) == NULL)
@@ -8344,7 +8344,7 @@
 	struct rlimit   limit;
 
 	what = 'f';
-	while ((optc = nextopt("HSatfdsmcnpl")) != '\0')
+	while ((optc = nextopt("HSatfdsmcnplw")) != '\0')
 		switch (optc) {
 		case 'H':
 			how = HARD;


More information about the busybox mailing list