diff options
Diffstat (limited to 'usr.bin/cvs/import.c')
-rw-r--r-- | usr.bin/cvs/import.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/cvs/import.c b/usr.bin/cvs/import.c index 87b73444b09..58f26ec4be9 100644 --- a/usr.bin/cvs/import.c +++ b/usr.bin/cvs/import.c @@ -1,4 +1,4 @@ -/* $OpenBSD: import.c,v 1.31 2005/12/10 20:27:45 joris Exp $ */ +/* $OpenBSD: import.c,v 1.32 2005/12/20 18:17:01 xsa Exp $ */ /* * Copyright (c) 2004 Joris Vink <joris@openbsd.org> * All rights reserved. @@ -371,11 +371,7 @@ cvs_import_local(CVSFILE *cf, void *arg) return (CVS_EX_DATA); } - if (cvs_buf_putc(bp, '\0') < 0) { - rcs_close(rf); - (void)unlink(rpath); - return (CVS_EX_DATA); - } + cvs_buf_putc(bp, '\0'); fcont = cvs_buf_release(bp); |