Initial revision
Changed the code that calculates and writes the "chunks" field in the reply
header. Several reports of apparently corrupt replies may have been due to a
mismatch between this field and the actual length, or an error in padding. I
haven't actually discovered a data set that could cause this, but the new
code is simpler and cleaner, and is based directly on the size of the output
MSG written to disk instead of the length handed down from enterLetter().
Reported by Jimmy Day et al.
Changed outdated comment.
Set "ui" to 0 for the benefit of any destructors that might check it (mainly
that would be if there were a fatalError() during shutdown).
Added fatal error if clearDir() can't change to the appropriate directory.
Added "break" statement after MM_END case in getstring() so that pressing
END would not exit the routine. Suggested by Touko Rajala.
Initialized fg and bg in athandle() in case of bogus color code. Reported by
Neall Mercado.
Updated year (2002 -> 2003).
Changed to full redraw on resort ('$') in letter list. Number of elements
could change if some messages were read, leaving junk on the screen.
Changes to resolve an error and some warnings when using the Sun C++ compiler:
changed some variable names, moved a struct, and eliminated one of the
set_Letter_Params(). Cleaner, too. :-) Also added the path to the ncurses
library on SF's compile farm Solaris system to the Makefile.
Some more restructuring to eliminate Sun compiler warnings -- signal
handlers and compare functions made extern "C".
Update for 0.44.
Final 0.44 updates.
Updated Makefiles for PDCurses 2.6, and GCC 3.2.1 (in the case of EMX).
Temporary files are now created as tmpNNNNN.txt under the main temporary
directory (formerly known as basedir, now resourceData[TmpDir]); mytmpnam()
becomes mytmpdir(), with a new mytmpnam(). This has advantages with respect
to controlling the filename (some editors may depend on ".txt"), limiting
use of system-generated tmpnam()s (sometimes a limited pool), and facili-
tating cleanup (just clear out the temp dir -- will now take care of any
editor backup files); also lays the groundwork for a complete rewrite of
mytmpdir().
Removed unused function monthval(). WTF?
Moved troublesome strftime() format strings (containing "%y") outside the
strftime() calls themselves, which supresses the warnings; removed the
pertinent section under "Warnings to ignore" in INSTALL. Copied from
blueMail. To Do: For consistency, it might be nice to do the same with
other strftime() calls; as it happens, three of them are using the same
format string ("%b %d %Y  %H:%M"), so there'd be a slight benefit from
consolidation. But at the moment, I don't see an elegant way to do it.
Removed "direction" enum because symbols like "UP" conflicted with
termcap.h (IIRC) on a recent version of NetBSD. (Replaced with KEY_UP,
etc. -- similar to LetterWindow::Move().)
Latest versions of GCC don't like #include <new.h>, preferring <new>. But
I don't get set_new_handler() that way (without more hassle and #ifdef'ing).
For once, there's an option to cancel this bogus warning: "-Wno-deprecated".
Updated Makefile comments to "recent versions of gcc" instead of "egcs".
I dunno why modules and interfac/interfac.cc are being updated. :-}