* Two patches
@ 2014-12-19 19:16 Benjamin Scher Purcell
0 siblings, 0 replies; only message in thread
From: Benjamin Scher Purcell @ 2014-12-19 19:16 UTC (permalink / raw)
To: 9front
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]
Hi,
Allow userpasswd to work when your nick is not your plan 9 user name:
diff -r 966ebe704781 rc/bin/ircrc
--- a/rc/bin/ircrc Fri Dec 19 03:57:27 2014 +0100
+++ b/rc/bin/ircrc Fri Dec 19 13:14:38 2014 -0600
@@ -243,7 +243,7 @@
title
userpass=`{auth/userpasswd 'server='^$server^' service=irc user='^$nick >[2]/dev/null}
-if(~ $#userpass 2 && ~ $nick $user) {
+if(~ $#userpass 2) {
nick=$userpass(1)
pass=$userpass(2)
}
Fix typo:
diff -r 966ebe704781 sys/src/cmd/hgfs/fs.c
--- a/sys/src/cmd/hgfs/fs.c Fri Dec 19 03:57:27 2014 +0100
+++ b/sys/src/cmd/hgfs/fs.c Fri Dec 19 13:13:26 2014 -0600
@@ -796,7 +796,7 @@
sysfatal("can't open changelog: %r\n");
snprint(buf, sizeof(buf), "%s/.hg/store/00manifest", workdir);
if(revlogopen(&manifest, buf, OREAD) < 0)
- sysfatal("can't open menifest: %r\n");
+ sysfatal("can't open manifest: %r\n");
postmountsrv(&fs, srv, mtpt, MREPL);
--
Benjamin Scher Purcell
PGP: CCB787BA
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-12-19 19:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-19 19:16 Two patches Benjamin Scher Purcell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).