v09i089: patches for X11R4 for SCO UNIX, Part03/12
microsoft!jimke at uunet.uu.net
microsoft!jimke at uunet.uu.net
Fri Oct 12 15:19:50 AEST 1990
Submitted-by: microsoft!jimke at uunet.uu.net
Posting-number: Volume 9, Issue 89
Archive-name: sco.patches/part03
#! /bin/sh
# This is a shell archive. Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c". You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
# "End of archive 3 (of 12)."
# Contents: fix-14.sco03
# Wrapped by jimke at kellman on Sat Oct 6 17:13:27 1990
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'fix-14.sco03' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'fix-14.sco03'\"
else
echo shar: Extracting \"'fix-14.sco03'\" \(46450 characters\)
sed "s/^X//" >'fix-14.sco03' <<'END_OF_FILE'
X*** ./mit-orig/lib/X/XImText.c Thu Oct 4 16:46:00 1990
X--- ./mit/lib/X/XImText.c Sat Sep 15 14:51:17 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XImText.c,v 11.13 89/12/11 19:09:30 rws Exp $ */
X*** ./mit-orig/lib/X/XImText16.c Thu Oct 4 16:45:52 1990
X--- ./mit/lib/X/XImText16.c Sat Sep 15 14:51:17 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XImText16.c,v 11.15 89/12/11 20:41:54 rws Exp $ */
X*** ./mit-orig/lib/X/XImUtil.c Thu Oct 4 16:46:02 1990
X--- ./mit/lib/X/XImUtil.c Sat Sep 15 14:51:18 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XImUtil.c,v 11.37 89/12/09 19:14:41 rws Exp $ */
X*** ./mit-orig/lib/X/XInitExt.c Thu Oct 4 16:45:47 1990
X--- ./mit/lib/X/XInitExt.c Sat Sep 15 14:51:18 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XInitExt.c,v 11.23 89/12/11 19:09:33 rws Exp $ */
X*** ./mit-orig/lib/X/XInsCmap.c Thu Oct 4 16:46:00 1990
X--- ./mit/lib/X/XInsCmap.c Sat Sep 15 14:51:19 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XInsCmap.c,v 11.6 88/09/06 16:08:46 jim Exp $ */
X*** ./mit-orig/lib/X/XIntAtom.c Thu Oct 4 16:46:01 1990
X--- ./mit/lib/X/XIntAtom.c Sat Sep 15 14:51:19 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XIntAtom.c,v 11.13 89/12/11 19:09:36 rws Exp $ */
X*** ./mit-orig/lib/X/XKeyBind.c Thu Oct 4 16:46:02 1990
X--- ./mit/lib/X/XKeyBind.c Sat Sep 15 14:51:19 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XKeyBind.c,v 11.58 89/12/11 19:09:38 rws Exp $ */
X*** ./mit-orig/lib/X/XKillCl.c Thu Oct 4 16:46:01 1990
X--- ./mit/lib/X/XKillCl.c Sat Sep 15 14:51:20 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XKillCl.c,v 11.8 88/09/06 16:08:52 jim Exp $ */
X*** ./mit-orig/lib/X/XLiHosts.c Thu Oct 4 16:46:04 1990
X--- ./mit/lib/X/XLiHosts.c Sat Sep 15 14:51:20 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XLiHosts.c,v 11.17 90/01/31 12:22:47 keith Exp $ */
X*** ./mit-orig/lib/X/XLiICmaps.c Thu Oct 4 16:46:07 1990
X--- ./mit/lib/X/XLiICmaps.c Sat Sep 15 14:51:20 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XLiICmaps.c,v 11.16 89/11/08 17:07:16 converse Exp $ */
X*** ./mit-orig/lib/X/XLiProps.c Thu Oct 4 16:46:07 1990
X--- ./mit/lib/X/XLiProps.c Sat Sep 15 14:51:21 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XLiProps.c,v 11.19 89/11/08 17:07:19 converse Exp $ */
X*** ./mit-orig/lib/X/XListExt.c Thu Oct 4 16:46:08 1990
X--- ./mit/lib/X/XListExt.c Sat Sep 15 14:51:21 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XListExt.c,v 11.8 89/11/08 17:07:22 converse Exp $ */
X*** ./mit-orig/lib/X/XLoadFont.c Thu Oct 4 16:46:02 1990
X--- ./mit/lib/X/XLoadFont.c Sat Sep 15 14:51:21 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XLoadFont.c,v 11.9 89/12/11 19:09:43 rws Exp $ */
X*** ./mit-orig/lib/X/XLookupCol.c Thu Oct 4 16:46:35 1990
X--- ./mit/lib/X/XLookupCol.c Sat Sep 15 14:51:22 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XLookupCol.c,v 11.9 89/12/11 19:09:46 rws Exp $ */
X*** ./mit-orig/lib/X/XLowerWin.c Thu Oct 4 16:46:03 1990
X--- ./mit/lib/X/XLowerWin.c Sat Sep 15 14:51:22 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XLowerWin.c,v 11.8 88/09/06 16:09:09 jim Exp $ */
X*** ./mit-orig/lib/X/XMacros.c Thu Oct 4 16:46:03 1990
X--- ./mit/lib/X/XMacros.c Sat Sep 15 14:51:23 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XMacros.c,v 11.24 89/12/11 13:29:21 converse Exp $ */
X*** ./mit-orig/lib/X/XMapRaised.c Thu Oct 4 16:46:20 1990
X--- ./mit/lib/X/XMapRaised.c Sat Sep 15 14:51:23 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XMapRaised.c,v 1.8 88/09/06 16:11:35 jim Exp $ */
X*** ./mit-orig/lib/X/XMapSubs.c Thu Oct 4 16:46:03 1990
X--- ./mit/lib/X/XMapSubs.c Sat Sep 15 14:51:23 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XMapSubs.c,v 11.5 88/09/06 16:09:14 jim Exp $ */
X*** ./mit-orig/lib/X/XMapWindow.c Thu Oct 4 16:46:03 1990
X--- ./mit/lib/X/XMapWindow.c Sat Sep 15 14:51:25 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XMapWindow.c,v 11.6 88/09/06 16:09:15 jim Exp $ */
X*** ./mit-orig/lib/X/XMaskEvent.c Thu Oct 4 16:46:20 1990
X--- ./mit/lib/X/XMaskEvent.c Sat Sep 15 14:51:25 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XMaskEvent.c,v 11.18 88/09/06 16:11:31 jim Exp $ */
X*** ./mit-orig/lib/X/XMisc.c Thu Oct 4 16:46:12 1990
X--- ./mit/lib/X/XMisc.c Sat Sep 15 14:51:25 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XMisc.c,v 1.3 88/09/06 16:10:30 jim Exp $ */
X*** ./mit-orig/lib/X/XModMap.c Thu Oct 4 16:46:10 1990
X--- ./mit/lib/X/XModMap.c Sat Sep 15 14:51:26 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XModMap.c,v 11.10 89/12/10 10:15:22 rws Exp $ */
X*** ./mit-orig/lib/X/XMoveWin.c Thu Oct 4 16:46:13 1990
X--- ./mit/lib/X/XMoveWin.c Sat Sep 15 14:51:26 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XMoveWin.c,v 11.9 88/09/06 16:10:38 jim Exp $ */
X*** ./mit-orig/lib/X/XNextEvent.c Thu Oct 4 16:46:04 1990
X--- ./mit/lib/X/XNextEvent.c Sat Sep 15 14:51:26 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XNextEvent.c,v 11.15 88/09/06 16:09:22 jim Exp $ */
X*** ./mit-orig/lib/X/XOpenDis.c Thu Oct 4 16:46:24 1990
X--- ./mit/lib/X/XOpenDis.c Sat Sep 15 14:51:27 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /*
X * $XConsortium: XOpenDis.c,v 11.94 89/12/12 18:17:05 rws Exp $
X */
X*** ./mit-orig/lib/X/XParseCol.c Thu Oct 4 16:46:04 1990
X--- ./mit/lib/X/XParseCol.c Sat Sep 15 14:51:27 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XParseCol.c,v 11.18 89/12/11 19:09:55 rws Exp $ */
X*** ./mit-orig/lib/X/XParseGeom.c Thu Oct 4 16:46:35 1990
X--- ./mit/lib/X/XParseGeom.c Sat Sep 15 14:51:28 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* Copyright Massachusetts Institute of Technology 1985, 1986, 1987 */
X*** ./mit-orig/lib/X/XPeekEvent.c Thu Oct 4 16:46:05 1990
X--- ./mit/lib/X/XPeekEvent.c Sat Sep 15 14:51:28 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XPeekEvent.c,v 11.13 88/09/06 16:09:31 jim Exp $ */
X*** ./mit-orig/lib/X/XPeekIfEv.c Thu Oct 4 16:46:05 1990
X--- ./mit/lib/X/XPeekIfEv.c Sat Sep 15 14:51:28 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XPeekIfEv.c,v 11.11 88/09/06 16:09:33 jim Exp $ */
X*** ./mit-orig/lib/X/XPending.c Thu Oct 4 16:46:05 1990
X--- ./mit/lib/X/XPending.c Sat Sep 15 14:51:29 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XPending.c,v 11.13 88/09/06 16:09:35 jim Exp $ */
X*** ./mit-orig/lib/X/XPmapBgnd.c Thu Oct 4 16:46:05 1990
X--- ./mit/lib/X/XPmapBgnd.c Sat Sep 15 14:51:29 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XPmapBgnd.c,v 11.7 88/09/06 16:09:38 jim Exp $ */
X*** ./mit-orig/lib/X/XPmapBord.c Thu Oct 4 16:46:05 1990
X--- ./mit/lib/X/XPmapBord.c Sat Sep 15 14:51:29 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XPmapBord.c,v 11.7 88/09/06 16:09:42 jim Exp $ */
X*** ./mit-orig/lib/X/XPolyReg.c Thu Oct 4 16:46:22 1990
X--- ./mit/lib/X/XPolyReg.c Sat Sep 15 14:51:30 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /* $XConsortium: XPolyReg.c,v 11.17 89/11/08 17:07:30 converse Exp $ */
X /************************************************************************
X Copyright 1987 by Digital Equipment Corporation, Maynard, Massachusetts,
X*** ./mit-orig/lib/X/XPolyTxt.c Thu Oct 4 16:46:25 1990
X--- ./mit/lib/X/XPolyTxt.c Sat Sep 15 14:51:30 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XPolyTxt.c,v 11.18 89/01/10 11:45:13 rws Exp $ */
X*** ./mit-orig/lib/X/XPolyTxt16.c Thu Oct 4 16:46:06 1990
X--- ./mit/lib/X/XPolyTxt16.c Sat Sep 15 14:51:30 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XPolyTxt16.c,v 11.20 89/12/15 18:47:14 jim Exp $ */
X*** ./mit-orig/lib/X/XPutBEvent.c Thu Oct 4 16:46:24 1990
X--- ./mit/lib/X/XPutBEvent.c Sat Sep 15 14:51:31 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* Copyright Massachusetts Institute of Technology 1986 */
X*** ./mit-orig/lib/X/XPutImage.c Thu Oct 4 16:46:30 1990
X--- ./mit/lib/X/XPutImage.c Sat Sep 15 14:51:31 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XPutImage.c,v 11.51 89/11/08 18:48:59 converse Exp $ */
X*** ./mit-orig/lib/X/XQuBest.c Thu Oct 4 16:46:07 1990
X--- ./mit/lib/X/XQuBest.c Sat Sep 15 14:51:32 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuBest.c,v 1.7 88/09/06 16:09:51 jim Exp $ */
X*** ./mit-orig/lib/X/XQuColor.c Thu Oct 4 16:46:07 1990
X--- ./mit/lib/X/XQuColor.c Sat Sep 15 14:51:32 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuColor.c,v 11.16 88/09/06 16:09:52 jim Exp $ */
X*** ./mit-orig/lib/X/XQuColors.c Thu Oct 4 16:46:26 1990
X--- ./mit/lib/X/XQuColors.c Sat Sep 15 14:51:32 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuColors.c,v 11.19 89/12/09 19:14:28 rws Exp $ */
X*** ./mit-orig/lib/X/XQuCurShp.c Thu Oct 4 16:46:07 1990
X--- ./mit/lib/X/XQuCurShp.c Sat Sep 15 14:51:33 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuCurShp.c,v 11.10 88/09/06 16:09:55 jim Exp $ */
X*** ./mit-orig/lib/X/XQuExt.c Thu Oct 4 16:46:07 1990
X--- ./mit/lib/X/XQuExt.c Sat Sep 15 14:51:33 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuExt.c,v 11.15 89/12/11 19:10:04 rws Exp $ */
X*** ./mit-orig/lib/X/XQuKeybd.c Thu Oct 4 16:46:07 1990
X--- ./mit/lib/X/XQuKeybd.c Sat Sep 15 14:51:33 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuKeybd.c,v 11.10 88/09/06 16:09:57 jim Exp $ */
X*** ./mit-orig/lib/X/XQuPntr.c Thu Oct 4 16:46:07 1990
X--- ./mit/lib/X/XQuPntr.c Sat Sep 15 14:51:34 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuPntr.c,v 11.14 88/09/06 16:09:58 jim Exp $ */
X*** ./mit-orig/lib/X/XQuStipShp.c Thu Oct 4 16:46:08 1990
X--- ./mit/lib/X/XQuStipShp.c Sat Sep 15 14:51:34 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuStipShp.c,v 11.10 88/09/06 16:09:59 jim Exp $ */
X*** ./mit-orig/lib/X/XQuTextE16.c Thu Oct 4 16:46:00 1990
X--- ./mit/lib/X/XQuTextE16.c Sat Sep 15 14:51:35 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuTextE16.c,v 11.13 89/12/11 20:56:35 rws Exp $ */
X*** ./mit-orig/lib/X/XQuTextExt.c Thu Oct 4 16:46:04 1990
X--- ./mit/lib/X/XQuTextExt.c Sat Sep 15 14:51:35 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuTextExt.c,v 11.15 89/12/11 20:56:40 rws Exp $ */
X*** ./mit-orig/lib/X/XQuTileShp.c Thu Oct 4 16:46:08 1990
X--- ./mit/lib/X/XQuTileShp.c Sat Sep 15 14:51:35 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuTileShp.c,v 11.10 88/09/06 16:10:04 jim Exp $ */
X*** ./mit-orig/lib/X/XQuTree.c Thu Oct 4 16:46:27 1990
X--- ./mit/lib/X/XQuTree.c Sat Sep 15 14:51:36 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XQuTree.c,v 11.18 89/11/08 17:07:57 converse Exp $ */
X*** ./mit-orig/lib/X/XRaiseWin.c Thu Oct 4 16:46:08 1990
X--- ./mit/lib/X/XRaiseWin.c Sat Sep 15 14:51:36 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XRaiseWin.c,v 11.8 88/09/06 16:10:09 jim Exp $ */
X*** ./mit-orig/lib/X/XRdBitF.c Thu Oct 4 16:46:36 1990
X--- ./mit/lib/X/XRdBitF.c Sat Sep 15 14:51:37 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /* Copyright, 1987, Massachusetts Institute of Technology */
X
X #include "copyright.h"
X*** ./mit-orig/lib/X/XRecolorC.c Thu Oct 4 16:46:08 1990
X--- ./mit/lib/X/XRecolorC.c Sat Sep 15 14:51:37 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XRecolorC.c,v 11.7 88/09/06 16:10:13 jim Exp $ */
X*** ./mit-orig/lib/X/XReconfWin.c Thu Oct 4 16:46:21 1990
X--- ./mit/lib/X/XReconfWin.c Sat Sep 15 14:51:37 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XReconfWin.c,v 11.13 88/09/06 16:11:39 jim Exp $ */
X*** ./mit-orig/lib/X/XRegion.c Thu Oct 4 16:46:28 1990
X--- ./mit/lib/X/XRegion.c Sat Sep 15 14:51:38 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /* $XConsortium: XRegion.c,v 11.27 89/12/08 16:49:43 converse Exp $ */
X /************************************************************************
X Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts,
X*** ./mit-orig/lib/X/XRepWindow.c Thu Oct 4 16:46:08 1990
X--- ./mit/lib/X/XRepWindow.c Sat Sep 15 14:51:38 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XRepWindow.c,v 11.6 88/09/06 16:10:19 jim Exp $ */
X*** ./mit-orig/lib/X/XRestackWs.c Thu Oct 4 16:46:27 1990
X--- ./mit/lib/X/XRestackWs.c Sat Sep 15 14:51:39 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XRestackWs.c,v 1.10 89/10/08 14:42:33 rws Exp $ */
X*** ./mit-orig/lib/X/XRotProp.c Thu Oct 4 16:46:10 1990
X--- ./mit/lib/X/XRotProp.c Sat Sep 15 14:51:39 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XRotProp.c,v 11.13 89/12/09 19:14:38 rws Exp $ */
X*** ./mit-orig/lib/X/XSelInput.c Thu Oct 4 16:46:11 1990
X--- ./mit/lib/X/XSelInput.c Sat Sep 15 14:51:39 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSelInput.c,v 11.8 88/09/06 16:10:22 jim Exp $ */
X*** ./mit-orig/lib/X/XSendEvent.c Thu Oct 4 16:46:08 1990
X--- ./mit/lib/X/XSendEvent.c Sat Sep 15 14:51:40 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSendEvent.c,v 11.10 88/09/06 16:10:01 jim Exp $ */
X*** ./mit-orig/lib/X/XSetBack.c Thu Oct 4 16:46:11 1990
X--- ./mit/lib/X/XSetBack.c Sat Sep 15 14:51:40 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetBack.c,v 11.8 88/09/06 16:10:25 jim Exp $ */
X*** ./mit-orig/lib/X/XSetCRects.c Thu Oct 4 16:46:21 1990
X--- ./mit/lib/X/XSetCRects.c Sat Sep 15 14:51:40 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetCRects.c,v 11.18 88/09/06 16:11:40 jim Exp $ */
X*** ./mit-orig/lib/X/XSetClMask.c Thu Oct 4 16:46:20 1990
X--- ./mit/lib/X/XSetClMask.c Sat Sep 15 14:51:41 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetClMask.c,v 11.8 88/09/06 16:11:33 jim Exp $ */
X*** ./mit-orig/lib/X/XSetClOrig.c Thu Oct 4 16:46:12 1990
X--- ./mit/lib/X/XSetClOrig.c Sat Sep 15 14:51:41 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetClOrig.c,v 11.12 88/09/06 16:10:27 jim Exp $ */
X*** ./mit-orig/lib/X/XSetDashes.c Thu Oct 4 16:46:12 1990
X--- ./mit/lib/X/XSetDashes.c Sat Sep 15 14:51:41 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetDashes.c,v 11.10 89/12/11 19:10:15 rws Exp $ */
X*** ./mit-orig/lib/X/XSetFPath.c Thu Oct 4 16:46:12 1990
X--- ./mit/lib/X/XSetFPath.c Sat Sep 15 14:51:42 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetFPath.c,v 11.12 88/09/06 16:10:29 jim Exp $ */
X*** ./mit-orig/lib/X/XSetFont.c Thu Oct 4 16:46:12 1990
X--- ./mit/lib/X/XSetFont.c Sat Sep 15 14:51:42 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetFont.c,v 11.8 88/09/06 16:10:31 jim Exp $ */
X*** ./mit-orig/lib/X/XSetFore.c Thu Oct 4 16:46:12 1990
X--- ./mit/lib/X/XSetFore.c Sat Sep 15 14:51:43 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetFore.c,v 11.8 88/09/06 16:10:33 jim Exp $ */
X*** ./mit-orig/lib/X/XSetFunc.c Thu Oct 4 16:46:12 1990
X--- ./mit/lib/X/XSetFunc.c Sat Sep 15 14:51:43 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetFunc.c,v 11.8 88/09/06 16:10:34 jim Exp $ */
X*** ./mit-orig/lib/X/XSetHints.c Thu Oct 4 16:46:29 1990
X--- ./mit/lib/X/XSetHints.c Sat Sep 15 14:51:43 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetHints.c,v 11.35 89/12/11 19:10:18 rws Exp $ */
X*** ./mit-orig/lib/X/XSetIFocus.c Thu Oct 4 16:46:13 1990
X--- ./mit/lib/X/XSetIFocus.c Sat Sep 15 14:51:44 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetIFocus.c,v 11.8 88/09/06 16:10:37 jim Exp $ */
X*** ./mit-orig/lib/X/XSetLStyle.c Thu Oct 4 16:46:13 1990
X--- ./mit/lib/X/XSetLStyle.c Sat Sep 15 14:51:44 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetLStyle.c,v 11.10 88/09/06 16:10:39 jim Exp $ */
X*** ./mit-orig/lib/X/XSetPMask.c Thu Oct 4 16:46:13 1990
X--- ./mit/lib/X/XSetPMask.c Sat Sep 15 14:51:44 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetPMask.c,v 11.8 88/09/06 16:10:40 jim Exp $ */
X*** ./mit-orig/lib/X/XSetPntMap.c Thu Oct 4 16:46:36 1990
X--- ./mit/lib/X/XSetPntMap.c Sat Sep 15 14:51:45 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetPntMap.c,v 11.11 89/12/11 19:10:22 rws Exp $ */
X*** ./mit-orig/lib/X/XSetSOwner.c Thu Oct 4 16:46:14 1990
X--- ./mit/lib/X/XSetSOwner.c Sat Sep 15 14:51:45 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetSOwner.c,v 11.8 88/09/06 16:10:42 jim Exp $ */
X*** ./mit-orig/lib/X/XSetSSaver.c Thu Oct 4 16:46:14 1990
X--- ./mit/lib/X/XSetSSaver.c Sat Sep 15 14:51:45 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetSSaver.c,v 11.6 88/09/06 16:10:46 jim Exp $ */
X*** ./mit-orig/lib/X/XSetStCmap.c Thu Oct 4 16:46:27 1990
X--- ./mit/lib/X/XSetStCmap.c Sat Sep 15 14:51:46 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetStCmap.c,v 1.5 89/05/08 15:57:45 jim Exp $ */
X*** ./mit-orig/lib/X/XSetState.c Thu Oct 4 16:46:14 1990
X--- ./mit/lib/X/XSetState.c Sat Sep 15 14:51:46 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetState.c,v 11.10 88/09/06 16:10:50 jim Exp $ */
X*** ./mit-orig/lib/X/XSetStip.c Thu Oct 4 16:46:14 1990
X--- ./mit/lib/X/XSetStip.c Sat Sep 15 14:51:47 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetStip.c,v 11.13 88/09/06 16:10:52 jim Exp $ */
X*** ./mit-orig/lib/X/XSetTSOrig.c Thu Oct 4 16:46:14 1990
X--- ./mit/lib/X/XSetTSOrig.c Sat Sep 15 14:51:47 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetTSOrig.c,v 11.3 88/09/06 16:10:53 jim Exp $ */
X*** ./mit-orig/lib/X/XSetTile.c Thu Oct 4 16:46:14 1990
X--- ./mit/lib/X/XSetTile.c Sat Sep 15 14:51:47 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSetTile.c,v 11.13 88/09/06 16:10:54 jim Exp $ */
X*** ./mit-orig/lib/X/XStBytes.c Thu Oct 4 16:46:14 1990
X--- ./mit/lib/X/XStBytes.c Sat Sep 15 14:51:48 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /* $XConsortium: XStBytes.c,v 11.17 89/12/11 19:10:26 rws Exp $ */
X /* Copyright Massachusetts Institute of Technology 1986 */
X
X*** ./mit-orig/lib/X/XStColor.c Thu Oct 4 16:46:07 1990
X--- ./mit/lib/X/XStColor.c Sat Sep 15 14:51:48 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XStColor.c,v 11.9 88/09/06 16:09:50 jim Exp $ */
X*** ./mit-orig/lib/X/XStColors.c Thu Oct 4 16:46:13 1990
X--- ./mit/lib/X/XStColors.c Sat Sep 15 14:51:48 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XStColors.c,v 11.13 89/12/09 19:14:34 rws Exp $ */
X*** ./mit-orig/lib/X/XStNColor.c Thu Oct 4 16:46:14 1990
X--- ./mit/lib/X/XStNColor.c Sat Sep 15 14:51:49 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XStNColor.c,v 11.11 89/12/11 19:10:29 rws Exp $ */
X*** ./mit-orig/lib/X/XStName.c Thu Oct 4 16:46:15 1990
X--- ./mit/lib/X/XStName.c Sat Sep 15 14:51:49 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XStName.c,v 11.12 89/12/11 19:10:32 rws Exp $ */
X*** ./mit-orig/lib/X/XStrKeysym.c Thu Oct 4 16:46:36 1990
X--- ./mit/lib/X/XStrKeysym.c Sat Sep 15 14:51:50 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /* $XConsortium: XStrKeysym.c,v 11.4 89/12/11 19:10:34 rws Exp $ */
X /* Copyright 1985, 1987, Massachusetts Institute of Technology */
X
X*** ./mit-orig/lib/X/XSync.c Thu Oct 4 16:46:12 1990
X--- ./mit/lib/X/XSync.c Sat Sep 15 14:51:50 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSync.c,v 11.14 88/10/15 12:42:34 jim Exp $ */
X*** ./mit-orig/lib/X/XSynchro.c Thu Oct 4 16:45:48 1990
X--- ./mit/lib/X/XSynchro.c Sat Sep 15 14:51:50 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XSynchro.c,v 11.7 89/07/23 17:52:55 jim Exp $ */
X*** ./mit-orig/lib/X/XText.c Thu Oct 4 16:46:14 1990
X--- ./mit/lib/X/XText.c Sat Sep 15 14:51:56 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XText.c,v 11.19 89/12/11 19:10:37 rws Exp $ */
X*** ./mit-orig/lib/X/XText16.c Thu Oct 4 16:46:00 1990
X--- ./mit/lib/X/XText16.c Sat Sep 15 14:51:57 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XText16.c,v 11.19 89/12/11 21:11:51 rws Exp $ */
X*** ./mit-orig/lib/X/XTextExt.c Thu Oct 4 16:46:28 1990
X--- ./mit/lib/X/XTextExt.c Sat Sep 15 14:51:57 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /*
X * $XConsortium: XTextExt.c,v 11.24 89/12/11 19:10:40 rws Exp $
X *
X*** ./mit-orig/lib/X/XTextExt16.c Thu Oct 4 16:46:03 1990
X--- ./mit/lib/X/XTextExt16.c Sat Sep 15 14:51:57 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /*
X * $XConsortium: XTextExt16.c,v 11.18 89/12/11 21:11:55 rws Exp $
X *
X*** ./mit-orig/lib/X/XTrCoords.c Thu Oct 4 16:46:15 1990
X--- ./mit/lib/X/XTrCoords.c Sat Sep 15 14:51:58 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XTrCoords.c,v 11.12 88/09/06 16:11:08 jim Exp $ */
X*** ./mit-orig/lib/X/XUndefCurs.c Thu Oct 4 16:46:21 1990
X--- ./mit/lib/X/XUndefCurs.c Sat Sep 15 14:51:58 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUndefCurs.c,v 11.7 88/09/06 16:11:38 jim Exp $ */
X*** ./mit-orig/lib/X/XUngrabBut.c Thu Oct 4 16:46:15 1990
X--- ./mit/lib/X/XUngrabBut.c Sat Sep 15 14:51:59 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUngrabBut.c,v 11.6 88/09/06 16:11:09 jim Exp $ */
X*** ./mit-orig/lib/X/XUngrabKbd.c Thu Oct 4 16:46:15 1990
X--- ./mit/lib/X/XUngrabKbd.c Sat Sep 15 14:51:59 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUngrabKbd.c,v 11.9 88/09/06 16:11:10 jim Exp $ */
X*** ./mit-orig/lib/X/XUngrabKey.c Thu Oct 4 16:46:15 1990
X--- ./mit/lib/X/XUngrabKey.c Sat Sep 15 14:51:59 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUngrabKey.c,v 11.6 88/09/06 16:11:11 jim Exp $ */
X*** ./mit-orig/lib/X/XUngrabPtr.c Thu Oct 4 16:46:15 1990
X--- ./mit/lib/X/XUngrabPtr.c Sat Sep 15 14:52:00 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUngrabPtr.c,v 11.8 88/09/06 16:11:12 jim Exp $ */
X*** ./mit-orig/lib/X/XUngrabSvr.c Thu Oct 4 16:46:15 1990
X--- ./mit/lib/X/XUngrabSvr.c Sat Sep 15 14:52:00 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUngrabSvr.c,v 11.6 88/09/06 16:11:13 jim Exp $ */
X*** ./mit-orig/lib/X/XUninsCmap.c Thu Oct 4 16:46:15 1990
X--- ./mit/lib/X/XUninsCmap.c Sat Sep 15 14:52:00 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUninsCmap.c,v 11.6 88/09/06 16:11:14 jim Exp $ */
X*** ./mit-orig/lib/X/XUnldFont.c Thu Oct 4 16:46:16 1990
X--- ./mit/lib/X/XUnldFont.c Sat Sep 15 14:52:01 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUnldFont.c,v 11.6 88/09/06 16:11:16 jim Exp $ */
X*** ./mit-orig/lib/X/XUnmapSubs.c Thu Oct 4 16:46:16 1990
X--- ./mit/lib/X/XUnmapSubs.c Sat Sep 15 14:52:01 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUnmapSubs.c,v 11.7 88/09/06 16:11:17 jim Exp $ */
X*** ./mit-orig/lib/X/XUnmapWin.c Thu Oct 4 16:46:16 1990
X--- ./mit/lib/X/XUnmapWin.c Sat Sep 15 14:52:02 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XUnmapWin.c,v 11.6 88/09/06 16:11:21 jim Exp $ */
X*** ./mit-orig/lib/X/XVisUtil.c Thu Oct 4 16:46:29 1990
X--- ./mit/lib/X/XVisUtil.c Sat Sep 15 14:52:02 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XVisUtil.c,v 11.11 89/11/08 17:08:17 converse Exp $ */
X*** ./mit-orig/lib/X/XWarpPtr.c Thu Oct 4 16:46:16 1990
X--- ./mit/lib/X/XWarpPtr.c Sat Sep 15 14:52:02 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XWarpPtr.c,v 11.6 88/09/06 16:11:23 jim Exp $ */
X*** ./mit-orig/lib/X/XWinEvent.c Thu Oct 4 16:46:17 1990
X--- ./mit/lib/X/XWinEvent.c Sat Sep 15 14:52:03 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XWinEvent.c,v 11.15 88/09/06 16:11:24 jim Exp $ */
X*** ./mit-orig/lib/X/XWindow.c Thu Oct 4 16:46:17 1990
X--- ./mit/lib/X/XWindow.c Sat Sep 15 14:52:03 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X #include "copyright.h"
X
X /* $XConsortium: XWindow.c,v 11.15 88/09/06 16:11:25 jim Exp $ */
X*** ./mit-orig/lib/X/XWrBitF.c Thu Oct 4 16:46:19 1990
X--- ./mit/lib/X/XWrBitF.c Sat Sep 15 14:52:04 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /* Copyright, 1987, Massachusetts Institute of Technology */
X
X #include "copyright.h"
X*** ./mit-orig/lib/X/XlibInt.c Thu Oct 4 16:46:06 1990
X--- ./mit/lib/X/XlibInt.c Thu Sep 27 23:07:39 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X /*
X * $XConsortium: XlibInt.c,v 11.119 89/12/12 11:50:18 jim Exp $
X */
X***************
X*** 22,31 ****
X int _XReadV(), _XWriteV();
X #endif
X
X! #if defined(STREAMSCONN) && (!defined(EWOULDBLOCK)) && defined(EAGAIN)
X #define EWOULDBLOCK EAGAIN
X #endif
X
X
X /*
X * The following routines are internal routines used by Xlib for protocol
X--- 23,37 ----
X int _XReadV(), _XWriteV();
X #endif
X
X! #if defined(STREAMSCONN) && ((!defined(EWOULDBLOCK)) && defined(EAGAIN)) || defined(sco)
X! #undef EWOULDBLOCK
X #define EWOULDBLOCK EAGAIN
X #endif
X
X+ #ifdef STREAMSCONN
X+ #undef EMSGSIZE
X+ #define EMSGSIZE ERANGE
X+ #endif
X
X /*
X * The following routines are internal routines used by Xlib for protocol
X***************
X*** 1779,1859 ****
X */
X #include <sys/poll.h>
X
X! #define POLLERROR (POLLHUP | POLLNVAL | POLLERR)
X! #define PFD(fds, i, x) \
X! { \
X! if (fds) \
X! if (ev & (x)) \
X! BITSET (fds, i); \
X! else \
X! BITCLEAR (fds, i); \
X! }
X! #define ERROR(x) \
X! { \
X! errno = x; \
X! return -1; \
X! }
X! /*
X! simulate BSD select system call with SYSV poll system call
X! note that efds parameter is not fully supported (or understood)
X! */
X!
X! extern long ulimit();
X!
X! int
X! select (nfds, rfds, wfds, efds, timeout)
X! int nfds;
X! unsigned long *rfds;
X! unsigned long *wfds;
X! unsigned long *efds;
X! struct timeval *timeout;
X! {
X! int i, rc, ev, timevalue;
X! struct pollfd pfds[NOFILES_MAX];
X! static long _NOFILE = 0;
X!
X! if (_NOFILE == 0)
X! _NOFILE = ulimit(4, (long)0);
X!
X! if (nfds > _NOFILE)
X! nfds = _NOFILE; /* make poll happy */
X!
X! for (i = 0; i < nfds; i++)
X! {
X! ev = 0;
X
X! if (rfds && GETBIT (rfds, i)) ev |= POLLIN;
X! if (wfds && GETBIT (wfds, i)) ev |= POLLOUT;
X! if (ev || (efds && GETBIT (efds, i)))
X! pfds[i].fd = i;
X! else
X! pfds[i].fd = -1;
X! pfds[i].events = ev;
X! }
X! if (timeout)
X! timevalue = timeout->tv_sec * 1000 + timeout->tv_usec / 1000;
X! else
X! timevalue = -1;
X
X! if ((rc = poll (pfds, (unsigned long)nfds, timevalue)) > 0)
X! {
X! if (!efds)
X! for (i = 0; i < nfds; ++i)
X! {
X! ev = pfds[i].revents;
X! if (ev & POLLERROR)
X! ERROR (EBADF);
X! }
X
X! for (i = 0; i < nfds; ++i)
X! {
X! ev = pfds[i].revents;
X! PFD (rfds, i, POLLIN);
X! PFD (wfds, i, POLLOUT);
X! PFD (efds, i, POLLERROR);
X! }
X! }
X! return rc;
X }
X!
X! #endif /* STREAMSCONN */
X--- 1785,2193 ----
X */
X #include <sys/poll.h>
X
X! #endif /* STREAMSCONN */
X
X! #ifdef sco
X! /*
X! * cos() and sin() seem to screw up the stack on SCO. We will define our
X! * own here. It's a little rough and returns a discrete value for every
X! * PI/720 radians of domain.
X! */
X! static
X! double sin_table[]={
X! 0.0,
X! 4.363309284746566700e-03,
X! 8.726535498373926000e-03,
X! 1.308959557134442700e-02,
X! 1.745240643728349400e-02,
X! 2.181488503456110000e-02,
X! 2.617694830787312500e-02,
X! 3.053851320982262800e-02,
X! 3.489949670250093400e-02,
X! 3.925981575906856800e-02,
X! 4.361938736533595800e-02,
X! 4.797812852134389300e-02,
X! 5.233595624294377900e-02,
X! 5.669278756337745000e-02,
X! 6.104853953485681000e-02,
X! 6.540312923014300600e-02,
X! 6.975647374412523300e-02,
X! 7.410849019539915400e-02,
X! 7.845909572784486000e-02,
X! 8.280820751220426000e-02,
X! 8.715574274765808300e-02,
X! 9.150161866340228400e-02,
X! 9.584575252022388400e-02,
X! 1.001880616120761900e-01,
X! 1.045284632676533600e-01,
X! 1.088668748519644600e-01,
X! 1.132032137679066000e-01,
X! 1.175373974578375300e-01,
X! 1.218693434051473600e-01,
X! 1.261989691358296200e-01,
X! 1.305261922200514600e-01,
X! 1.348509302737228600e-01,
X! 1.391731009600653000e-01,
X! 1.434926219911791800e-01,
X! 1.478094111296104600e-01,
X! 1.521233861899165500e-01,
X! 1.564344650402307000e-01,
X! 1.607425656038259400e-01,
X! 1.650476058606774900e-01,
X! 1.693495038490244500e-01,
X! 1.736481776669301600e-01,
X! 1.779435454738415800e-01,
X! 1.822355254921472800e-01,
X! 1.865240360087344600e-01,
X! 1.908089953765446100e-01,
X! 1.950903220161280800e-01,
X! 1.993679344171970000e-01,
X! 2.036417511401772700e-01,
X! 2.079116908177591200e-01,
X! 2.121776721564460300e-01,
X! 2.164396139381026500e-01,
X! 2.206974350215008800e-01,
X! 2.249510543438647500e-01,
X! 2.292003909224139300e-01,
X! 2.334453638559052000e-01,
X! 2.376858923261728500e-01,
X! 2.419218955996674800e-01,
X! 2.461532930289927800e-01,
X! 2.503800040544411600e-01,
X! 2.546019482055273400e-01,
X! 2.588190451025205200e-01,
X! 2.630312144579745000e-01,
X! 2.672383760782565700e-01,
X! 2.714404498650739800e-01,
X! 2.756373558169989400e-01,
X! 2.798290140309918100e-01,
X! 2.840153447039223700e-01,
X! 2.881962681340890000e-01,
X! 2.923717047227364400e-01,
X! 2.965415749755706500e-01,
X! 3.007057995042728400e-01,
X! 3.048642990280105400e-01,
X! 3.090169943749471200e-01,
X! 3.131638064837492500e-01,
X! 3.173046564050918100e-01,
X! 3.214394653031612500e-01,
X! 3.255681544571563700e-01,
X! 3.296906452627869100e-01,
X! 3.338068592337705700e-01,
X! 3.379167180033266800e-01,
X! 3.420201433256683800e-01,
X! 3.461170570774926300e-01,
X! 3.502073812594671500e-01,
X! 3.542910379977155000e-01,
X! 3.583679495452999400e-01,
X! 3.624380382837013000e-01,
X! 3.665012267242969100e-01,
X! 3.705574375098358800e-01,
X! 3.746065934159116300e-01,
X! 3.786486173524326000e-01,
X! 3.826834323650893900e-01,
X! 3.867109616368202300e-01,
X! 3.907311284892733800e-01,
X! 3.947438563842668400e-01,
X! 3.987490689252458100e-01,
X! 4.027466898587368500e-01,
X! 4.067366430757998200e-01,
X! 4.107188526134769000e-01,
X! 4.146932426562386400e-01,
X! 4.186597375374276900e-01,
X! 4.226182617406990000e-01,
X! 4.265687399014579400e-01,
X! 4.305110968082947500e-01,
X! 4.344452574044167000e-01,
X! 4.383711467890769600e-01,
X! 4.422886902190008600e-01,
X! 4.461978131098083800e-01,
X! 4.500984410374345700e-01,
X! 4.539904997395463600e-01,
X! 4.578739151169563000e-01,
X! 4.617486132350334700e-01,
X! 4.656145203251109700e-01,
X! 4.694715627858903600e-01,
X! 4.733196671848429700e-01,
X! 4.771587602596079600e-01,
X! 4.809887689193872400e-01,
X! 4.848096202463365600e-01,
X! 4.886212414969544600e-01,
X! 4.924235601034666600e-01,
X! 4.962165036752077000e-01,
X! 4.999999999999995600e-01,
X! 5.037739770455258400e-01,
X! 5.075383629607036500e-01,
X! 5.112930860770516000e-01,
X! 5.150380749100537100e-01,
X! 5.187732581605210000e-01,
X! 5.224985647159483500e-01,
X! 5.262139236518691400e-01,
X! 5.299192642332044600e-01,
X! 5.336145159156110400e-01,
X! 5.372996083468233300e-01,
X! 5.409744713679933700e-01,
X! 5.446390350150266400e-01,
X! 5.482932295199133300e-01,
X! 5.519369853120575900e-01,
X! 5.555702330196017300e-01,
X! 5.591929034707463500e-01,
X! 5.628049276950680700e-01,
X! 5.664062369248322700e-01,
X! 5.699967625963025000e-01,
X! 5.735764363510456000e-01,
X! 5.771451900372330800e-01,
X! 5.807029557109393300e-01,
X! 5.842496656374338600e-01,
X! 5.877852522924725800e-01,
X! 5.913096483635819100e-01,
X! 5.948227867513407000e-01,
X! 5.983246005706585000e-01,
X! 6.018150231520477100e-01,
X! 6.052939880428938000e-01,
X! 6.087614290087201000e-01,
X! 6.122172800344487500e-01,
X! 6.156614753256577400e-01,
X! 6.190939493098334100e-01,
X! 6.225146366376189700e-01,
X! 6.259234721840585300e-01,
X! 6.293203910498368400e-01,
X! 6.327053285625156000e-01,
X! 6.360782202777634000e-01,
X! 6.394390019805841200e-01,
X! 6.427876096865388100e-01,
X! 6.461239796429633100e-01,
X! 6.494480483301831000e-01,
X! 6.527597524627218900e-01,
X! 6.560590289905067200e-01,
X! 6.593458151000682900e-01,
X! 6.626200482157368300e-01,
X! 6.658816660008337600e-01,
X! 6.691306063588576800e-01,
X! 6.723668074346675900e-01,
X! 6.755902076156596900e-01,
X! 6.788007455329411200e-01,
X! 6.819983600624979200e-01,
X! 6.851829903263585400e-01,
X! 6.883545756937534700e-01,
X! 6.915130557822688500e-01,
X! 6.946583704589967000e-01,
X! 6.977904598416795300e-01,
X! 7.009092642998503400e-01,
X! 7.040147244559678000e-01,
X! 7.071067811865469100e-01,
X! 7.101853756232847600e-01,
X! 7.132504491541810100e-01,
X! 7.163019434246537000e-01,
X! 7.193398003386506400e-01,
X! 7.223639620597549500e-01,
X! 7.253743710122870800e-01,
X! 7.283709698823996900e-01,
X! 7.313537016191699000e-01,
X! 7.343225094356850000e-01,
X! 7.372773368101234200e-01,
X! 7.402181274868314700e-01,
X! 7.431448254773936900e-01,
X! 7.460573750616988900e-01,
X! 7.489557207890016300e-01,
X! 7.518398074789768300e-01,
X! 7.547095802227713500e-01,
X! 7.575649843840490700e-01,
X! 7.604059656000303800e-01,
X! 7.632324697825283400e-01,
X! 7.660444431189774600e-01,
X! 7.688418320734590200e-01,
X! 7.716245833877194400e-01,
X! 7.743926440821850000e-01,
X! 7.771459614569703500e-01,
X! 7.798844830928811600e-01,
X! 7.826081568524133600e-01,
X! 7.853169308807443900e-01,
X! 7.880107536067213500e-01,
X! 7.906895737438428600e-01,
X! 7.933533402912346100e-01,
X! 7.960020025346215000e-01,
X! 7.986355100472922700e-01,
X! 8.012538126910600000e-01,
X! 8.038568606172167300e-01,
X! 8.064446042674819900e-01,
X! 8.090169943749469000e-01,
X! 8.115739819650117400e-01,
X! 8.141155183563185700e-01,
X! 8.166415551616783600e-01,
X! 8.191520442889912400e-01,
X! 8.216469379421631500e-01,
X! 8.241261886220150300e-01,
X! 8.265897491271880800e-01,
X! 8.290375725550411800e-01,
X! 8.314696123025446800e-01,
X! 8.338858220671676600e-01,
X! 8.362861558477588900e-01,
X! 8.386705679454233800e-01,
X! 8.410390129643918700e-01,
X! 8.433914458128851600e-01,
X! 8.457278217039726500e-01,
X! 8.480480961564254000e-01,
X! 8.503522249955622900e-01,
X! 8.526401643540916200e-01,
X! 8.549118706729460500e-01,
X! 8.571673007021117800e-01,
X! 8.594064115014521400e-01,
X! 8.616291604415251500e-01,
X! 8.638355052043951200e-01,
X! 8.660254037844381500e-01,
X! 8.681988144891417100e-01,
X! 8.703556959398991400e-01,
X! 8.724960070727965100e-01,
X! 8.746197071393951900e-01,
X! 8.767267557075072400e-01,
X! 8.788171126619648300e-01,
X! 8.808907382053849900e-01,
X! 8.829475928589264300e-01,
X! 8.849876374630413200e-01,
X! 8.870108331782211600e-01,
X! 8.890171414857358500e-01,
X! 8.910065241883673400e-01,
X! 8.929789434111364800e-01,
X! 8.949343616020245500e-01,
X! 8.968727415326878100e-01,
X! 8.987940462991664800e-01,
X! 9.006982393225874100e-01,
X! 9.025852843498600700e-01,
X! 9.044551454543675600e-01,
X! 9.063077870366494900e-01,
X! 9.081431738250808100e-01,
X! 9.099612708765426600e-01,
X! 9.117620435770880100e-01,
X! 9.135454576426004200e-01,
X! 9.153114791194466600e-01,
X! 9.170600743851236000e-01,
X! 9.187912101488977500e-01,
X! 9.205048534524398200e-01,
X! 9.222009716704513400e-01,
X! 9.238795325112862900e-01,
X! 9.255405040175659300e-01,
X! 9.271838545667868700e-01,
X! 9.288095528719237900e-01,
X! 9.304175679820241300e-01,
X! 9.320078692827981100e-01,
X! 9.335804264972013000e-01,
X! 9.351352096860112700e-01,
X! 9.366721892483971200e-01,
X! 9.381913359224837200e-01,
X! 9.396926207859079800e-01,
X! 9.411760152563701800e-01,
X! 9.426414910921778700e-01,
X! 9.440890203927837500e-01,
X! 9.455185755993164000e-01,
X! 9.469301294951052400e-01,
X! 9.483236552061988800e-01,
X! 9.496991262018765800e-01,
X! 9.510565162951530900e-01,
X! 9.523957996432779200e-01,
X! 9.537169507482264900e-01,
X! 9.550199444571861900e-01,
X! 9.563047559630351000e-01,
X! 9.575713608048139800e-01,
X! 9.588197348681927200e-01,
X! 9.600498543859282700e-01,
X! 9.612616959383184500e-01,
X! 9.624552364536469400e-01,
X! 9.636304532086226200e-01,
X! 9.647873238288126000e-01,
X! 9.659258262890679800e-01,
X! 9.670459389139427500e-01,
X! 9.681476403781074100e-01,
X! 9.692309097067540700e-01,
X! 9.702957262759961400e-01,
X! 9.713420698132611000e-01,
X! 9.723699203976762200e-01,
X! 9.733792584604481500e-01,
X! 9.743700647852349100e-01,
X! 9.753423205085123300e-01,
X! 9.762960071199330300e-01,
X! 9.772311064626785200e-01,
X! 9.781476007338053600e-01,
X! 9.790454724845835100e-01,
X! 9.799247046208293700e-01,
X! 9.807852804032302100e-01,
X! 9.816271834476636400e-01,
X! 9.824503977255094600e-01,
X! 9.832549075639542800e-01,
X! 9.840406976462905400e-01,
X! 9.848077530122078000e-01,
X! 9.855560590580774200e-01,
X! 9.862856015372311000e-01,
X! 9.869963665602316000e-01,
X! 9.876883405951374400e-01,
X! 9.883615104677604400e-01,
X! 9.890158633619166000e-01,
X! 9.896513868196699100e-01,
X! 9.902680687415701400e-01,
X! 9.908658973868820200e-01,
X! 9.914448613738102700e-01,
X! 9.920049496797147500e-01,
X! 9.925461516413217600e-01,
X! 9.930684569549260700e-01,
X! 9.935718556765873400e-01,
X! 9.940563382223194200e-01,
X! 9.945218953682731800e-01,
X! 9.949685182509114800e-01,
X! 9.953961983671787400e-01,
X! 9.958049275746615500e-01,
X! 9.961946980917453200e-01,
X! 9.965655024977612100e-01,
X! 9.969173337331277400e-01,
X! 9.972501850994856000e-01,
X! 9.975640502598242000e-01,
X! 9.978589232386033700e-01,
X! 9.981347984218668100e-01,
X! 9.983916705573486800e-01,
X! 9.986295347545737200e-01,
X! 9.988483864849505600e-01,
X! 9.990482215818576900e-01,
X! 9.992290362407227900e-01,
X! 9.993908270190956500e-01,
X! 9.995335908367128900e-01,
X! 9.996573249755572600e-01,
X! 9.997620270799090200e-01,
X! 9.998476951563912700e-01,
X! 9.999143275740070000e-01,
X! 9.999619230641712000e-01,
X! 9.999904807207343800e-01,
X! 1.0,
X! };
X
X! #define PI 3.14159265358979
X! #define PRECISION 360
X
X! double sin(x)
X! double x;
X! {
X! int y, z;
X!
X! y = (int)( (x/PI) * 2*PRECISION);
X! if (y < 0)
X! y = 2*PRECISION - y;
X! if (y >= 4*PRECISION)
X! y %= 4*PRECISION;
X!
X! z = y % PRECISION;
X! switch (y / PRECISION) {
X! case 0:
X! return sin_table[z];
X! case 1:
X! return sin_table[PRECISION - z];
X! case 2:
X! return -sin_table[z];
X! case 3:
X! return -sin_table[PRECISION - z];
X! }
X! }
X!
X! double cos(x)
X! double x;
X! {
X! return sin(x + PI/2.0);
X }
X! #endif
X*** ./mit-orig/lib/X/Xlibint.h Thu Oct 4 16:46:13 1990
X--- ./mit/lib/X/Xlibint.h Tue Sep 18 21:56:41 1990
X***************
X*** 44,50 ****
X extern "C" { /* for C++ V2.0 */
X #endif
X
X! #ifndef NULL
X #define NULL 0
X #endif
X #define LOCKED 1
X--- 44,51 ----
X extern "C" { /* for C++ V2.0 */
X #endif
X
X! #if defined(sco) && !defined(__GNUC__) || !defined(NULL)
X! #undef NULL
X #define NULL 0
X #endif
X #define LOCKED 1
X*** ./mit-orig/lib/X/Xlibos.h Thu Oct 4 16:46:04 1990
X--- ./mit/lib/X/Xlibos.h Sat Sep 15 15:07:40 1990
X***************
X*** 4,10 ****
X * Xlib networking include files for UNIX Systems.
X */
X
X! #ifdef att
X /*
X * UNIX System V Release 3.2
X */
X--- 4,10 ----
X * Xlib networking include files for UNIX Systems.
X */
X
X! #ifdef STREAMSCONN
X /*
X * UNIX System V Release 3.2
X */
X***************
X*** 23,29 ****
X--- 23,33 ----
X #include <netinet/in.h>
X #include <sys/ioctl.h>
X #include <netdb.h>
X+ #if defined(sco)
X+ #include <sys/socket.h>
X+ #else
X #include <sys/uio.h> /* needed for XlibInt.c */
X+ #endif
X #include <sys/param.h> /* needed for XConnDis.c */
X
X #define BytesReadable(fd, ptr) ioctl ((fd), FIONREAD, (ptr))
X*** ./mit-orig/lib/X/Xresource.h Thu Oct 4 16:46:21 1990
X--- ./mit/lib/X/Xresource.h Tue Sep 18 21:58:47 1990
X***************
X*** 66,72 ****
X #endif /* __STDC__ */
X #endif /* NeedFunctionPrototypes */
X
X! #ifndef NULL
X #define NULL 0
X #endif
X
X--- 66,73 ----
X #endif /* __STDC__ */
X #endif /* NeedFunctionPrototypes */
X
X! #if defined(sco) && !defined(__GNUC__) || !defined(NULL)
X! #undef NULL
X #define NULL 0
X #endif
X
X*** ./mit-orig/lib/X/Xrm.c Thu Oct 4 16:45:46 1990
X--- ./mit/lib/X/Xrm.c Sat Sep 15 14:52:05 1990
X***************
X*** 1,3 ****
X--- 1,4 ----
X+ #include "import.h"
X
X /*
X * $XConsortium: Xrm.c,v 1.32 89/12/11 19:10:50 rws Exp $
END_OF_FILE
if test 46450 -ne `wc -c <'fix-14.sco03'`; then
echo shar: \"'fix-14.sco03'\" unpacked with wrong size!
fi
# end of 'fix-14.sco03'
fi
echo shar: End of archive 3 \(of 12\).
cp /dev/null ark3isdone
MISSING=""
for I in 1 2 3 4 5 6 7 8 9 10 11 12 ; do
if test ! -f ark${I}isdone ; then
MISSING="${MISSING} ${I}"
fi
done
if test "${MISSING}" = "" ; then
echo You have unpacked all 12 archives.
echo "instructions are in fix-14.sco01"
rm -f ark[1-9]isdone ark[1-9][0-9]isdone
else
echo You still need to unpack the following archives:
echo " " ${MISSING}
fi
## End of shell archive.
exit 0
dan
----------------------------------------------------
O'Reilly && Associates argv at sun.com / argv at ora.com
Opinions expressed reflect those of the author only.
More information about the Comp.sources.x
mailing list