=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/rcs/rcsprog.c,v retrieving revision 1.40 retrieving revision 1.41 diff -c -r1.40 -r1.41 *** src/usr.bin/rcs/rcsprog.c 2005/11/12 21:34:48 1.40 --- src/usr.bin/rcs/rcsprog.c 2005/11/12 22:49:59 1.41 *************** *** 1,4 **** ! /* $OpenBSD: rcsprog.c,v 1.40 2005/11/12 21:34:48 niallo Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: rcsprog.c,v 1.41 2005/11/12 22:49:59 niallo Exp $ */ /* * Copyright (c) 2005 Jean-Francois Brousseau * All rights reserved. *************** *** 286,291 **** --- 286,292 ---- case 'A': if (rcs_statfile(rcs_optarg, ofpath, sizeof(ofpath)) < 0) exit(1); + flags |= CO_ACLAPPEND; break; case 'a': alist = rcs_optarg; *************** *** 388,394 **** } /* entries to add from */ ! if (ofpath != NULL) { /* XXX */ if ((oldfile = rcs_open(ofpath, RCS_READ)) == NULL) exit(1); --- 389,395 ---- } /* entries to add from */ ! if (flags & CO_ACLAPPEND) { /* XXX */ if ((oldfile = rcs_open(ofpath, RCS_READ)) == NULL) exit(1);