Browse Source

Plan 9 from Bell Labs 2008-07-10

David du Colombier 12 years ago
parent
commit
3760a70945
4 changed files with 7 additions and 5 deletions
  1. 2 2
      dist/replica/_plan9.db
  2. 2 2
      dist/replica/plan9.db
  3. 2 0
      dist/replica/plan9.log
  4. 1 1
      sys/src/cmd/du.c

+ 2 - 2
dist/replica/_plan9.db

@@ -224,7 +224,7 @@
 386/bin/disk/prep - 775 sys sys 1210392666 96206
 386/bin/disk/sacfs - 775 sys sys 1020319075 79882
 386/bin/dossrv - 775 sys sys 1209614265 136548
-386/bin/du - 775 sys sys 1179777650 76275
+386/bin/du - 775 sys sys 1215633035 76279
 386/bin/echo - 775 sys sys 1168402304 57592
 386/bin/ecp - 775 sys sys 1179777651 72588
 386/bin/ed - 775 sys sys 1209614267 93474
@@ -10330,7 +10330,7 @@ sys/src/cmd/dossrv/lock.c - 664 sys sys 954305577 504
 sys/src/cmd/dossrv/mkfile - 664 sys sys 1032057270 310
 sys/src/cmd/dossrv/xfile.c - 664 sys sys 1017679315 4391
 sys/src/cmd/dossrv/xfssrv.c - 664 sys sys 1018323479 3397
-sys/src/cmd/du.c - 664 sys sys 1179726818 5425
+sys/src/cmd/du.c - 664 sys sys 1215620597 5427
 sys/src/cmd/echo.c - 664 sys sys 1081736344 581
 sys/src/cmd/ecp.c - 664 sys sys 1179725473 14664
 sys/src/cmd/ed.c - 664 sys sys 1143695286 21933

+ 2 - 2
dist/replica/plan9.db

@@ -224,7 +224,7 @@
 386/bin/disk/prep - 775 sys sys 1210392666 96206
 386/bin/disk/sacfs - 775 sys sys 1020319075 79882
 386/bin/dossrv - 775 sys sys 1209614265 136548
-386/bin/du - 775 sys sys 1179777650 76275
+386/bin/du - 775 sys sys 1215633035 76279
 386/bin/echo - 775 sys sys 1168402304 57592
 386/bin/ecp - 775 sys sys 1179777651 72588
 386/bin/ed - 775 sys sys 1209614267 93474
@@ -10330,7 +10330,7 @@ sys/src/cmd/dossrv/lock.c - 664 sys sys 954305577 504
 sys/src/cmd/dossrv/mkfile - 664 sys sys 1032057270 310
 sys/src/cmd/dossrv/xfile.c - 664 sys sys 1017679315 4391
 sys/src/cmd/dossrv/xfssrv.c - 664 sys sys 1018323479 3397
-sys/src/cmd/du.c - 664 sys sys 1179726818 5425
+sys/src/cmd/du.c - 664 sys sys 1215620597 5427
 sys/src/cmd/echo.c - 664 sys sys 1081736344 581
 sys/src/cmd/ecp.c - 664 sys sys 1179725473 14664
 sys/src/cmd/ed.c - 664 sys sys 1143695286 21933

+ 2 - 0
dist/replica/plan9.log

@@ -20042,3 +20042,5 @@
 1215486004 0 c sys/src/libc/port/strdup.c - 664 sys sys 1014927404 153
 1215540005 0 c 386/bin/aux/vmware - 775 sys sys 1215538601 532
 1215545404 0 c 386/bin/aux/vmware - 775 sys sys 1215545344 532
+1215621004 0 c sys/src/cmd/du.c - 664 sys sys 1215620597 5427
+1215635404 0 c 386/bin/du - 775 sys sys 1215633035 76279

+ 1 - 1
sys/src/cmd/du.c

@@ -88,7 +88,7 @@ main(int argc, char *argv[])
 			blocksize = strtoul(s, &ss, 0);
 			if(s == ss)
 				blocksize = 1;
-			while(*ss == 'k')
+			while(*ss++ == 'k')
 				blocksize *= 1024;
 		}
 		break;