[BusyBox-cvs] busybox/coreutils chgrp.c,1.12,1.13 df.c,1.50,1.51 od.c,1.5,1.6
Manuel Novoa III
mjn3 at busybox.net
Wed Mar 19 09:42:38 UTC 2003
Update of /var/cvs/busybox/coreutils
In directory winder:/home/mjn3/work/busybox/coreutils
Modified Files:
chgrp.c df.c od.c
Log Message:
Things my compiler didn't catch...
Index: chgrp.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/chgrp.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- chgrp.c 19 Mar 2003 09:11:32 -0000 1.12
+++ chgrp.c 19 Mar 2003 09:42:02 -0000 1.13
@@ -47,7 +47,7 @@
int chgrp_main(int argc, char **argv)
{
long gid;
- int recursiveFlag;;
+ int recursiveFlag;
int retval = EXIT_SUCCESS;
char *p;
Index: df.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/df.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- df.c 19 Mar 2003 09:11:33 -0000 1.50
+++ df.c 19 Mar 2003 09:42:02 -0000 1.51
@@ -59,7 +59,7 @@
FILE *mount_table;
struct mntent *mount_entry;
struct statfs s;
- static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */;
+ static const char hdr_1k[] = "1k-blocks"; /* default display is kilobytes */
const char *disp_units_hdr = hdr_1k;
while ((opt = getopt(argc, argv, "k"
Index: od.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/od.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- od.c 19 Mar 2003 09:11:33 -0000 1.5
+++ od.c 19 Mar 2003 09:42:02 -0000 1.6
@@ -167,10 +167,10 @@
int od_main(int argc, char **argv)
{
int ch;
- bb_dump_vflag = FIRST;
- bb_dump_length = -1;
int first = 1;
signed char *p;
+ bb_dump_vflag = FIRST;
+ bb_dump_length = -1;
while ((ch = getopt(argc, argv, od_opts)) > 0) {
if (((p = strchr(od_opts, ch)) != NULL) && (*p >= 0)) {
More information about the busybox-cvs
mailing list