X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=main.c;h=3624bb6653652b903c4195056a31997cfe64f210;hb=9ed7a487e3a922f2cbb222961c2c9710c3a65f91;hp=9a4a3dfa71a495f180f67d913c1928adf3003989;hpb=6be673363a420d4f21e9ab1fbd5835ffba38a7ed;p=apps%2Fmadmutt.git diff --git a/main.c b/main.c index 9a4a3df..3624bb6 100644 --- a/main.c +++ b/main.c @@ -20,14 +20,12 @@ #include #include - #include - #include +#include #include "mutt.h" #include "alias.h" -#include "mx.h" #include "buffy.h" #include "sort.h" #include @@ -218,11 +216,6 @@ static void show_version (void) #else "-USE_SETGID " #endif -#ifdef USE_DOTLOCK - "+USE_DOTLOCK " -#else - "-USE_DOTLOCK " -#endif #ifdef USE_FCNTL "+USE_FCNTL " #else @@ -752,7 +745,7 @@ int main (int argc, char **argv) if (!option (OPTNOCURSES)) mutt_endwin (NULL); perror (tempfile); - fclose (fin); + m_fclose(&fin); p_delete(&tempfile); exit (1); } @@ -760,9 +753,9 @@ int main (int argc, char **argv) mutt_copy_stream (fin, fout); else if (bodytext) fputs (bodytext, fout); - fclose (fout); + m_fclose(&fout); if (fin && fin != stdin) - fclose (fin); + m_fclose(&fin); } }