Article View: gnu.emacs.bug
Article #98890SysVr4 18.56 minor bugs
From: James Van Artsdalen
Date: Mon, 28 Jan 1991 03:23
Date: Mon, 28 Jan 1991 03:23
36 lines
2053 bytes
2053 bytes
There are two changes. The first casts the result a the LOAD_AVE_CVT
divide instead of the first argument. The symptom is that no load
average is shown even when it should be (when the user has read access
to /dev/kmem). The second change undoes a SysVr3.2 specific #define
in s-usg5-3.h to make X11 builds work.
*** /tmp/,RCSt1a0006W Sun Jan 27 21:20:09 1991
--- s-usg5-4.h Thu Jan 17 17:37:02 1991
***************
*** 105,111 ****
/* Convert that into an integer that is 100 for a load average of 1.0 */
/* This is totally uncalibrated. */
! #define LOAD_AVE_CVT(x) ((int) ((double) (x)) * 100.0 / FSCALE)
#define FSCALE 256.0
#define HAVE_PTYS
--- 105,111 ----
/* Convert that into an integer that is 100 for a load average of 1.0 */
/* This is totally uncalibrated. */
! #define LOAD_AVE_CVT(x) ((int) (((double) (x)) * 100.0 / FSCALE))
#define FSCALE 256.0
#define HAVE_PTYS
***************
*** 168,170 ****
--- 168,172 ----
fatal ("ioctl I_PUSH ldterm", errno); \
if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \
fatal ("ioctl I_PUSH ttcompat", errno);
+
+ #undef LIBX11_SYSTEM
--
James R. Van Artsdalen james@raid.dell.com "Live Free or Die"
Dell Computer Corporation 9505 Arboretum Blvd Austin TX 78759 512-338-8789
Technical Details
Message-ID:
<14551@uudell.dell.com>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!raid.dell.com!jamesShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,147d32112a0b4f07,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-01-27 19:23:36 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!raid.dell.com!james From: james@raid.dell.com (James Van Artsdalen) Newsgroups: gnu.emacs.bug Subject: SysVr4 18.56 minor bugs Message-ID: <14551@uudell.dell.com> Date: 28 Jan 91 03:23:36 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: james@raid.dell.com (James Van Artsdalen) Distribution: gnu Organization: Institute of Applied Cosmology, Austin TX Lines: 36 Approved: bug-gnu-emacs@prep.ai.mit.edu