Commit Diff


commit - eb5d2a54d5ee79118c8081c7de3409f93e500b54
commit + 50808670fce561a500eb46267f7da10bddad3524
blob - 42c613794c699368047ea9f2c4df8738fdd510e8
blob + f9c8668f986e5a6e8984a9b397ef519d7fa11bf7
--- bin/9ar
+++ bin/9ar
@@ -1,8 +1,7 @@
 #!/bin/sh
 
 ar "$@"
-case "`uname`" in 
-Darwin)
-	ranlib -c $2
-	;;
-esac
+
+# We used to run ranlib if uname = Darwin,
+# but the mkfiles now pass the s flag to 9ar,
+# so ranlib should be unnecessary even there.
blob - 4ff8bb0e78e9a868b2aab136611dcca4637192cb
blob + 0c7ad8eb6d9e4fe5c378d30fac377b30b8aca00a
--- src/cmd/venti/srv/mkfile
+++ src/cmd/venti/srv/mkfile
@@ -77,7 +77,7 @@ CLEANFILES=$CLEANFILES $SLIB
 <$PLAN9/src/mkmany
 
 $SLIB: $LIBOFILES
-	9ar rvc $SLIB $LIBOFILES
+	9ar rsc $SLIB $LIBOFILES
 
 # xml.c:D:	mkxml dat.h
 # 	./mkxml dat.h > xml.c
blob - 6e38e2feaafe62e2b469c535cd137d79c2345aad
blob + fec971bf9613f1beb4826f8882f127858709ff3e
--- src/mklib
+++ src/mklib
@@ -2,10 +2,10 @@ default:V:	$LIB
 
 $LIB(%):N: %
 $LIB:	${OFILES:%=$LIB(%)}
-	$AR rvc $LIB $newmember
+	$AR rsc $LIB $newmember
 
 &:n:	&.$O
-	$AR rvc $LIB $stem.$O
+	$AR rsc $LIB $stem.$O
 
 all install:V: $LIB
 
blob - 3d7c83b9f9832cc59163b87bc76929d0808d31c8
blob + 95298382b1d2886105ae3e70dd34ced9554f9c2b
--- src/mkmk.sh
+++ src/mkmk.sh
@@ -63,6 +63,7 @@ echo cd `pwd`
 9c  nulldir.c
 9c  open.c
 9c  opentemp.c
+9c  pin.c
 9c  pipe.c
 9c  post9p.c
 9c  postnote.c
@@ -146,7 +147,7 @@ echo cd `pwd`
 9c  utf/utfrrune.c
 9c  utf/utfrune.c
 9c  utf/utfutf.c
-9ar rvc $PLAN9/lib/lib9.a _exits.o _p9dialparse.o _p9dir.o announce.o argv0.o atexit.o atoi.o atol.o atoll.o atnotify.o await.o cistrcmp.o cistrncmp.o cistrstr.o cleanname.o convD2M.o convM2D.o convM2S.o convS2M.o create.o crypt.o ctime.o date.o dial.o dirfstat.o dirfwstat.o dirmodefmt.o dirread.o dirstat.o dirwstat.o dup.o encodefmt.o errstr.o exec.o execl.o exitcode.o fcallfmt.o get9root.o getcallerpc-$OBJTYPE.o getenv.o getfields.o getnetconn.o getns.o getuser.o getwd.o jmp.o lrand.o lnrand.o main.o malloc.o malloctag.o mallocz.o nan.o needsrcquote.o needstack.o netcrypt.o netmkaddr.o notify.o nrand.o nulldir.o open.o opentemp.o pipe.o post9p.o postnote.o qlock.o quote.o rand.o read9pmsg.o readcons.o readn.o rfork.o searchpath.o seek.o sendfd.o sleep.o strdup.o strecpy.o sysfatal.o syslog.o sysname.o time.o tokenize.o truerand.o u16.o u32.o u64.o unsharp.o wait.o waitpid.o dofmt.o fltfmt.o fmt.o fmtfd.o fmtfdflush.o fmtlocale.o fmtlock2.o fmtnull.o fmtprint.o fmtquote.o fmtrune.o fmtstr.o fmtvprint.o fprint.o nan64.o print.o runefmtstr.o runeseprint.o runesmprint.o runesnprint.o runesprint.o runevseprint.o runevsmprint.o runevsnprint.o seprint.o smprint.o snprint.o sprint.o strtod.o vfprint.o vseprint.o vsmprint.o vsnprint.o charstod.o pow10.o rune.o runestrcat.o runestrchr.o runestrcmp.o runestrcpy.o runestrdup.o runestrlen.o runestrecpy.o runestrncat.o runestrncmp.o runestrncpy.o runestrrchr.o runestrstr.o runetype.o utfecpy.o utflen.o utfnlen.o utfrrune.o utfrune.o utfutf.o
+9ar rsc $PLAN9/lib/lib9.a _exits.o _p9dialparse.o _p9dir.o announce.o argv0.o atexit.o atoi.o atol.o atoll.o atnotify.o await.o cistrcmp.o cistrncmp.o cistrstr.o cleanname.o convD2M.o convM2D.o convM2S.o convS2M.o create.o crypt.o ctime.o date.o dial.o dirfstat.o dirfwstat.o dirmodefmt.o dirread.o dirstat.o dirwstat.o dup.o encodefmt.o errstr.o exec.o execl.o exitcode.o fcallfmt.o get9root.o getcallerpc-$OBJTYPE.o getenv.o getfields.o getnetconn.o getns.o getuser.o getwd.o jmp.o lrand.o lnrand.o main.o malloc.o malloctag.o mallocz.o nan.o needsrcquote.o needstack.o netcrypt.o netmkaddr.o notify.o nrand.o nulldir.o open.o opentemp.o pin.o pipe.o post9p.o postnote.o qlock.o quote.o rand.o read9pmsg.o readcons.o readn.o rfork.o searchpath.o seek.o sendfd.o sleep.o strdup.o strecpy.o sysfatal.o syslog.o sysname.o time.o tokenize.o truerand.o u16.o u32.o u64.o unsharp.o wait.o waitpid.o dofmt.o fltfmt.o fmt.o fmtfd.o fmtfdflush.o fmtlocale.o fmtlock2.o fmtnull.o fmtprint.o fmtquote.o fmtrune.o fmtstr.o fmtvprint.o fprint.o nan64.o print.o runefmtstr.o runeseprint.o runesmprint.o runesnprint.o runesprint.o runevseprint.o runevsmprint.o runevsnprint.o seprint.o smprint.o snprint.o sprint.o strtod.o vfprint.o vseprint.o vsmprint.o vsnprint.o charstod.o pow10.o rune.o runestrcat.o runestrchr.o runestrcmp.o runestrcpy.o runestrdup.o runestrlen.o runestrecpy.o runestrncat.o runestrncmp.o runestrncpy.o runestrrchr.o runestrstr.o runetype.o utfecpy.o utflen.o utfnlen.o utfrrune.o utfrune.o utfutf.o
 cd ..
 cd libbio
 echo cd `pwd`
@@ -167,7 +168,7 @@ echo cd `pwd`
 9c  bseek.c
 9c  bvprint.c
 9c  bwrite.c
-9ar rvc $PLAN9/lib/libbio.a bbuffered.o bfildes.o bflush.o bgetc.o bgetrune.o bgetd.o binit.o boffset.o bprint.o bputc.o bputrune.o brdline.o brdstr.o bread.o bseek.o bvprint.o bwrite.o
+9ar rsc $PLAN9/lib/libbio.a bbuffered.o bfildes.o bflush.o bgetc.o bgetrune.o bgetd.o binit.o boffset.o bprint.o bputc.o bputrune.o brdline.o brdstr.o bread.o bseek.o bvprint.o bwrite.o
 cd ..
 cd libregexp
 echo cd `pwd`
@@ -178,7 +179,7 @@ echo cd `pwd`
 9c  regaux.c
 9c  rregexec.c
 9c  rregsub.c
-9ar rvc $PLAN9/lib/libregexp9.a regcomp.o regerror.o regexec.o regsub.o regaux.o rregexec.o rregsub.o
+9ar rsc $PLAN9/lib/libregexp9.a regcomp.o regerror.o regexec.o regsub.o regaux.o rregexec.o rregsub.o
 cd ..
 cd cmd/mk
 echo cd `pwd`
blob - 0096fda2bd341b25ca194ec71021605de1ff710c
blob + b9a63cf949cff3495ef9f33ae38e74b11d50a0b6
--- src/mksyslib
+++ src/mksyslib
@@ -1,14 +1,14 @@
 default:V:	$PLAN9/lib/$LIB
 
 # $PLAN9/lib/$LIB:	$OFILES
-# 	$AR rvc $PLAN9/lib/$LIB $newprereq
+# 	$AR rsc $PLAN9/lib/$LIB $newprereq
 
 $PLAN9/lib/$LIB(%):N: %
 $PLAN9/lib/$LIB:	${OFILES:%=$PLAN9/lib/$LIB(%)}
-	$AR rvc $PLAN9/lib/$LIB $newmember
+	$AR rsc $PLAN9/lib/$LIB $newmember
 
 &:n:	&.$O
-	$AR rvc $PLAN9/lib/$LIB $stem.$O
+	$AR rsc $PLAN9/lib/$LIB $stem.$O
 
 all install:V: $PLAN9/lib/$LIB