Browse Source

Plan 9 from Bell Labs 2006-12-26

David du Colombier 14 years ago
parent
commit
eeee2d9add
4 changed files with 63 additions and 45 deletions
  1. 20 20
      dist/replica/_plan9.db
  2. 20 20
      dist/replica/plan9.db
  3. 20 0
      dist/replica/plan9.log
  4. 3 5
      sys/src/libmp/port/mptoui.c

+ 20 - 20
dist/replica/_plan9.db

@@ -44,7 +44,7 @@
 386/bin/astro - 775 sys sys 1148500574 138871
 386/bin/auth - 20000000775 sys sys 1016920815 0
 386/bin/auth/aescbc - 775 sys sys 1158607303 140962
-386/bin/auth/asn12rsa - 775 sys sys 1162241032 120927
+386/bin/auth/asn12rsa - 775 sys sys 1167079179 120922
 386/bin/auth/authsrv - 775 sys sys 1162241033 166705
 386/bin/auth/changeuser - 775 sys sys 1162871997 97582
 386/bin/auth/convkeys - 775 sys sys 1158607304 88100
@@ -53,7 +53,7 @@
 386/bin/auth/debug - 775 sys sys 1148500577 101660
 386/bin/auth/disable - 775 sys sys 1020319057 146
 386/bin/auth/enable - 775 sys sys 1020319057 134
-386/bin/auth/factotum - 775 sys sys 1160622236 322179
+386/bin/auth/factotum - 775 sys sys 1167079180 322174
 386/bin/auth/fgui - 775 sys sys 1155491744 219084
 386/bin/auth/guard.srv - 775 sys sys 1162241033 143882
 386/bin/auth/iam - 775 sys sys 1085076981 50791
@@ -64,16 +64,16 @@
 386/bin/auth/pemdecode - 775 sys sys 1148500581 61809
 386/bin/auth/pemencode - 775 sys sys 1148500581 60207
 386/bin/auth/printnetkey - 775 sys sys 1148500581 40434
-386/bin/auth/rsa2csr - 775 sys sys 1162241034 181082
-386/bin/auth/rsa2pub - 775 sys sys 1148500582 143999
-386/bin/auth/rsa2ssh - 775 sys sys 1148500582 139316
-386/bin/auth/rsa2x509 - 775 sys sys 1162241034 184845
-386/bin/auth/rsafill - 775 sys sys 1148500583 144067
-386/bin/auth/rsagen - 775 sys sys 1148500584 153627
+386/bin/auth/rsa2csr - 775 sys sys 1167079180 181077
+386/bin/auth/rsa2pub - 775 sys sys 1167079181 143994
+386/bin/auth/rsa2ssh - 775 sys sys 1167079182 139311
+386/bin/auth/rsa2x509 - 775 sys sys 1167079182 184840
+386/bin/auth/rsafill - 775 sys sys 1167079183 144062
+386/bin/auth/rsagen - 775 sys sys 1167079183 153622
 386/bin/auth/secretpem - 775 sys sys 1045537944 118526
-386/bin/auth/secstore - 775 sys sys 1158607306 196093
-386/bin/auth/secstored - 775 sys sys 1162241035 198061
-386/bin/auth/secuser - 775 sys sys 1148500586 153330
+386/bin/auth/secstore - 775 sys sys 1167079184 196088
+386/bin/auth/secstored - 775 sys sys 1167079184 198056
+386/bin/auth/secuser - 775 sys sys 1167079185 153325
 386/bin/auth/status - 775 sys sys 1020319060 738
 386/bin/auth/uniq - 775 sys sys 1148500586 63408
 386/bin/auth/warning - 775 sys sys 1148500587 101389
@@ -145,7 +145,7 @@
 386/bin/aux/stub - 775 sys sys 1160622238 141184
 386/bin/aux/tcpostio - 775 sys sys 1094040084 200808
 386/bin/aux/text2post - 775 sys sys 1104121986 78336
-386/bin/aux/timesync - 775 sys sys 1148500604 128753
+386/bin/aux/timesync - 775 sys sys 1167079186 128748
 386/bin/aux/tr2post - 775 sys sys 1104121987 176578
 386/bin/aux/trampoline - 775 sys sys 1148500604 84239
 386/bin/aux/typepasswd - 775 sys sys 1148500604 69832
@@ -248,7 +248,7 @@
 386/bin/fs/v10fs - 775 sys sys 1134389867 94594
 386/bin/fs/v6fs - 775 sys sys 1134389867 94512
 386/bin/fs/zipfs - 775 sys sys 1134389867 109110
-386/bin/ftpfs - 775 sys sys 1162241037 273305
+386/bin/ftpfs - 775 sys sys 1167079187 273300
 386/bin/games - 20000000775 sys sys 1096298711 0
 386/bin/games/4s - 775 sys sys 1132506854 178226
 386/bin/games/5s - 775 sys sys 1132506855 180514
@@ -271,7 +271,7 @@
 386/bin/gview - 775 sys sys 1155491751 239077
 386/bin/gzip - 775 sys sys 1148500642 85078
 386/bin/hayes - 775 sys sys 1148500642 64887
-386/bin/hget - 775 sys sys 1162241038 234002
+386/bin/hget - 775 sys sys 1167079188 233997
 386/bin/history - 775 sys sys 1148500644 75799
 386/bin/hoc - 775 sys sys 1155491751 100190
 386/bin/html2ms - 775 sys sys 1148500645 66415
@@ -291,7 +291,7 @@
 386/bin/ip/gping - 775 sys sys 1166847258 183541
 386/bin/ip/hogports - 775 sys sys 1148500655 42914
 386/bin/ip/httpd - 20000000775 sys sys 1068385801 0
-386/bin/ip/httpd/httpd - 775 sys sys 1162241040 295089
+386/bin/ip/httpd/httpd - 775 sys sys 1167079190 295084
 386/bin/ip/httpd/imagemap - 775 sys sys 1148500656 117121
 386/bin/ip/httpd/man2html - 775 sys sys 1148500657 125679
 386/bin/ip/httpd/netlib_find - 775 sys sys 1148500657 117974
@@ -299,7 +299,7 @@
 386/bin/ip/httpd/save - 775 sys sys 1148500658 133531
 386/bin/ip/httpd/webls - 775 sys sys 1148500658 133642
 386/bin/ip/httpd/wikipost - 775 sys sys 1148500658 115002
-386/bin/ip/httpfile - 775 sys sys 1162241041 284361
+386/bin/ip/httpfile - 775 sys sys 1167079190 284356
 386/bin/ip/imap4d - 775 sys sys 1156976707 238121
 386/bin/ip/ipconfig - 775 sys sys 1166819915 139604
 386/bin/ip/ping - 775 sys sys 1166819915 76819
@@ -428,8 +428,8 @@
 386/bin/telnet - 775 sys sys 1162440194 80751
 386/bin/test - 775 sys sys 1164686323 70261
 386/bin/time - 775 sys sys 1148500693 61712
-386/bin/tlsclient - 775 sys sys 1162241048 198972
-386/bin/tlssrv - 775 sys sys 1162241049 199336
+386/bin/tlsclient - 775 sys sys 1167079192 198967
+386/bin/tlssrv - 775 sys sys 1167079192 199331
 386/bin/togif - 775 sys sys 1150062742 190314
 386/bin/toico - 775 sys sys 1150062743 124093
 386/bin/topng - 775 sys sys 1150062743 138777
@@ -563,7 +563,7 @@
 386/lib/libmach.a - 664 sys sys 1158088709 785352
 386/lib/libmemdraw.a - 664 sys sys 1143777866 284092
 386/lib/libmemlayer.a - 664 sys sys 1143777866 47360
-386/lib/libmp.a - 664 sys sys 1144169680 79980
+386/lib/libmp.a - 664 sys sys 1167079193 79978
 386/lib/libndb.a - 664 sys sys 1157916211 64470
 386/lib/libplumb.a - 664 sys sys 1143777866 19408
 386/lib/libregexp.a - 664 sys sys 1143777866 37438
@@ -15379,7 +15379,7 @@ sys/src/libmp/port/mpsub.c - 664 sys sys 984710625 792
 sys/src/libmp/port/mptobe.c - 664 sys sys 1127128751 915
 sys/src/libmp/port/mptoi.c - 664 sys sys 1055700264 580
 sys/src/libmp/port/mptole.c - 664 sys sys 952888274 786
-sys/src/libmp/port/mptoui.c - 664 sys sys 984710625 413
+sys/src/libmp/port/mptoui.c - 664 sys sys 1167066554 438
 sys/src/libmp/port/mptouv.c - 664 sys sys 1141591528 723
 sys/src/libmp/port/mptov.c - 664 sys sys 984710626 983
 sys/src/libmp/port/mpvecadd.c - 664 sys sys 950104715 519

+ 20 - 20
dist/replica/plan9.db

@@ -44,7 +44,7 @@
 386/bin/astro - 775 sys sys 1148500574 138871
 386/bin/auth - 20000000775 sys sys 1016920815 0
 386/bin/auth/aescbc - 775 sys sys 1158607303 140962
-386/bin/auth/asn12rsa - 775 sys sys 1162241032 120927
+386/bin/auth/asn12rsa - 775 sys sys 1167079179 120922
 386/bin/auth/authsrv - 775 sys sys 1162241033 166705
 386/bin/auth/changeuser - 775 sys sys 1162871997 97582
 386/bin/auth/convkeys - 775 sys sys 1158607304 88100
@@ -53,7 +53,7 @@
 386/bin/auth/debug - 775 sys sys 1148500577 101660
 386/bin/auth/disable - 775 sys sys 1020319057 146
 386/bin/auth/enable - 775 sys sys 1020319057 134
-386/bin/auth/factotum - 775 sys sys 1160622236 322179
+386/bin/auth/factotum - 775 sys sys 1167079180 322174
 386/bin/auth/fgui - 775 sys sys 1155491744 219084
 386/bin/auth/guard.srv - 775 sys sys 1162241033 143882
 386/bin/auth/iam - 775 sys sys 1085076981 50791
@@ -64,16 +64,16 @@
 386/bin/auth/pemdecode - 775 sys sys 1148500581 61809
 386/bin/auth/pemencode - 775 sys sys 1148500581 60207
 386/bin/auth/printnetkey - 775 sys sys 1148500581 40434
-386/bin/auth/rsa2csr - 775 sys sys 1162241034 181082
-386/bin/auth/rsa2pub - 775 sys sys 1148500582 143999
-386/bin/auth/rsa2ssh - 775 sys sys 1148500582 139316
-386/bin/auth/rsa2x509 - 775 sys sys 1162241034 184845
-386/bin/auth/rsafill - 775 sys sys 1148500583 144067
-386/bin/auth/rsagen - 775 sys sys 1148500584 153627
+386/bin/auth/rsa2csr - 775 sys sys 1167079180 181077
+386/bin/auth/rsa2pub - 775 sys sys 1167079181 143994
+386/bin/auth/rsa2ssh - 775 sys sys 1167079182 139311
+386/bin/auth/rsa2x509 - 775 sys sys 1167079182 184840
+386/bin/auth/rsafill - 775 sys sys 1167079183 144062
+386/bin/auth/rsagen - 775 sys sys 1167079183 153622
 386/bin/auth/secretpem - 775 sys sys 1045537944 118526
-386/bin/auth/secstore - 775 sys sys 1158607306 196093
-386/bin/auth/secstored - 775 sys sys 1162241035 198061
-386/bin/auth/secuser - 775 sys sys 1148500586 153330
+386/bin/auth/secstore - 775 sys sys 1167079184 196088
+386/bin/auth/secstored - 775 sys sys 1167079184 198056
+386/bin/auth/secuser - 775 sys sys 1167079185 153325
 386/bin/auth/status - 775 sys sys 1020319060 738
 386/bin/auth/uniq - 775 sys sys 1148500586 63408
 386/bin/auth/warning - 775 sys sys 1148500587 101389
@@ -145,7 +145,7 @@
 386/bin/aux/stub - 775 sys sys 1160622238 141184
 386/bin/aux/tcpostio - 775 sys sys 1094040084 200808
 386/bin/aux/text2post - 775 sys sys 1104121986 78336
-386/bin/aux/timesync - 775 sys sys 1148500604 128753
+386/bin/aux/timesync - 775 sys sys 1167079186 128748
 386/bin/aux/tr2post - 775 sys sys 1104121987 176578
 386/bin/aux/trampoline - 775 sys sys 1148500604 84239
 386/bin/aux/typepasswd - 775 sys sys 1148500604 69832
@@ -248,7 +248,7 @@
 386/bin/fs/v10fs - 775 sys sys 1134389867 94594
 386/bin/fs/v6fs - 775 sys sys 1134389867 94512
 386/bin/fs/zipfs - 775 sys sys 1134389867 109110
-386/bin/ftpfs - 775 sys sys 1162241037 273305
+386/bin/ftpfs - 775 sys sys 1167079187 273300
 386/bin/games - 20000000775 sys sys 1096298711 0
 386/bin/games/4s - 775 sys sys 1132506854 178226
 386/bin/games/5s - 775 sys sys 1132506855 180514
@@ -271,7 +271,7 @@
 386/bin/gview - 775 sys sys 1155491751 239077
 386/bin/gzip - 775 sys sys 1148500642 85078
 386/bin/hayes - 775 sys sys 1148500642 64887
-386/bin/hget - 775 sys sys 1162241038 234002
+386/bin/hget - 775 sys sys 1167079188 233997
 386/bin/history - 775 sys sys 1148500644 75799
 386/bin/hoc - 775 sys sys 1155491751 100190
 386/bin/html2ms - 775 sys sys 1148500645 66415
@@ -291,7 +291,7 @@
 386/bin/ip/gping - 775 sys sys 1166847258 183541
 386/bin/ip/hogports - 775 sys sys 1148500655 42914
 386/bin/ip/httpd - 20000000775 sys sys 1068385801 0
-386/bin/ip/httpd/httpd - 775 sys sys 1162241040 295089
+386/bin/ip/httpd/httpd - 775 sys sys 1167079190 295084
 386/bin/ip/httpd/imagemap - 775 sys sys 1148500656 117121
 386/bin/ip/httpd/man2html - 775 sys sys 1148500657 125679
 386/bin/ip/httpd/netlib_find - 775 sys sys 1148500657 117974
@@ -299,7 +299,7 @@
 386/bin/ip/httpd/save - 775 sys sys 1148500658 133531
 386/bin/ip/httpd/webls - 775 sys sys 1148500658 133642
 386/bin/ip/httpd/wikipost - 775 sys sys 1148500658 115002
-386/bin/ip/httpfile - 775 sys sys 1162241041 284361
+386/bin/ip/httpfile - 775 sys sys 1167079190 284356
 386/bin/ip/imap4d - 775 sys sys 1156976707 238121
 386/bin/ip/ipconfig - 775 sys sys 1166819915 139604
 386/bin/ip/ping - 775 sys sys 1166819915 76819
@@ -428,8 +428,8 @@
 386/bin/telnet - 775 sys sys 1162440194 80751
 386/bin/test - 775 sys sys 1164686323 70261
 386/bin/time - 775 sys sys 1148500693 61712
-386/bin/tlsclient - 775 sys sys 1162241048 198972
-386/bin/tlssrv - 775 sys sys 1162241049 199336
+386/bin/tlsclient - 775 sys sys 1167079192 198967
+386/bin/tlssrv - 775 sys sys 1167079192 199331
 386/bin/togif - 775 sys sys 1150062742 190314
 386/bin/toico - 775 sys sys 1150062743 124093
 386/bin/topng - 775 sys sys 1150062743 138777
@@ -563,7 +563,7 @@
 386/lib/libmach.a - 664 sys sys 1158088709 785352
 386/lib/libmemdraw.a - 664 sys sys 1143777866 284092
 386/lib/libmemlayer.a - 664 sys sys 1143777866 47360
-386/lib/libmp.a - 664 sys sys 1144169680 79980
+386/lib/libmp.a - 664 sys sys 1167079193 79978
 386/lib/libndb.a - 664 sys sys 1157916211 64470
 386/lib/libplumb.a - 664 sys sys 1143777866 19408
 386/lib/libregexp.a - 664 sys sys 1143777866 37438
@@ -15379,7 +15379,7 @@ sys/src/libmp/port/mpsub.c - 664 sys sys 984710625 792
 sys/src/libmp/port/mptobe.c - 664 sys sys 1127128751 915
 sys/src/libmp/port/mptoi.c - 664 sys sys 1055700264 580
 sys/src/libmp/port/mptole.c - 664 sys sys 952888274 786
-sys/src/libmp/port/mptoui.c - 664 sys sys 984710625 413
+sys/src/libmp/port/mptoui.c - 664 sys sys 1167066554 438
 sys/src/libmp/port/mptouv.c - 664 sys sys 1141591528 723
 sys/src/libmp/port/mptov.c - 664 sys sys 984710626 983
 sys/src/libmp/port/mpvecadd.c - 664 sys sys 950104715 519

+ 20 - 0
dist/replica/plan9.log

@@ -62320,3 +62320,23 @@
 1166887806 0 c sys/src/cmd/acme/rows.c - 664 sys sys 1166887151 14708
 1166887806 1 c sys/src/cmd/tapefs/v10fs.c - 664 sys sys 1166887348 4096
 1166907606 0 c 386/bin/acme - 775 sys sys 1166906378 432350
+1167067806 0 c sys/src/libmp/port/mptoui.c - 664 sys sys 1167066554 438
+1167080405 0 c 386/bin/hget - 775 sys sys 1167079188 233997
+1167080405 1 c 386/bin/ftpfs - 775 sys sys 1167079187 273300
+1167080405 2 c 386/bin/auth/asn12rsa - 775 sys sys 1167079179 120922
+1167080405 3 c 386/bin/auth/factotum - 775 sys sys 1167079180 322174
+1167080405 4 c 386/bin/auth/rsa2csr - 775 sys sys 1167079180 181077
+1167080405 5 c 386/bin/auth/rsa2pub - 775 sys sys 1167079181 143994
+1167080405 6 c 386/bin/auth/rsa2ssh - 775 sys sys 1167079182 139311
+1167080405 7 c 386/bin/auth/rsa2x509 - 775 sys sys 1167079182 184840
+1167080405 8 c 386/bin/auth/rsafill - 775 sys sys 1167079183 144062
+1167080405 9 c 386/bin/auth/rsagen - 775 sys sys 1167079183 153622
+1167080405 10 c 386/bin/auth/secstore - 775 sys sys 1167079184 196088
+1167080405 11 c 386/bin/auth/secstored - 775 sys sys 1167079184 198056
+1167080405 12 c 386/bin/auth/secuser - 775 sys sys 1167079185 153325
+1167080405 13 c 386/bin/aux/timesync - 775 sys sys 1167079186 128748
+1167080405 14 c 386/bin/ip/httpd/httpd - 775 sys sys 1167079190 295084
+1167080405 15 c 386/bin/ip/httpfile - 775 sys sys 1167079190 284356
+1167080405 16 c 386/bin/tlsclient - 775 sys sys 1167079192 198967
+1167080405 17 c 386/bin/tlssrv - 775 sys sys 1167079192 199331
+1167080405 18 c 386/lib/libmp.a - 664 sys sys 1167079193 79978

+ 3 - 5
sys/src/libmp/port/mptoui.c

@@ -25,11 +25,9 @@ mptoui(mpint *b)
 	uint x;
 
 	x = *b->p;
-	if(b->sign < 0){
+	if(b->sign < 0)
 		x = 0;
-	} else {
-		if(b->top > 1 || x > MAXUINT)
-			x =  MAXUINT;
-	}
+	else if(b->top > 1 || (sizeof(mpdigit) > sizeof(uint) && x > MAXUINT))
+		x =  MAXUINT;
 	return x;
 }