[BusyBox] [PATCH] sed

Bastian Blank waldi at debian.org
Sun May 9 15:14:53 UTC 2004


Some days ago a patch breaks sed completely.

Bastian

-- 
We do not colonize.  We conquer.  We rule.  There is no other way for us.
		-- Rojan, "By Any Other Name", stardate 4657.5
-------------- next part --------------
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 425)
+++ debian/changelog	(revision 428)
@@ -1,3 +1,10 @@
+busybox-cvs (20040507-2) unstable; urgency=low
+
+  * editors/sed.c:
+    - Never assign the return value of getopt to char. (closes: #248106)
+
+ -- Bastian Blank <waldi at debian.org>  Sun, 09 May 2004 16:34:41 +0200
+
 busybox-cvs (20040507-1) unstable; urgency=low
 
   * New CVS version
Index: editors/sed.c
===================================================================
--- editors/sed.c	(revision 425)
+++ editors/sed.c	(revision 428)
@@ -1096,7 +1096,7 @@
 
 extern int sed_main(int argc, char **argv)
 {
-	char opt, getpat=1, status = EXIT_SUCCESS;
+	int opt, getpat=1, status = EXIT_SUCCESS;
 
 #ifdef CONFIG_FEATURE_CLEAN_UP
 	/* destroy command strings on exit */
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.busybox.net/pipermail/busybox/attachments/20040509/f2e36b12/attachment-0002.pgp 


More information about the busybox mailing list