diff options
author | 2006-03-14 01:51:35 +0000 | |
---|---|---|
committer | 2006-03-14 01:51:35 +0000 | |
commit | 7b0c156b6378a6a49c9fe05b81e3703d4e44b463 (patch) | |
tree | f9c12a5bf3991c9fd393c843d67736a65425aed2 /usr.bin/rcs/rcsprog.c | |
parent | log the originating address and not just the name when a reverse (diff) | |
download | wireguard-openbsd-7b0c156b6378a6a49c9fe05b81e3703d4e44b463.tar.xz wireguard-openbsd-7b0c156b6378a6a49c9fe05b81e3703d4e44b463.zip |
OpenRCS currently strips any text in a filename up to and including
the last comma, assuming that it is a `,v' extension. GNU RCS does
not do this. This removes that check.
ok niallo
Diffstat (limited to 'usr.bin/rcs/rcsprog.c')
-rw-r--r-- | usr.bin/rcs/rcsprog.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/rcs/rcsprog.c b/usr.bin/rcs/rcsprog.c index 842c758a356..295522d1d04 100644 --- a/usr.bin/rcs/rcsprog.c +++ b/usr.bin/rcs/rcsprog.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcsprog.c,v 1.70 2006/03/12 01:20:38 joris Exp $ */ +/* $OpenBSD: rcsprog.c,v 1.71 2006/03/14 01:51:35 ray Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -239,10 +239,6 @@ rcs_statfile(char *fname, char *out, size_t len) strdir = found = 0; - /* we might have gotten a RCS file as argument */ - if ((ext = strchr(fname, ',')) != NULL) - *ext = '\0'; - /* we might have gotten the RCS/ dir in the argument string */ if (strstr(fname, RCSDIR) != NULL) strdir = 1; |