* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_menu.h"
#include "mutt_curses.h"
{
if (flags == M_SAVE_APPEND)
return fopen (path, "a");
+ /* be sure not to change the following fopen to safe_fopen
+ * as safe_fopen returns w/ an error if path exists
+ */
if (flags == M_SAVE_OVERWRITE)
- return safe_fopen (path, "w"); /* __FOPEN_CHECKED__ */
+ return fopen (path, "w"); /* __FOPEN_CHECKED__ */
return safe_fopen (path, "w");
}