Browse Source

Plan 9 from Bell Labs 2006-03-28

David du Colombier 15 years ago
parent
commit
a2d29137e2

+ 15 - 15
dist/replica/_plan9.db

@@ -289,19 +289,19 @@
 386/bin/ip/gping - 775 sys sys 1142871035 183143
 386/bin/ip/hogports - 775 sys sys 1130384298 42901
 386/bin/ip/httpd - 20000000775 sys sys 1016920846 0
-386/bin/ip/httpd/httpd - 775 sys sys 1142871035 294687
+386/bin/ip/httpd/httpd - 775 sys sys 1143482342 294691
 386/bin/ip/httpd/imagemap - 775 sys sys 1142871036 116764
 386/bin/ip/httpd/man2html - 775 sys sys 1142871036 125326
 386/bin/ip/httpd/netlib_find - 775 sys sys 1142871036 117621
 386/bin/ip/httpd/netlib_history - 775 sys sys 1142871037 116419
-386/bin/ip/httpd/save - 775 sys sys 1142871037 133178
+386/bin/ip/httpd/save - 775 sys sys 1143482342 133176
 386/bin/ip/httpd/webls - 775 sys sys 1142871037 133277
 386/bin/ip/httpd/wikipost - 775 sys sys 1142871038 114645
 386/bin/ip/httpfile - 775 sys sys 1140717389 283942
 386/bin/ip/imap4d - 775 sys sys 1140717389 237709
 386/bin/ip/ipconfig - 775 sys sys 1135570825 137844
 386/bin/ip/ping - 775 sys sys 1139680592 76498
-386/bin/ip/ppp - 775 sys sys 1135570826 219950
+386/bin/ip/ppp - 775 sys sys 1143482342 219951
 386/bin/ip/pppoe - 775 sys sys 1135570826 77544
 386/bin/ip/pptp - 775 sys sys 1138500632 127014
 386/bin/ip/pptpd - 775 sys sys 1135570827 125862
@@ -572,8 +572,8 @@
 386/lib/libventi.a - 664 sys sys 1143309603 97998
 386/mbr - 775 sys sys 1131317338 407
 386/mkfile - 664 sys sys 948141303 46
-386/pbs - 775 sys sys 1131317339 494
-386/pbslba - 775 sys sys 1131317342 507
+386/pbs - 775 sys sys 1143465402 495
+386/pbslba - 775 sys sys 1143465402 508
 68000 - 20000000775 sys sys 947991045 0
 68000/bin - 20000000775 sys sys 985559408 0
 68000/bin/bitsy - 20000000775 sys sys 985559408 0
@@ -5749,7 +5749,7 @@ sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
 sys/games/lib/4scores - 10000000666 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000666 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1142795692 257917
+sys/games/lib/fortunes - 664 sys sys 1143487643 258076
 sys/games/lib/mahjongg - 20000000775 sys sys 1095792278 0
 sys/games/lib/mahjongg/backgrounds - 20000000775 sys sys 1095792293 0
 sys/games/lib/mahjongg/backgrounds/default.bit - 664 sys sys 1095792293 346803
@@ -7887,7 +7887,7 @@ sys/src/9/ip/inferno.c - 664 sys sys 1022588098 517
 sys/src/9/ip/ip.c - 664 sys sys 1101906449 15285
 sys/src/9/ip/ip.h - 664 sys sys 1091904429 15818
 sys/src/9/ip/ipaux.c - 664 sys sys 1079538100 12862
-sys/src/9/ip/ipifc.c - 664 sys sys 1115566009 34255
+sys/src/9/ip/ipifc.c - 664 sys sys 1143463302 34259
 sys/src/9/ip/ipmux.c - 664 sys sys 1047260566 15362
 sys/src/9/ip/iproute.c - 664 sys sys 1049423192 14763
 sys/src/9/ip/ipv6.c - 664 sys sys 1047951328 14433
@@ -9056,12 +9056,12 @@ sys/src/boot/pc/memory.c - 664 sys sys 1019533021 10272
 sys/src/boot/pc/mkfile - 664 sys sys 1103641863 3105
 sys/src/boot/pc/noether.c - 664 sys sys 1094674488 358
 sys/src/boot/pc/part.c - 664 sys sys 1114697151 7153
-sys/src/boot/pc/pbs.s - 664 sys sys 1017854325 8279
+sys/src/boot/pc/pbs.s - 664 sys sys 1143465387 8291
 sys/src/boot/pc/pbsdisk - 775 sys sys 1017854325 509
 sys/src/boot/pc/pbsdisk.s - 664 sys sys 1017854325 6371
 sys/src/boot/pc/pbsdisklba - 775 sys sys 1015007954 509
 sys/src/boot/pc/pbsdisklba.s - 664 sys sys 1015007954 6022
-sys/src/boot/pc/pbslba.s - 664 sys sys 1017854326 8147
+sys/src/boot/pc/pbslba.s - 664 sys sys 1143465392 8158
 sys/src/boot/pc/pci.c - 664 sys sys 1121366869 17898
 sys/src/boot/pc/print.c - 664 sys sys 1094674483 219
 sys/src/boot/pc/queue.c - 664 sys sys 1015007954 566
@@ -9517,16 +9517,16 @@ sys/src/cmd/auth/rsagen.c - 664 sys sys 1048614963 992
 sys/src/cmd/auth/secstore - 20000000775 sys sys 1017337838 0
 sys/src/cmd/auth/secstore/SConn.c - 664 sys sys 1064789003 4419
 sys/src/cmd/auth/secstore/SConn.h - 664 sys sys 1015008431 955
-sys/src/cmd/auth/secstore/aescbc.c - 664 sys sys 1140272943 4064
+sys/src/cmd/auth/secstore/aescbc.c - 664 sys sys 1143465912 4063
 sys/src/cmd/auth/secstore/dirls.c - 664 sys sys 1062277640 1842
 sys/src/cmd/auth/secstore/mkfile - 664 sys sys 1106577499 836
 sys/src/cmd/auth/secstore/pak.c - 664 sys sys 1140272943 9314
 sys/src/cmd/auth/secstore/password.c - 664 sys sys 1106577427 2929
 sys/src/cmd/auth/secstore/secchk.c - 664 sys sys 1055698993 560
-sys/src/cmd/auth/secstore/secstore.c - 664 sys sys 1140272944 12679
+sys/src/cmd/auth/secstore/secstore.c - 664 sys sys 1143465894 12678
 sys/src/cmd/auth/secstore/secstore.h - 664 sys sys 1106575526 859
 sys/src/cmd/auth/secstore/secstored.c - 664 sys sys 1140272944 8087
-sys/src/cmd/auth/secstore/secuser.c - 664 sys sys 1140272944 5137
+sys/src/cmd/auth/secstore/secuser.c - 664 sys sys 1143465899 5136
 sys/src/cmd/auth/secstore/util.c - 664 sys sys 1140272945 1770
 sys/src/cmd/auth/secureidcheck.c - 664 sys sys 1078840013 9007
 sys/src/cmd/auth/status - 775 sys sys 1015008430 738
@@ -9832,7 +9832,7 @@ sys/src/cmd/cc/compat.c - 664 sys sys 1132451523 454
 sys/src/cmd/cc/dcl.c - 664 sys sys 1142726518 27014
 sys/src/cmd/cc/dpchk.c - 664 sys sys 1107365037 7152
 sys/src/cmd/cc/funct.c - 664 sys sys 984718510 6167
-sys/src/cmd/cc/lex.c - 664 sys sys 1143384810 24178
+sys/src/cmd/cc/lex.c - 664 sys sys 1143463268 24200
 sys/src/cmd/cc/lexbody - 664 sys sys 1131293457 9188
 sys/src/cmd/cc/mac.c - 664 sys sys 944960808 36
 sys/src/cmd/cc/macbody - 664 sys sys 1108281581 11703
@@ -12318,7 +12318,7 @@ sys/src/cmd/ip/httpd/authorize.c - 664 sys sys 1016902735 2387
 sys/src/cmd/ip/httpd/classify.c - 664 sys sys 1078840017 9665
 sys/src/cmd/ip/httpd/content.c - 664 sys sys 1015090170 3140
 sys/src/cmd/ip/httpd/emem.c - 664 sys sys 984773807 278
-sys/src/cmd/ip/httpd/hints.c - 664 sys sys 1024927592 6314
+sys/src/cmd/ip/httpd/hints.c - 664 sys sys 1143465802 6312
 sys/src/cmd/ip/httpd/httpd.c - 664 sys sys 1142178185 11356
 sys/src/cmd/ip/httpd/httpsrv.h - 664 sys sys 1142178186 1388
 sys/src/cmd/ip/httpd/imagemap.c - 664 sys sys 984773808 5229
@@ -12368,7 +12368,7 @@ sys/src/cmd/ip/ppp/dotest - 775 sys sys 944961006 152
 sys/src/cmd/ip/ppp/ipaux.c - 664 sys sys 1125529107 2328
 sys/src/cmd/ip/ppp/mkfile - 664 sys sys 1063897576 352
 sys/src/cmd/ip/ppp/mppc.c - 664 sys sys 1015090267 16624
-sys/src/cmd/ip/ppp/ppp.c - 664 sys sys 1135487952 59911
+sys/src/cmd/ip/ppp/ppp.c - 664 sys sys 1143465826 59909
 sys/src/cmd/ip/ppp/ppp.h - 664 sys sys 1091904423 8284
 sys/src/cmd/ip/ppp/testppp.c - 664 sys sys 1045505281 3011
 sys/src/cmd/ip/ppp/thw.c - 664 sys sys 1015090268 5962

+ 15 - 15
dist/replica/plan9.db

@@ -289,19 +289,19 @@
 386/bin/ip/gping - 775 sys sys 1142871035 183143
 386/bin/ip/hogports - 775 sys sys 1130384298 42901
 386/bin/ip/httpd - 20000000775 sys sys 1016920846 0
-386/bin/ip/httpd/httpd - 775 sys sys 1142871035 294687
+386/bin/ip/httpd/httpd - 775 sys sys 1143482342 294691
 386/bin/ip/httpd/imagemap - 775 sys sys 1142871036 116764
 386/bin/ip/httpd/man2html - 775 sys sys 1142871036 125326
 386/bin/ip/httpd/netlib_find - 775 sys sys 1142871036 117621
 386/bin/ip/httpd/netlib_history - 775 sys sys 1142871037 116419
-386/bin/ip/httpd/save - 775 sys sys 1142871037 133178
+386/bin/ip/httpd/save - 775 sys sys 1143482342 133176
 386/bin/ip/httpd/webls - 775 sys sys 1142871037 133277
 386/bin/ip/httpd/wikipost - 775 sys sys 1142871038 114645
 386/bin/ip/httpfile - 775 sys sys 1140717389 283942
 386/bin/ip/imap4d - 775 sys sys 1140717389 237709
 386/bin/ip/ipconfig - 775 sys sys 1135570825 137844
 386/bin/ip/ping - 775 sys sys 1139680592 76498
-386/bin/ip/ppp - 775 sys sys 1135570826 219950
+386/bin/ip/ppp - 775 sys sys 1143482342 219951
 386/bin/ip/pppoe - 775 sys sys 1135570826 77544
 386/bin/ip/pptp - 775 sys sys 1138500632 127014
 386/bin/ip/pptpd - 775 sys sys 1135570827 125862
@@ -572,8 +572,8 @@
 386/lib/libventi.a - 664 sys sys 1143309603 97998
 386/mbr - 775 sys sys 1131317338 407
 386/mkfile - 664 sys sys 948141303 46
-386/pbs - 775 sys sys 1131317339 494
-386/pbslba - 775 sys sys 1131317342 507
+386/pbs - 775 sys sys 1143465402 495
+386/pbslba - 775 sys sys 1143465402 508
 68000 - 20000000775 sys sys 947991045 0
 68000/bin - 20000000775 sys sys 985559408 0
 68000/bin/bitsy - 20000000775 sys sys 985559408 0
@@ -5749,7 +5749,7 @@ sys/games - 20000000775 sys sys 952648872 0
 sys/games/lib - 20000000775 sys sys 952648879 0
 sys/games/lib/4scores - 10000000666 sys sys 1118680448 0
 sys/games/lib/5scores - 10000000666 sys sys 1118680453 0
-sys/games/lib/fortunes - 664 sys sys 1142795692 257917
+sys/games/lib/fortunes - 664 sys sys 1143487643 258076
 sys/games/lib/mahjongg - 20000000775 sys sys 1095792278 0
 sys/games/lib/mahjongg/backgrounds - 20000000775 sys sys 1095792293 0
 sys/games/lib/mahjongg/backgrounds/default.bit - 664 sys sys 1095792293 346803
@@ -7887,7 +7887,7 @@ sys/src/9/ip/inferno.c - 664 sys sys 1022588098 517
 sys/src/9/ip/ip.c - 664 sys sys 1101906449 15285
 sys/src/9/ip/ip.h - 664 sys sys 1091904429 15818
 sys/src/9/ip/ipaux.c - 664 sys sys 1079538100 12862
-sys/src/9/ip/ipifc.c - 664 sys sys 1115566009 34255
+sys/src/9/ip/ipifc.c - 664 sys sys 1143463302 34259
 sys/src/9/ip/ipmux.c - 664 sys sys 1047260566 15362
 sys/src/9/ip/iproute.c - 664 sys sys 1049423192 14763
 sys/src/9/ip/ipv6.c - 664 sys sys 1047951328 14433
@@ -9056,12 +9056,12 @@ sys/src/boot/pc/memory.c - 664 sys sys 1019533021 10272
 sys/src/boot/pc/mkfile - 664 sys sys 1103641863 3105
 sys/src/boot/pc/noether.c - 664 sys sys 1094674488 358
 sys/src/boot/pc/part.c - 664 sys sys 1114697151 7153
-sys/src/boot/pc/pbs.s - 664 sys sys 1017854325 8279
+sys/src/boot/pc/pbs.s - 664 sys sys 1143465387 8291
 sys/src/boot/pc/pbsdisk - 775 sys sys 1017854325 509
 sys/src/boot/pc/pbsdisk.s - 664 sys sys 1017854325 6371
 sys/src/boot/pc/pbsdisklba - 775 sys sys 1015007954 509
 sys/src/boot/pc/pbsdisklba.s - 664 sys sys 1015007954 6022
-sys/src/boot/pc/pbslba.s - 664 sys sys 1017854326 8147
+sys/src/boot/pc/pbslba.s - 664 sys sys 1143465392 8158
 sys/src/boot/pc/pci.c - 664 sys sys 1121366869 17898
 sys/src/boot/pc/print.c - 664 sys sys 1094674483 219
 sys/src/boot/pc/queue.c - 664 sys sys 1015007954 566
@@ -9517,16 +9517,16 @@ sys/src/cmd/auth/rsagen.c - 664 sys sys 1048614963 992
 sys/src/cmd/auth/secstore - 20000000775 sys sys 1017337838 0
 sys/src/cmd/auth/secstore/SConn.c - 664 sys sys 1064789003 4419
 sys/src/cmd/auth/secstore/SConn.h - 664 sys sys 1015008431 955
-sys/src/cmd/auth/secstore/aescbc.c - 664 sys sys 1140272943 4064
+sys/src/cmd/auth/secstore/aescbc.c - 664 sys sys 1143465912 4063
 sys/src/cmd/auth/secstore/dirls.c - 664 sys sys 1062277640 1842
 sys/src/cmd/auth/secstore/mkfile - 664 sys sys 1106577499 836
 sys/src/cmd/auth/secstore/pak.c - 664 sys sys 1140272943 9314
 sys/src/cmd/auth/secstore/password.c - 664 sys sys 1106577427 2929
 sys/src/cmd/auth/secstore/secchk.c - 664 sys sys 1055698993 560
-sys/src/cmd/auth/secstore/secstore.c - 664 sys sys 1140272944 12679
+sys/src/cmd/auth/secstore/secstore.c - 664 sys sys 1143465894 12678
 sys/src/cmd/auth/secstore/secstore.h - 664 sys sys 1106575526 859
 sys/src/cmd/auth/secstore/secstored.c - 664 sys sys 1140272944 8087
-sys/src/cmd/auth/secstore/secuser.c - 664 sys sys 1140272944 5137
+sys/src/cmd/auth/secstore/secuser.c - 664 sys sys 1143465899 5136
 sys/src/cmd/auth/secstore/util.c - 664 sys sys 1140272945 1770
 sys/src/cmd/auth/secureidcheck.c - 664 sys sys 1078840013 9007
 sys/src/cmd/auth/status - 775 sys sys 1015008430 738
@@ -9832,7 +9832,7 @@ sys/src/cmd/cc/compat.c - 664 sys sys 1132451523 454
 sys/src/cmd/cc/dcl.c - 664 sys sys 1142726518 27014
 sys/src/cmd/cc/dpchk.c - 664 sys sys 1107365037 7152
 sys/src/cmd/cc/funct.c - 664 sys sys 984718510 6167
-sys/src/cmd/cc/lex.c - 664 sys sys 1143384810 24178
+sys/src/cmd/cc/lex.c - 664 sys sys 1143463268 24200
 sys/src/cmd/cc/lexbody - 664 sys sys 1131293457 9188
 sys/src/cmd/cc/mac.c - 664 sys sys 944960808 36
 sys/src/cmd/cc/macbody - 664 sys sys 1108281581 11703
@@ -12318,7 +12318,7 @@ sys/src/cmd/ip/httpd/authorize.c - 664 sys sys 1016902735 2387
 sys/src/cmd/ip/httpd/classify.c - 664 sys sys 1078840017 9665
 sys/src/cmd/ip/httpd/content.c - 664 sys sys 1015090170 3140
 sys/src/cmd/ip/httpd/emem.c - 664 sys sys 984773807 278
-sys/src/cmd/ip/httpd/hints.c - 664 sys sys 1024927592 6314
+sys/src/cmd/ip/httpd/hints.c - 664 sys sys 1143465802 6312
 sys/src/cmd/ip/httpd/httpd.c - 664 sys sys 1142178185 11356
 sys/src/cmd/ip/httpd/httpsrv.h - 664 sys sys 1142178186 1388
 sys/src/cmd/ip/httpd/imagemap.c - 664 sys sys 984773808 5229
@@ -12368,7 +12368,7 @@ sys/src/cmd/ip/ppp/dotest - 775 sys sys 944961006 152
 sys/src/cmd/ip/ppp/ipaux.c - 664 sys sys 1125529107 2328
 sys/src/cmd/ip/ppp/mkfile - 664 sys sys 1063897576 352
 sys/src/cmd/ip/ppp/mppc.c - 664 sys sys 1015090267 16624
-sys/src/cmd/ip/ppp/ppp.c - 664 sys sys 1135487952 59911
+sys/src/cmd/ip/ppp/ppp.c - 664 sys sys 1143465826 59909
 sys/src/cmd/ip/ppp/ppp.h - 664 sys sys 1091904423 8284
 sys/src/cmd/ip/ppp/testppp.c - 664 sys sys 1045505281 3011
 sys/src/cmd/ip/ppp/thw.c - 664 sys sys 1015090268 5962

+ 16 - 0
dist/replica/plan9.log

@@ -28321,3 +28321,19 @@
 1143396124 0 c 386/bin/8c - 775 sys sys 1143396110 363837
 1143396124 1 c 386/bin/htmlfmt - 775 sys sys 1143396110 163047
 1143396124 2 c 386/lib/libhtml.a - 664 sys sys 1143396111 229478
+1143464429 0 c sys/src/9/ip/ipifc.c - 664 sys sys 1143463302 34259
+1143464429 1 c sys/src/cmd/cc/lex.c - 664 sys sys 1143463268 24200
+1143466229 0 c 386/pbs - 775 sys sys 1143465402 495
+1143466229 1 c 386/pbslba - 775 sys sys 1143465402 508
+1143466229 2 c sys/src/boot/pc/pbs.s - 664 sys sys 1143465387 8291
+1143466229 3 c sys/src/boot/pc/pbslba.s - 664 sys sys 1143465392 8158
+1143466229 4 c sys/src/cmd/auth/secstore/aescbc.c - 664 sys sys 1143465912 4063
+1143466229 5 c sys/src/cmd/auth/secstore/secstore.c - 664 sys sys 1143465894 12678
+1143466229 6 c sys/src/cmd/auth/secstore/secuser.c - 664 sys sys 1143465899 5136
+1143466229 7 c sys/src/cmd/ip/httpd/hints.c - 664 sys sys 1143465802 6312
+1143466229 8 c sys/src/cmd/ip/ppp/ppp.c - 664 sys sys 1143465826 59909
+1143478833 0 c sys/games/lib/fortunes - 664 sys sys 1143477341 258077
+1143482435 0 c 386/bin/ip/httpd/httpd - 775 sys sys 1143482342 294691
+1143482435 1 c 386/bin/ip/httpd/save - 775 sys sys 1143482342 133176
+1143482435 2 c 386/bin/ip/ppp - 775 sys sys 1143482342 219951
+1143487836 0 c sys/games/lib/fortunes - 664 sys sys 1143487643 258076

+ 2 - 1
sys/games/lib/fortunes

@@ -4109,5 +4109,6 @@ Nothing is good enough for the fortune file! - Dan Cross
 Tried to read 71776119061217303 bytes. Read only 23
 /dev/shm/root has gone 49710 days without being checked, check forced.
 x11 code is just so bad. by which i mean bad of course, and not good.  - forsyth
-Peter Seebach is not POSIX compliant, but runs most UNIX applications.
+Peter Seebach is not POSIX compliant but runs most UNIX applications.
 Glyph 390 is called ".notdef", a singularly inept choice of name.
+Well, I have tried to learn as much as possible from prior attempts.  If nothing else, we are committed to failing in a new way :)  - Elon Musk, SpaceX founder

+ 1 - 0
sys/src/9/ip/ipifc.c

@@ -831,6 +831,7 @@ ipifcctl(Conv* c, char**argv, int argc)
 	return "unsupported ctl";
 }
 
+int
 ipifcstats(Proto *ipifc, char *buf, int len)
 {
 	return ipstats(ipifc->f, buf, len);

+ 2 - 2
sys/src/boot/pc/pbs.s

@@ -367,6 +367,6 @@ TEXT bootfile(SB), $0
 
 /* "PBS..." */
 TEXT confidence(SB), $0
-	BYTE $'P'; BYTE $'B'; BYTE $'S'; BYTE $'.';
-	BYTE $'.'; BYTE $'.';
+	BYTE $'P'; BYTE $'B'; BYTE $'S'; BYTE $'1'; 
+	BYTE $'.'; BYTE $'.'; BYTE $'.';
 	BYTE $'\z';

+ 2 - 2
sys/src/boot/pc/pbslba.s

@@ -357,6 +357,6 @@ TEXT bootfile(SB), $0
 
 /* "PBS..." */
 TEXT confidence(SB), $0
-	BYTE $'P'; BYTE $'B'; BYTE $'S'; BYTE $'.';
-	BYTE $'.'; BYTE $'.';
+	BYTE $'P'; BYTE $'B'; BYTE $'S'; BYTE $'2';
+	BYTE $'.'; BYTE $'.'; BYTE $'.';
 	BYTE $'\z';

+ 1 - 1
sys/src/cmd/auth/secstore/aescbc.c

@@ -100,7 +100,7 @@ main(int argc, char **argv)
 		aesCBCencrypt(buf+AESbsize, AESbsize, &aes);  /* use second AESbsize bytes as initial plaintext */
 		safewrite(buf, 2*AESbsize);
 		dstate = hmac_sha1(buf+AESbsize, AESbsize, key2, MD5dlen, 0, 0);
-		while(1){
+		for(;;){
 			n = Bread(&bin, buf, BUF);
 			if(n < 0)
 				sysfatal("read error");

+ 1 - 1
sys/src/cmd/auth/secstore/secstore.c

@@ -406,7 +406,7 @@ login(char *id, char *dest, int pass_stdin, int pass_nvram)
 		}
 		strecpy(c->pass, c->pass+sizeof c->pass, s);
 	}
-	while(1){
+	for(;;){
 		if(verbose)
 			fprint(2, "dialing %s\n", dest);
 		if((fd = dial(dest, nil, nil, nil)) < 0){

+ 1 - 1
sys/src/cmd/auth/secstore/secuser.c

@@ -225,7 +225,7 @@ userinput(char *buf, int blen)
 {
 	int n;
 
-	while(1){
+	for(;;){
 		n = read(0, buf, blen);
 		if(n<=0)
 			exits("read error");

+ 1 - 0
sys/src/cmd/cc/lex.c

@@ -24,6 +24,7 @@
  *	-p		use standard cpp ANSI preprocessor (not on windows)
  *	-r		print registerization
  *	-s		print structure offsets (with -a or -aa)
+ *	-S		print assembly
  *	-t		print type trees
  *	-V		enable void* conversion warnings
  *	-v		verbose printing

+ 2 - 2
sys/src/cmd/ip/httpd/hints.c

@@ -51,7 +51,7 @@ urllookup(uint url)
 
 	hash = 1 + url%(URLmax-1);
 	j = urlhash[hash];
-	while(1){
+	for(;;){
 		if(j==0)
 			return -hash;
 		if(url==urltab[j])
@@ -185,7 +185,7 @@ statsinit(void)
 	}
 	arena = (Hint*)ezalloc((filelen/3)*sizeof(Hint));
 	oldarena = arena;
-	while(1){
+	for(;;){
 		i = Bread(b,buf,3);
 		if(i<3)
 			break;

+ 1 - 1
sys/src/cmd/ip/ppp/ppp.c

@@ -2554,7 +2554,7 @@ connect(int fd, int cfd)
 
 		p = buf;
 		lineno = 0;
-		while (1) {
+		for(;;) {
 			char *_args[3];
 
 			if ((s = strchr(p, '\n')) == nil)