aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-01-18 15:15:07 +0000
committerDan Nicolaescu2008-01-18 15:15:07 +0000
commit76ed5e0157c14cf9fcd075db08296bd692a43fc7 (patch)
treee6dca82a012b542099e98543c36894d8fabc6ca8
parent36ad15539d7521ce6146d0569ceec94592a9d0ff (diff)
downloademacs-76ed5e0157c14cf9fcd075db08296bd692a43fc7.tar.gz
emacs-76ed5e0157c14cf9fcd075db08296bd692a43fc7.zip
* movemail.c: Remove references to XENIX.
* m/intel386.h: Remove references to XENIX.
-rw-r--r--lib-src/ChangeLog4
-rw-r--r--lib-src/movemail.c10
-rw-r--r--src/ChangeLog4
-rw-r--r--src/m/intel386.h23
4 files changed, 11 insertions, 30 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index bb28500d68d..c0d0bbbf41b 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
12008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * movemail.c: Remove references to XENIX.
4
12008-01-13 Dan Nicolaescu <dann@ics.uci.edu> 52008-01-13 Dan Nicolaescu <dann@ics.uci.edu>
2 6
3 * movemail.c: 7 * movemail.c:
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index daf8c6166e6..1f95735878d 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -113,7 +113,7 @@ Boston, MA 02110-1301, USA. */
113#define R_OK 4 113#define R_OK 4
114#endif 114#endif
115 115
116#if defined (XENIX) || defined (WINDOWSNT) 116#ifdef WINDOWSNT
117#include <sys/locking.h> 117#include <sys/locking.h>
118#endif 118#endif
119 119
@@ -388,13 +388,13 @@ main (argc, argv)
388 if (indesc < 0) 388 if (indesc < 0)
389 pfatal_with_name (inname); 389 pfatal_with_name (inname);
390 390
391#if defined (BSD_SYSTEM) || defined (XENIX) 391#ifdef BSD_SYSTEM
392 /* In case movemail is setuid to root, make sure the user can 392 /* In case movemail is setuid to root, make sure the user can
393 read the output file. */ 393 read the output file. */
394 /* This is desirable for all systems 394 /* This is desirable for all systems
395 but I don't want to assume all have the umask system call */ 395 but I don't want to assume all have the umask system call */
396 umask (umask (0) & 0333); 396 umask (umask (0) & 0333);
397#endif /* BSD_SYSTEM || XENIX */ 397#endif /* BSD_SYSTEM */
398 outdesc = open (outname, O_WRONLY | O_CREAT | O_EXCL, 0666); 398 outdesc = open (outname, O_WRONLY | O_CREAT | O_EXCL, 0666);
399 if (outdesc < 0) 399 if (outdesc < 0)
400 pfatal_with_name (outname); 400 pfatal_with_name (outname);
@@ -422,15 +422,11 @@ main (argc, argv)
422#ifdef MAIL_USE_LOCKF 422#ifdef MAIL_USE_LOCKF
423 status = lockf (indesc, F_LOCK, 0); 423 status = lockf (indesc, F_LOCK, 0);
424#else /* not MAIL_USE_LOCKF */ 424#else /* not MAIL_USE_LOCKF */
425#ifdef XENIX
426 status = locking (indesc, LK_RLCK, 0L);
427#else
428#ifdef WINDOWSNT 425#ifdef WINDOWSNT
429 status = locking (indesc, LK_RLCK, -1L); 426 status = locking (indesc, LK_RLCK, -1L);
430#else 427#else
431 status = flock (indesc, LOCK_EX); 428 status = flock (indesc, LOCK_EX);
432#endif 429#endif
433#endif
434#endif /* not MAIL_USE_LOCKF */ 430#endif /* not MAIL_USE_LOCKF */
435#endif /* MAIL_USE_SYSTEM_LOCK */ 431#endif /* MAIL_USE_SYSTEM_LOCK */
436 } 432 }
diff --git a/src/ChangeLog b/src/ChangeLog
index b641635484b..d63c039592a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12008-01-18 Dan Nicolaescu <dann@ics.uci.edu>
2
3 * m/intel386.h: Remove references to XENIX.
4
12008-01-17 Andreas Schwab <schwab@suse.de> 52008-01-17 Andreas Schwab <schwab@suse.de>
2 6
3 * m/amdx86-64.h (START_FILES, LIB_STANDARD): Use HAVE_LIB64_DIR 7 * m/amdx86-64.h (START_FILES, LIB_STANDARD): Use HAVE_LIB64_DIR
diff --git a/src/m/intel386.h b/src/m/intel386.h
index 17969dd16e4..680a2cc106d 100644
--- a/src/m/intel386.h
+++ b/src/m/intel386.h
@@ -142,28 +142,6 @@ NOTE-END */
142 142
143/* #define VIRT_ADDR_VARIES */ 143/* #define VIRT_ADDR_VARIES */
144 144
145#ifdef XENIX
146/* Define NO_REMAP if memory segmentation makes it not work well
147 to change the boundary between the text section and data section
148 when Emacs is dumped. If you define this, the preloaded Lisp
149 code will not be sharable; but that's better than failing completely. */
150
151#define NO_REMAP
152
153/* Since cannot purify, use standard Xenix 386 startup code. */
154
155#define START_FILES /lib/386/Sseg.o pre-crt0.o /lib/386/Scrt0.o
156
157/* These really use terminfo. */
158
159#define LIBS_TERMCAP /lib/386/Slibcurses.a \
160 /lib/386/Slibtinfo.a /lib/386/Slibx.a
161
162/* Standard libraries for this machine. Since `-l' doesn't work in `ld'. */
163/* '__fltused' is unresolved w/o Slibcfp.a */
164#define LIB_STANDARD /lib/386/Slibcfp.a /lib/386/Slibc.a
165#else /* not XENIX */
166
167/* this brings in alloca() if we're using cc */ 145/* this brings in alloca() if we're using cc */
168#ifdef USG 146#ifdef USG
169#ifndef LIB_STANDARD 147#ifndef LIB_STANDARD
@@ -177,7 +155,6 @@ NOTE-END */
177#define NO_REMAP 155#define NO_REMAP
178#define TEXT_START 0 156#define TEXT_START 0
179#endif /* USG */ 157#endif /* USG */
180#endif /* not XENIX */
181 158
182#ifdef USG5_4 159#ifdef USG5_4
183#define DATA_SEG_BITS 0x08000000 160#define DATA_SEG_BITS 0x08000000