svn commit: trunk/busybox/editors

landley at busybox.net landley at busybox.net
Fri Sep 2 00:10:08 UTC 2005


Author: landley
Date: 2005-09-01 17:10:06 -0700 (Thu, 01 Sep 2005)
New Revision: 11312

Log:
Missing break was screwing up 'y//' command.  Bug #248.


Modified:
   trunk/busybox/editors/sed.c


Changeset:
Modified: trunk/busybox/editors/sed.c
===================================================================
--- trunk/busybox/editors/sed.c	2005-09-01 11:36:21 UTC (rev 11311)
+++ trunk/busybox/editors/sed.c	2005-09-02 00:10:06 UTC (rev 11312)
@@ -1025,6 +1025,7 @@
 							for (j = 0; sed_cmd->string[j]; j += 2) {
 								if (pattern_space[i] == sed_cmd->string[j]) {
 									pattern_space[i] = sed_cmd->string[j + 1];
+									break;
 								}
 							}
 						}




More information about the busybox-cvs mailing list