[BusyBox-cvs] busybox/coreutils cal.c,1.7,1.8

Manuel Novoa III mjn3 at busybox.net
Wed Aug 13 12:11:37 UTC 2003


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

Modified Files:
	cal.c 
Log Message:
Remove unnecessary pointer dereference.


Index: cal.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/cal.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cal.c	9 Aug 2003 02:57:55 -0000	1.7
+++ cal.c	13 Aug 2003 12:11:33 -0000	1.8
@@ -324,7 +324,7 @@
 	do {
 		if ((day = *dp++) != SPACE) {
 			if (julian) {
-				*++p;
+				++p;
 				if (day >= 100) {
 					*p = '0';
 					p[-1] = (day / 100) + '0';




More information about the busybox-cvs mailing list