1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-05-07 22:04:45 -07:00
emacs/lib-src
Paul Eggert e1acc3c7ef Random minor fixes for movemail
* movemail.c: Include <stdbool.h> and <signal.h>.
(waitpid) [WINDOWSNT]: New macro.
(wait) [WINDOWSNT]: Remove.
(main, popmail, pop_retr, mbx_write, mbx_delimit_begin)
(mbx_delimit_end): Use bool for boolean.
(main): Simplify #if usage a bit.
(main): Don't assume EOF == -1.  Prefer 'return' to 'exit'.  Don't
possibly unlink lockname twice, as that's a race condition.  Set
SIGCHLD to SIG_DFL to work around SysV misfeature.  Check for fork
failure.  Use waitpid, not wait, to avoid a race condition in the
unlikely case where we start up with a child.
(NOTOK, OK): Remove, in favor of plain boolean.
(popmail, pop_retr): Don't get confused about errno, e.g., ferror
need not set errno.
(popmail): Use fclose (mbf), not close (fileno (mbf)), to also
detect any stream-related errors (e.g., memory exhaustion).
(pop_retr): Report pop errors separately, since caller now does
errno reporting.
(mbx_write, mbx_delimit_begin, mbx_delimit_end): Check < 0, not ==
EOF, as it's a bit faster and (in theory) pickier.
2015-03-06 15:41:45 -08:00
..
ChangeLog Random minor fixes for movemail 2015-03-06 15:41:45 -08:00
COPYING
ctags.c
ebrowse.c
emacsclient.c Support daemon mode on MS-Windows (bug#19688) 2015-02-27 12:43:30 +02:00
etags.c Simplify binary I/O configuration 2015-02-19 19:21:32 -08:00
hexl.c
make-docfile.c Spelling fixes 2015-02-21 20:01:05 -08:00
Makefile.in Use ${EXEEXT} more uniformly in makefiles 2015-02-23 10:10:24 -08:00
makefile.w32-in
movemail.c Random minor fixes for movemail 2015-03-06 15:41:45 -08:00
ntlib.c
ntlib.h
pop.c
pop.h
profile.c
rcs2log
README
update-game-score.c
update-game-score.exe.manifest

This directory contains the source code for the architecture-dependent
files that go in ${archlibdir}.  At present, these are mostly utility
programs used by GNU Emacs.