[BusyBox-cvs] busybox/coreutils md5sum.c,1.28,1.29

Glenn McGrath bug1 at busybox.net
Sat Jun 7 14:54:27 UTC 2003


Update of /var/cvs/busybox/coreutils
In directory winder:/tmp/cvs-serv1335/coreutils

Modified Files:
	md5sum.c 
Log Message:
Run through indent


Index: md5sum.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/md5sum.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- md5sum.c	19 Mar 2003 09:11:33 -0000	1.28
+++ md5sum.c	7 Jun 2003 14:54:24 -0000	1.29
@@ -77,16 +77,15 @@
 typedef u_int32_t md5_uint32;
 
 /* Structure to save state of computation between the single steps.  */
-struct md5_ctx
-{
-  md5_uint32 A;
-  md5_uint32 B;
-  md5_uint32 C;
-  md5_uint32 D;
+struct md5_ctx {
+	md5_uint32 A;
[...1657 lines suppressed...]
+					}
+				}
+				putchar('\n');
+			}
+		}
+	}
+
+	if (fclose(stdout) == EOF) {
+		bb_error_msg_and_die("write error");
+	}
+
+	if (have_read_stdin && fclose(stdin) == EOF) {
+		bb_error_msg_and_die(bb_msg_standard_input);
+	}
+
+	if (err == 0)
+		return EXIT_SUCCESS;
+	else
+		return EXIT_FAILURE;
 }



More information about the busybox-cvs mailing list