svn commit: trunk/busybox/editors

vda at busybox.net vda at busybox.net
Fri May 18 00:30:44 PDT 2007


Author: vda
Date: 2007-05-18 00:30:43 -0700 (Fri, 18 May 2007)
New Revision: 18647

Log:
awk: fix a trivial bug introduced by me.
This is how it goes. I break stuff by doing useless 'cleanups',
people fix the fallout. :(. Thanks rockeychu!



Modified:
   trunk/busybox/editors/awk.c


Changeset:
Modified: trunk/busybox/editors/awk.c
===================================================================
--- trunk/busybox/editors/awk.c	2007-05-18 00:02:37 UTC (rev 18646)
+++ trunk/busybox/editors/awk.c	2007-05-18 07:30:43 UTC (rev 18647)
@@ -895,7 +895,7 @@
 			while (*p != '/') {
 				if (*p == '\0' || *p == '\n')
 					syntax_error(EMSG_UNEXP_EOS);
-				*s++ = *p++;
+				*s = *p++;
 				if (*s++ == '\\') {
 					pp = p;
 					*(s-1) = bb_process_escape_sequence((const char **)&p);



More information about the busybox-cvs mailing list