summaryrefslogtreecommitdiff
path: root/lib-src/movemail.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@twinsun.com>1999-10-19 07:17:20 +0000
committerPaul Eggert <eggert@twinsun.com>1999-10-19 07:17:20 +0000
commit4c159323f3c6e5e4ed295576eb7d20007e17cfd4 (patch)
tree0d1278af7224ccdb9b443d1585bb48646c80abe8 /lib-src/movemail.c
parent78a7f14032dd02bb91af9dd708cddc31f9eedc10 (diff)
downloademacs-4c159323f3c6e5e4ed295576eb7d20007e17cfd4.tar.gz
Add support for large files. Merge glibc 2.1.2.
* b2m.c, emacsclient.c, emacsserver.c, fakemail.c, make-docfile.c, movemail.c, pop.c: Do not include <stdlib.h>, as <config.h> does this now. * b2m.c, emacsserver.c, etags.c, profile.c: Include <config.h> before any system include files. * emacsclient.c, emacsserver.c, fakemail.c, movemail.c, pop.c, test-distrib.c: (read, write, open, close): Do not undef. * getopt.c, getopt1.c: Adopt glibc 2.1.2, with the following fix: (const): Do not define if HAVE_CONFIG_H; that's config.h's job. * getopt.h: Adopt glibc 2.1.2.
Diffstat (limited to 'lib-src/movemail.c')
-rw-r--r--lib-src/movemail.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index 85a28615e42..df5cb5a2d1f 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -1,6 +1,6 @@
/* movemail foo bar -- move file foo to file bar,
locking file foo the way /bin/mail respects.
- Copyright (C) 1986, 1992, 1993, 1994, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1986, 92, 93, 94, 96, 1999 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -100,12 +100,6 @@ Boston, MA 02111-1307, USA. */
int _fmode = _O_BINARY;
#endif /* WINDOWSNT */
-/* Cancel substitutions made by config.h for Emacs. */
-#undef open
-#undef read
-#undef write
-#undef close
-
#ifdef USG
#include <fcntl.h>
#include <unistd.h>
@@ -121,10 +115,6 @@ int _fmode = _O_BINARY;
#include <unistd.h>
#endif
-#ifdef STDC_HEADERS
-#include <stdlib.h>
-#endif
-
#if defined (XENIX) || defined (WINDOWSNT)
#include <sys/locking.h>
#endif