[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox-cvs
Subject: [BusyBox-cvs] busybox/editors sed.c,1.168,1.169
From: bug1 () busybox ! net (Glenn McGrath)
Date: 2004-05-15 20:35:54
Message-ID: 20040516023551.E0426B4007 () codepoet ! org
[Download RAW message or body]
Update of /var/cvs/busybox/editors
In directory nail:/tmp/cvs-serv9906/editors
Modified Files:
sed.c
Log Message:
Use int instead of char for return type, in theory avoiding a cast
Index: sed.c
===================================================================
RCS file: /var/cvs/busybox/editors/sed.c,v
retrieving revision 1.168
retrieving revision 1.169
diff -u -d -r1.168 -r1.169
--- a/sed.c 10 May 2004 08:59:17 -0000 1.168
+++ b/sed.c 16 May 2004 02:35:49 -0000 1.169
@@ -1096,9 +1096,9 @@
extern int sed_main(int argc, char **argv)
{
+ int status = EXIT_SUCCESS;
int opt;
- char getpat=1;
- char status = EXIT_SUCCESS;
+ uint8_t getpat = 1;
#ifdef CONFIG_FEATURE_CLEAN_UP
/* destroy command strings on exit */
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic