aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorPaul Eggert2012-08-01 21:14:48 -0700
committerPaul Eggert2012-08-01 21:14:48 -0700
commit13294f95172c68a5e77143f917231e0f17f37537 (patch)
tree64d703087135fe71be44b267ca9d105ede888cc9 /lib-src
parent90df0db330dc6d168bf8cdb950a066a2916857ad (diff)
downloademacs-13294f95172c68a5e77143f917231e0f17f37537.tar.gz
emacs-13294f95172c68a5e77143f917231e0f17f37537.zip
Port to Solaris 8.
Without this change, 'configure' fails because the recently-added wait3 prototype in config.h messes up later 'configure' tests. Fix this problem by droping wait3 and WRETCODE, as they're no longer needed on hosts that are current porting targets. * configure.ac (wait3, WRETCODE): Remove, fixing a FIXME. All uses changed to waitpid and WEXITSTATUS. * src/syswait.h (WRETCODE): Remove, consistently with ../configure.ac.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/movemail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index d157aa8c0b9..c87d97778d1 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -560,8 +560,8 @@ main (int argc, char **argv)
560 wait (&wait_status); 560 wait (&wait_status);
561 if (!WIFEXITED (wait_status)) 561 if (!WIFEXITED (wait_status))
562 exit (EXIT_FAILURE); 562 exit (EXIT_FAILURE);
563 else if (WRETCODE (wait_status) != 0) 563 else if (WEXITSTATUS (wait_status) != 0)
564 exit (WRETCODE (wait_status)); 564 exit (WEXITSTATUS (wait_status));
565 565
566#if !defined (MAIL_USE_MMDF) && !defined (MAIL_USE_SYSTEM_LOCK) 566#if !defined (MAIL_USE_MMDF) && !defined (MAIL_USE_SYSTEM_LOCK)
567#ifdef MAIL_USE_MAILLOCK 567#ifdef MAIL_USE_MAILLOCK