![]() ![]() | ![]() |
version 1.11, 2007/05/26 23:50:46 | version 1.12, 2007/05/29 00:21:51 | ||
---|---|---|---|
|
|
||
#include <sys/stat.h> | #include <sys/stat.h> | ||
#include <err.h> | |||
#include <fcntl.h> | #include <fcntl.h> | ||
#include <stdlib.h> | #include <stdlib.h> | ||
|
|
||
/* Fatal should not loop, (the functions below can fatal). */ | /* Fatal should not loop, (the functions below can fatal). */ | ||
if (been_here++) | if (been_here++) | ||
goto end; | errx(1, "fatal loop"); | ||
va_start(args, fmt); | va_start(args, fmt); | ||
cvs_vlog(LP_ABORT, fmt, args); | cvs_vlog(LP_ABORT, fmt, args); | ||
|
|
||
cvs_cleanup(); | cvs_cleanup(); | ||
end: | |||
exit(1); | exit(1); | ||
} | } |