diff options
author | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-11-09 15:42:59 +0000 |
---|---|---|
committer | Xavier Santolaria <xsa@cvs.openbsd.org> | 2005-11-09 15:42:59 +0000 |
commit | 1e470700f278cc80d3c34ab31bae2c3918fa4d8b (patch) | |
tree | 3a8318a52dccd3978f78888d1e86488f403d649b /usr.bin/cvs | |
parent | 3837eb051f1dba9a19fabd3a4cdb034b6bfaf343 (diff) |
add missing '\n' when writing deltatexts in an RCS file;
Diffstat (limited to 'usr.bin/cvs')
-rw-r--r-- | usr.bin/cvs/rcs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/rcs.c b/usr.bin/cvs/rcs.c index 02b3b2d3b8a..f506a7723c5 100644 --- a/usr.bin/cvs/rcs.c +++ b/usr.bin/cvs/rcs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rcs.c,v 1.97 2005/11/02 20:32:44 niallo Exp $ */ +/* $OpenBSD: rcs.c,v 1.98 2005/11/09 15:42:58 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -554,7 +554,7 @@ rcs_write(RCSFILE *rfp) strlen(rdp->rd_log), fp); fputs("@\ntext\n@", fp); rcs_strprint(rdp->rd_text, rdp->rd_tlen, fp); - fputs("@\n\n", fp); + fputs("\n@\n\n", fp); } fclose(fp); |