Browse Source

Plan 9 from Bell Labs 2008-09-08

David du Colombier 11 years ago
parent
commit
a655e7623a
4 changed files with 6 additions and 6 deletions
  1. 2 1
      dist/replica/_plan9.db
  2. 2 2
      dist/replica/plan9.db
  3. 2 0
      dist/replica/plan9.log
  4. 0 3
      sys/src/libc/port/nrand.c

+ 2 - 1
dist/replica/_plan9.db

@@ -15134,7 +15134,7 @@ sys/src/libc/port/nan.c - 664 sys sys 1014927399 610
 sys/src/libc/port/needsrcquote.c - 664 sys sys 1155363805 152
 sys/src/libc/port/netcrypt.c - 664 sys sys 1014927400 317
 sys/src/libc/port/netmkaddr.c - 664 sys sys 1014927400 863
-sys/src/libc/port/nrand.c - 664 sys sys 1220676342 262
+sys/src/libc/port/nrand.c - 664 sys sys 1035832917 191
 sys/src/libc/port/ntruerand.c - 664 sys sys 1014927400 371
 sys/src/libc/port/perror.c - 664 sys sys 1014927400 199
 sys/src/libc/port/pool.acid - 664 sys sys 1143759318 12028
@@ -15884,3 +15884,4 @@ usr/glenda/lib/profile - 664 glenda glenda 1105128663 890
 usr/glenda/readme.acme - 664 glenda glenda 1019860628 4753
 usr/glenda/readme.rio - 664 glenda glenda 1019860628 6370
 usr/glenda/tmp - 20000000775 glenda glenda 1020896385 0
+386/lib/libc.a - 664 sys sys 1220843761 506328

+ 2 - 2
dist/replica/plan9.db

@@ -571,7 +571,7 @@
 386/lib/libavl.a - 664 sys sys 1209184393 11574
 386/lib/libbin.a - 664 sys sys 1209184393 2562
 386/lib/libbio.a - 664 sys sys 1209614882 26256
-386/lib/libc.a - 664 sys sys 1210393270 506282
+386/lib/libc.a - 664 sys sys 1220843761 506328
 386/lib/libcomplete.a - 664 sys sys 1209184402 6440
 386/lib/libcontrol.a - 664 sys sys 1209184407 276774
 386/lib/libdisk.a - 664 sys sys 1210393271 42816
@@ -15134,7 +15134,7 @@ sys/src/libc/port/nan.c - 664 sys sys 1014927399 610
 sys/src/libc/port/needsrcquote.c - 664 sys sys 1155363805 152
 sys/src/libc/port/netcrypt.c - 664 sys sys 1014927400 317
 sys/src/libc/port/netmkaddr.c - 664 sys sys 1014927400 863
-sys/src/libc/port/nrand.c - 664 sys sys 1220676342 262
+sys/src/libc/port/nrand.c - 664 sys sys 1035832917 191
 sys/src/libc/port/ntruerand.c - 664 sys sys 1014927400 371
 sys/src/libc/port/perror.c - 664 sys sys 1014927400 199
 sys/src/libc/port/pool.acid - 664 sys sys 1143759318 12028

+ 2 - 0
dist/replica/plan9.log

@@ -36107,3 +36107,5 @@
 1220677205 3 c sys/src/9/pc/kbd.c - 664 sys sys 1220676682 13290
 1220677205 4 c sys/src/9/pc/mp.c - 664 sys sys 1220676659 17394
 1220677205 5 c sys/src/libc/port/nrand.c - 664 sys sys 1220676342 262
+1220815804 0 c sys/src/libc/port/nrand.c - 664 sys sys 1035832917 191
+1220844603 0 c 386/lib/libc.a - 664 sys sys 1220843761 506328

+ 0 - 3
sys/src/libc/port/nrand.c

@@ -10,9 +10,6 @@ nrand(int n)
 
 	if(n < 0)
 		return n;
-	if(n == 1)
-		return 0;
-	/* and if n == 0, you deserve what you get */
 	slop = MASK % n;
 	do
 		v = lrand();