From:	CRDGW2::CRDGW2::MRGATE::"SMTP::PREP.AI.MIT.EDU::HELP-GNU-EMACS-REQUEST" 16-JAN-1991 11:18:19.45
To:	MRGATE::"ARISIA::EVERHART"
CC:	
Subj:	SunOS 4.1.1

Received:  by crdgw1.ge.com (5.57/GE 1.80)
	 id AA19318; Wed, 16 Jan 91 10:56:04 EST
Received: by life.ai.mit.edu (4.1/AI-4.10) id AA22395; Mon, 14 Jan 91 16:44:27 EST
Return-Path: <eirik@theory.tn.cornell.edu>
Received: from theory.TN.CORNELL.EDU by life.ai.mit.edu (4.1/AI-4.10) id AA22314; Mon, 14 Jan 91 16:42:39 EST
Date: Mon, 14 Jan 91 16:44:28 EST
From: eirik@theory.tn.cornell.edu (Eirik Fuller)
Received: from wonton.TN.Cornell.EDU by theory.TN.CORNELL.EDU (4.1/1.6)
	id AA28209; Mon, 14 Jan 91 16:44:28 EST
Message-Id: <9101142144.AA28209@theory.TN.CORNELL.EDU>
Received: by wonton.TN.Cornell.EDU (4.1/SMI-4.1)
	id AA21998; Mon, 14 Jan 91 16:42:46 EST
To: help-gnu-emacs@prep.ai.mit.edu
Cc: jbw@bucsf.bu.edu (Joe Wells)
Subject: SunOS 4.1.1

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
