From ff26b4137c6dc3d622336e725bd6f5630b301027 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 23 Aug 2004 22:35:21 +0000 Subject: Fixes and changes due to RTF converter not working properly. --- src/rep.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rep.c b/src/rep.c index 5eda279..4a7fbb5 100644 --- a/src/rep.c +++ b/src/rep.c @@ -89,7 +89,10 @@ int replaceSingleFile(r_context* ctx, const char* szIn); /* Error stuff */ int usage(); - +void blah(void) +{ + printf("exiting\n"); +} /* ------------------------------------------------------------------------ */ @@ -101,7 +104,7 @@ int main(int argc, char* argv[]) int ch = 0; - /* + /* * Function return values throughout program are a bit different * * 0 = normal operation @@ -111,6 +114,7 @@ int main(int argc, char* argv[]) int ret = 0; int r = R_OK; + atexit(blah); /* Enough params? */ if(argc < 2) -- cgit v1.2.3