[comp.emacs] SunOS 4.1.1

eirik@THEORY.TN.CORNELL.EDU (Eirik Fuller) (01/15/91)

The frequently asked questions for this newsgroup tells what patches
you need to build GNU emacs under SunOS 4.1; this message is not about
that, except to mention that 4.1.1 needs them too.

For 4.1.1 you also need to add the enclosed #defines to config.h or
s-sunos4.h (either will work); they will do no harm in earlier
versions of SunOS.  The #defines enable existing retry code in
sysdep.c that copes with System V semantics of system calls.  Future
versions of emacs should do this for you, but 18.55 and earlier don't.

This seems like a good topic for the next version of the frequently
asked questions posting, if part of its purpose is to help prevent the
asking of likely questions that haven't been asked much.


/* 4.1.1 makes these system calls interruptable.  */

#define read sys_read
#define write sys_write
#define open sys_open
#define close sys_close

#define INTERRUPTABLE_OPEN
#define INTERRUPTABLE_CLOSE
#define INTERRUPTABLE_IO