diff options
author | 2007-09-10 19:11:08 +0000 | |
---|---|---|
committer | 2007-09-10 19:11:08 +0000 | |
commit | 47c33804566cbc2c0b2589cdf34fcb81ef470a89 (patch) | |
tree | 86ea5d57f828caec28b45680e7e93cb02be5d1a9 /usr.bin/cvs/root.c | |
parent | Introduce a md pmap hook, pmap_remove_holes(), which is supposed to mark (diff) | |
download | wireguard-openbsd-47c33804566cbc2c0b2589cdf34fcb81ef470a89.tar.xz wireguard-openbsd-47c33804566cbc2c0b2589cdf34fcb81ef470a89.zip |
remove my addition of portnumber for rsh in CVSROOT.
while it sounds like a "good" idea some people convinced me otherwise.
mostly because this breaks compat with GNU cvs.
Diffstat (limited to 'usr.bin/cvs/root.c')
-rw-r--r-- | usr.bin/cvs/root.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/cvs/root.c b/usr.bin/cvs/root.c index 9ca716e0596..99258fbc87f 100644 --- a/usr.bin/cvs/root.c +++ b/usr.bin/cvs/root.c @@ -1,4 +1,4 @@ -/* $OpenBSD: root.c,v 1.42 2007/09/10 14:06:14 joris Exp $ */ +/* $OpenBSD: root.c,v 1.43 2007/09/10 19:11:08 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -133,12 +133,10 @@ cvsroot_parse(const char *str) pp = strchr(sp, ':'); if (pp != NULL) { *(pp++) = '\0'; - - i = strtonum(pp, 1, 65535, &errstr); + root->cr_port = strtonum(pp, 1, 65535, &errstr); if (errstr != NULL) fatal("port specification in CVSROOT is %s", errstr); - root->cr_port = pp; } root->cr_host = sp; |