From 983cac9499e023e5b064864b91c92a9c75bc6465 Mon Sep 17 00:00:00 2001 From: Xavier Santolaria Date: Fri, 21 Apr 2006 17:17:30 +0000 Subject: move shared functions into rcsutil.[ch]; this makes rcsprog.c cleaner; "the voices in my head say OK!" joris@. --- usr.bin/rcs/ci.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/rcs/ci.c') diff --git a/usr.bin/rcs/ci.c b/usr.bin/rcs/ci.c index 671f9d7107d..974a755d597 100644 --- a/usr.bin/rcs/ci.c +++ b/usr.bin/rcs/ci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ci.c,v 1.155 2006/04/21 14:18:26 xsa Exp $ */ +/* $OpenBSD: ci.c,v 1.156 2006/04/21 17:17:29 xsa Exp $ */ /* * Copyright (c) 2005, 2006 Niall O'Higgins * All rights reserved. @@ -234,7 +234,8 @@ checkin_main(int argc, char **argv) * Test for existence of ,v file. If we are expected to * create one, set NEWFILE flag. */ - if (rcs_statfile(pb.filename, pb.fpath, sizeof(pb.fpath)) < 0) { + if (rcs_statfile(pb.filename, pb.fpath, + sizeof(pb.fpath), pb.flags) < 0) { if (pb.openflags & RCS_CREATE) pb.flags |= NEWFILE; else { -- cgit v1.2.3