diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-11-22 16:20:46 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-11-22 16:20:46 +0000 |
commit | eb2d99dd3fc0da9ab5392da373dac8afd85e9db7 (patch) | |
tree | 64ef23900adba132f2c883a5375725529ce91e8b /usr.bin | |
parent | aa3d8295b8088243fc4fa1bd33bfba5621e57069 (diff) |
make `-p' work again as expected;
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/rcs/co.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/rcs/co.c b/usr.bin/rcs/co.c index 18e62571879..eb170d5a9ab 100644 --- a/usr.bin/rcs/co.c +++ b/usr.bin/rcs/co.c @@ -1,4 +1,4 @@ -/* $OpenBSD: co.c,v 1.30 2005/11/21 16:20:29 xsa Exp $ */ +/* $OpenBSD: co.c,v 1.31 2005/11/22 16:20:45 xsa Exp $ */ /* * Copyright (c) 2005 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -222,7 +222,7 @@ checkout_rev(RCSFILE *file, RCSNUM *frev, const char *dst, int flags, if (verbose == 1) printf("\n"); - if ((stat(dst, &st) != -1) && !(flags & FORCE)) { + if ((pipeout == 0) && (stat(dst, &st) != -1) && !(flags & FORCE)) { if (st.st_mode & S_IWUSR) { yn = 0; if (verbose == 0) { |