1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00: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 Port ctags+etags build to Sun C 5.12. 2014-05-18 11:57:04 -07:00
ebrowse.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
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 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
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 Update copyright year to 2015 2015-01-01 14:26:41 -08:00
movemail.c Random minor fixes for movemail 2015-03-06 15:41:45 -08:00
ntlib.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
ntlib.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pop.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
pop.h Update copyright year to 2015 2015-01-01 14:26:41 -08:00
profile.c Update copyright year to 2015 2015-01-01 14:26:41 -08:00
rcs2log Fix copyright years by hand 2015-01-01 14:27:34 -08:00
README
update-game-score.c Allow update-game-score to run sgid instead of suid. 2015-01-21 21:33:17 +01:00
update-game-score.exe.manifest Provide a Windows manifest for update-game-score.exe. 2013-08-10 10:43:41 +03:00

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.