projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nonstatic function for atexit, check if atexit fails
[mmh]
/
uip
/
mhtest.c
diff --git
a/uip/mhtest.c
b/uip/mhtest.c
index
a1718db
..
aa7e411
100644
(file)
--- a/
uip/mhtest.c
+++ b/
uip/mhtest.c
@@
-95,7
+95,9
@@
main(int argc, char **argv)
struct msgs *mp = NULL;
CT ct, *ctp;
- atexit(freects_done);
+ if (atexit(freects_done) != 0) {
+ adios(NULL, "atexit failed");
+ }
setlocale(LC_ALL, "");
invo_name = mhbasename(argv[0]);