OpenBSD CVS

CVS log for src/usr.bin/cvs/fatal.c


[BACK] Up to [local] / src / usr.bin / cvs

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Thu Jun 12 03:54:43 2008 UTC (15 years, 11 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, HEAD
Changes since 1.13: +8 -4 lines
Diff to previous 1.13 (colored)

show any signal we might have received that killed our cvs process.
ok tobias@

Revision 1.13 / (download) - annotate - [select for diffs], Sun Sep 2 12:13:00 2007 UTC (16 years, 8 months ago) by tobias
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.12: +3 -2 lines
Diff to previous 1.12 (colored)

Stick at GNU cvs behaviour with Root directive handling: it does not need
to be sent first, can occure multiple times (although this is ignored) but
should be supplied before Directory.

OK joris@

Revision 1.12 / (download) - annotate - [select for diffs], Tue May 29 00:21:51 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

I've been running with an abort upon fatal loop, and I think I've
mostly gotten rid of them.  It would be nice to know if there is a
fatal loop instead of dying quietly, so call errx instead of exit(1).

errx does not call fatal so it should be fine.

OK niallo@

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 26 23:50:46 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.10: +0 -3 lines
Diff to previous 1.10 (colored)

It is too complicated to tell a client that an internal failure
happened in fatal().  If that behavior is desired, please tell the
client before calling fatal().

OK niallo@

Revision 1.10 / (download) - annotate - [select for diffs], Sat May 26 20:13:45 2007 UTC (16 years, 11 months ago) by ray
Branch: MAIN
Changes since 1.9: +7 -1 lines
Diff to previous 1.9 (colored)

fatal() should never be called twice; if it happens, exit immediately,
it is the only safe thing to do.

OK niallo@

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 22 06:42:09 2007 UTC (17 years, 2 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.8: +5 -3 lines
Diff to previous 1.8 (colored)

general includes cleanup sweep. ok joris@ niallo@

Revision 1.8 / (download) - annotate - [select for diffs], Fri Jul 7 17:37:17 2006 UTC (17 years, 10 months ago) by joris
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored)

first part of opencvs remote, fairly useable on existing trees
although i advise against using it on real development trees for now.

only a few commands work right so far:
- commit
- diff
- status
- log
- update (partially working)

if you feel like testing remote and run into bugs feel free to
contact me, and please include a full trace (-t).

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 27 03:30:30 2006 UTC (17 years, 11 months ago) by joris
Branch: MAIN
Changes since 1.6: +4 -1 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jan 30 15:49:18 2006 UTC (18 years, 3 months ago) by niallo
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

- make fatal() exit with code 1 instead of 255. makes us more compatible
with gnu on errors.

ok xsa@

Revision 1.5 / (download) - annotate - [select for diffs], Mon Jan 2 08:11:56 2006 UTC (18 years, 4 months ago) by xsa
Branch: MAIN
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

#include's cleanup; ok joris@ niallo@.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Dec 30 01:38:39 2005 UTC (18 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

pass LP_ABORT to cvs_vlog() instead of LP_ERR.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 24 04:05:40 2005 UTC (18 years, 4 months ago) by joris
Branch: MAIN
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

we should be calling cvs_vlog(); to at least get some decent output;

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 13 17:46:10 2005 UTC (18 years, 5 months ago) by xsa
Branch: MAIN
Changes since 1.1: +1 -0 lines
Diff to previous 1.1 (colored)

add missing $OpenBSD$

Revision 1.1 / (download) - annotate - [select for diffs], Sat Dec 10 20:27:45 2005 UTC (18 years, 5 months ago) by joris
Branch: MAIN

switch to xmalloc stuff, me and xsa@ agreed on this a long
time ago, but we were being held back by jfb. too bad for him.

next step is to use fatal() through out the code for unrecoverable
errors instead of trying to be all nice and fluffy and reach main() again.

ok niallo@ and xsa@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.