[BusyBox-cvs] busybox/coreutils du.c,1.56,1.57

Glenn McGrath bug1 at busybox.net
Mon May 26 14:06:31 UTC 2003


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

Modified Files:
	du.c 
Log Message:
Vodz, last_patch_86


Index: du.c
===================================================================
RCS file: /var/cvs/busybox/coreutils/du.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- du.c	19 Mar 2003 09:11:33 -0000	1.56
+++ du.c	26 May 2003 14:05:58 -0000	1.57
@@ -144,10 +144,9 @@
 		while ((entry = readdir(dir))) {
 			char *name = entry->d_name;
 
-			if ((name[0] == '.') && (!name[1] || (name[1] == '.' && !name[2]))) {
+			newfile = concat_subpath_file(filename, name);
+			if(newfile == NULL)
 				continue;
-			}
-			newfile = concat_path_file(filename, name);
 			++du_depth;
 			sum += du(newfile);
 			--du_depth;



More information about the busybox-cvs mailing list