[BusyBox-cvs] busybox/shell ash.c,1.73,1.74

Erik Andersen andersen at busybox.net
Wed Aug 6 11:20:54 UTC 2003


Update of /var/cvs/busybox/shell
In directory winder:/tmp/cvs-serv21300/shell

Modified Files:
	ash.c 
Log Message:
Latest dash update from vodz


Index: ash.c
===================================================================
RCS file: /var/cvs/busybox/shell/ash.c,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -d -r1.73 -r1.74
--- ash.c	29 Jul 2003 07:15:17 -0000	1.73
+++ ash.c	6 Aug 2003 11:20:50 -0000	1.74
@@ -26,13 +26,20 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  *
+ * Original BSD copyright notice is retained at the end of this file.
+ */
+
+/*
+ * rewrite arith.y to micro stack based cryptic algorithm by
+ * Copyright (c) 2001 Aaron Lehmann <aaronl at vitelus.com>
  *
- * Modified by Vladimir Oleynik <dzo at simtreas.ru> to be used in busybox
[...1462 lines suppressed...]
+			    if(errcode) goto ret;
+			}
+			if (op == TOK_RPAREN) {
+				goto err;
+			}
+		}
+
+		/* Push this operator to the stack and remember it. */
+		*stackptr++ = lasttok = op;
+
+	  prologue:
+		++expr;
+	}
+    }
+}
+#endif /* CONFIG_ASH_MATH_SUPPORT */
+
 
 #ifdef DEBUG
 const char *bb_applet_name = "debug stuff usage";




More information about the busybox-cvs mailing list