diff options
Diffstat (limited to 'src/factor.c')
-rw-r--r-- | src/factor.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/factor.c b/src/factor.c index 9cf96c647..63fbcfdb4 100644 --- a/src/factor.c +++ b/src/factor.c @@ -1,5 +1,5 @@ /* factor -- print factors of n. - Copyright (C) 86, 95, 96, 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 86, 95, 96, 1997, 1998, 1999, 2000 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,9 +26,10 @@ #define NDEBUG 1 #include "system.h" -#include "long-options.h" +#include "closeout.h" #include "error.h" #include "human.h" +#include "long-options.h" #include "readtokens.h" #include "xstrtol.h" @@ -203,5 +204,7 @@ main (int argc, char **argv) if (fail) usage (1); + close_stdout (); + exit (fail); } |