Mutt_endwin() is sometimes called after noticing an error but before
printing the message via perror(). Closes #2965.
+2007-11-05 15:53 +0100 Emanuele Giaquinta <e.giaquinta@glauco.it> (b8dc6926ddf4)
+
+ * doc/manual.xml.head: Manual: Fix typo
+
+2007-11-05 14:53 +0100 Rocco Rutte <pdmef@gmx.net> (ad7983699656)
+
+ * ChangeLog, doc/manual.xml.head: Manual: Improve [un]mailboxes
+ documentation. Closes #2204.
+
2007-11-05 14:52 +0100 Rocco Rutte <pdmef@gmx.net> (3bac5aa1af75)
* hg-commit: hg-commit: Exclude merges when writing ChangeLog
void mutt_endwin (const char *msg)
{
+ int e = errno;
+
if (!option (OPTNOCURSES))
{
CLEARLINE (LINES - 1);
puts (msg);
fflush (stdout);
}
+
+ errno = e;
}
void mutt_perror (const char *s)