diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2006-05-27 03:30:32 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2006-05-27 03:30:32 +0000 |
commit | 7d89f936fbdc2dd3d49c0286998836e36cc68365 (patch) | |
tree | 42e90824fb35b817279c75e6a187f7a54dc474fb /usr.bin/cvs/fatal.c | |
parent | 98bdde20935bf70a07278f2c429c1e05c676ff48 (diff) |
commit the new opencvs code, i have been hacking on
this for the past 2 weeks now and it should go in at
the start of the hackathon so others can help out.
this code is a lot safer, smarter, faster and best of
all it is actually doing what it is suppose to do!
basic checkout, update, status, diff and commit are
working in local mode only.
there is no support for any remote setups now.
Diffstat (limited to 'usr.bin/cvs/fatal.c')
-rw-r--r-- | usr.bin/cvs/fatal.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/cvs/fatal.c b/usr.bin/cvs/fatal.c index 7eb37d25c1c..8bf10f68cf4 100644 --- a/usr.bin/cvs/fatal.c +++ b/usr.bin/cvs/fatal.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fatal.c,v 1.6 2006/01/30 15:49:18 niallo Exp $ */ +/* $OpenBSD: fatal.c,v 1.7 2006/05/27 03:30:30 joris Exp $ */ /* * Copyright (c) 2002 Markus Friedl. All rights reserved. * @@ -38,5 +38,8 @@ fatal(const char *fmt,...) va_start(args, fmt); cvs_vlog(LP_ABORT, fmt, args); va_end(args); + + cvs_cleanup(); + exit(1); } |