Browse Source

Plan 9 from Bell Labs 2003-10-26

David du Colombier 20 years ago
parent
commit
537708ddc1
4 changed files with 13 additions and 5 deletions
  1. 2 2
      dist/replica/plan9.db
  2. 2 0
      dist/replica/plan9.log
  3. 7 3
      sys/src/9/bitsy/mkfile
  4. 2 0
      sys/src/9/port/lib.h

+ 2 - 2
dist/replica/plan9.db

@@ -5089,7 +5089,7 @@ sys/src/9/bitsy/l.s - 664 sys sys 1055700934 18211
 sys/src/9/bitsy/main.c - 664 sys sys 1039753387 8929
 sys/src/9/bitsy/map - 664 sys sys 1017695515 236
 sys/src/9/bitsy/mem.h - 664 sys sys 1055700932 8049
-sys/src/9/bitsy/mkfile - 664 sys sys 1055825921 2471
+sys/src/9/bitsy/mkfile - 664 sys sys 1067120164 2454
 sys/src/9/bitsy/mmu.c - 664 sys sys 1055700931 11228
 sys/src/9/bitsy/mouse.c - 664 sys sys 1017695516 962
 sys/src/9/bitsy/paqfiles - 20000000775 sys sys 1020011250 0
@@ -5357,7 +5357,7 @@ sys/src/9/port/fault.c - 664 sys sys 1032052807 6557
 sys/src/9/port/initcode.c - 664 sys sys 1055688491 574
 sys/src/9/port/latin1.c - 664 sys sys 1015278339 1418
 sys/src/9/port/latin1.h - 664 sys sys 1015278339 3524
-sys/src/9/port/lib.h - 664 sys sys 1014931175 5676
+sys/src/9/port/lib.h - 664 sys sys 1067105741 5736
 sys/src/9/port/log.c - 664 sys sys 1014931175 2860
 sys/src/9/port/master - 664 sys sys 1063856961 516
 sys/src/9/port/master.local - 664 sys sys 1063856961 130

+ 2 - 0
dist/replica/plan9.log

@@ -13929,3 +13929,5 @@
 1066849305 0 c 386/bin/fossil/fossil - 775 sys sys 1066848944 345758
 1066849305 1 c sys/src/cmd/fossil/file.c - 664 sys sys 1066848926 28000
 1067005874 0 c sys/games/lib/fortunes - 664 sys sys 1067005891 246404
+1067106682 0 c sys/src/9/port/lib.h - 664 sys sys 1067105741 5736
+1067120173 0 c sys/src/9/bitsy/mkfile - 664 sys sys 1067120164 2454

+ 7 - 3
sys/src/9/bitsy/mkfile

@@ -81,9 +81,13 @@ $p$CONF:	$OBJ $CONF.c $LIB /arm/inflate
 	rm $target.gz
 
 install:V:	$p$CONF paqdisk
-	test -d /n/once/arm && cp $p$CONF /n/once/arm/$p$CONF
-	test -d /n/once/arm && cp s$p$CONF /n/once/arm/s$p$CONF
-	test -d /n/once/arm && cp paqdisk /n/once/arm/paqdisk
+	if(test -d /n/once/arm){
+		cp $p$CONF /n/once/arm/$p$CONF
+		cp s$p$CONF /n/once/arm/s$p$CONF
+		cp paqdisk /n/once/arm/paqdisk
+	}
+	if not
+		status=''
 	# 9fs lookout && cp $p$CONF /n/lookout/$objtype/$p$CONF
 
 installkern:V:	$p$CONF

+ 2 - 0
sys/src/9/port/lib.h

@@ -77,12 +77,14 @@ extern	int	fmtinstall(int, int (*)(Fmt*));
 extern	int	quotefmtinstall(void);
 extern	int	fmtprint(Fmt*, char*, ...);
 extern	int	fmtstrcpy(Fmt*, char*);
+extern	int	encodefmt(Fmt*);
 
 #pragma	varargck	argpos	fmtprint	2
 #pragma	varargck	argpos	print		1
 #pragma	varargck	argpos	seprint		3
 #pragma	varargck	argpos	snprint		3
 #pragma	varargck	argpos	sprint		2
+#pragma varargck	type	"H" void*
 
 /*
  * one-of-a-kind