Browse Source

Plan 9 from Bell Labs 2007-11-25

David du Colombier 17 years ago
parent
commit
6312c12620
5 changed files with 6 additions and 4 deletions
  1. 1 0
      dist/replica/_plan9.db
  2. 1 1
      dist/replica/plan9.db
  3. 1 0
      dist/replica/plan9.log
  4. 1 1
      sys/src/ape/lib/mkfile
  5. 2 2
      sys/src/cmd/acme/look.c

+ 1 - 0
dist/replica/_plan9.db

@@ -15747,3 +15747,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 1018802620 0
+sys/src/cmd/acme/look.c - 664 sys sys 1195964468 14203

+ 1 - 1
dist/replica/plan9.db

@@ -9467,7 +9467,7 @@ sys/src/cmd/acme/exec.c - 664 sys sys 1181880498 28938
 sys/src/cmd/acme/file.c - 664 sys sys 1044626079 5717
 sys/src/cmd/acme/fns.h - 664 sys sys 1107154481 2916
 sys/src/cmd/acme/fsys.c - 664 sys sys 1111171699 13097
-sys/src/cmd/acme/look.c - 664 sys sys 1166822365 14203
+sys/src/cmd/acme/look.c - 664 sys sys 1195964468 14203
 sys/src/cmd/acme/mkfile - 664 sys sys 1058463682 543
 sys/src/cmd/acme/regx.c - 664 sys sys 1181417695 16113
 sys/src/cmd/acme/rows.c - 664 sys sys 1177527677 14708

+ 1 - 0
dist/replica/plan9.log

@@ -55709,3 +55709,4 @@
 1195857003 1168 a dist/replica/cd - 664 sys sys 1149084099 922
 1195857003 1169 a dist/replica/network - 775 sys sys 1189903604 1075
 1195857003 1170 a dist/replica/plan9.proto - 664 sys sys 1178910941 2871
+1195965004 0 c sys/src/cmd/acme/look.c - 664 sys sys 1195964468 14203

+ 1 - 1
sys/src/ape/lib/mkfile

@@ -1,6 +1,6 @@
 </$objtype/mkfile
 
-DIRS=9 ap bsd draw fmt l net regexp utf v
+DIRS=`{ls -l | sed '/^d/!d; s/.* //; /\./d'}
 
 none:V:
 	echo mk all, install, installall, clean, or nuke

+ 2 - 2
sys/src/cmd/acme/look.c

@@ -299,11 +299,11 @@ search(Text *ct, Rune *r, uint n)
 			fbuffree(s);
 			return TRUE;
 		}
-		if(around && q>=ct->q1)
-			break;
 		--nb;
 		b++;
 		q++;
+		if(around && q>=ct->q1)
+			break;
 	}
 	fbuffree(s);
 	return FALSE;