[BusyBox-cvs] busybox/editors sed.c,1.167,1.168
Glenn McGrath
bug1 at busybox.net
Mon May 10 08:59:19 UTC 2004
Update of /var/cvs/busybox/editors
In directory nail:/tmp/cvs-serv17205/editors
Modified Files:
sed.c
Log Message:
Fix for debian bug #248106, should use int for returned getopt value.
Index: sed.c
===================================================================
RCS file: /var/cvs/busybox/editors/sed.c,v
retrieving revision 1.167
retrieving revision 1.168
diff -u -d -r1.167 -r1.168
--- a/sed.c 25 Apr 2004 05:11:15 -0000 1.167
+++ b/sed.c 10 May 2004 08:59:17 -0000 1.168
@@ -1096,7 +1096,9 @@
extern int sed_main(int argc, char **argv)
{
- char opt, getpat=1, status = EXIT_SUCCESS;
+ int opt;
+ char getpat=1;
+ char status = EXIT_SUCCESS;
#ifdef CONFIG_FEATURE_CLEAN_UP
/* destroy command strings on exit */
More information about the busybox-cvs
mailing list