From 7e8519d4009328b4ea1ed3736f9ef3a2d265a3ce Mon Sep 17 00:00:00 2001 From: dos-reis Date: Thu, 19 Feb 2009 18:41:02 +0000 Subject: 2009-02-19 Aleksej Saushev * configure.ac.pamphlet: Fix indention of CPP directives. Include when testing for openpty. src/ChangeLog 2009-02-19 Gabriel Dos Reis * interp/sys-utility.boot (%hostByteOrder): Make a function. * algebra/system.spad.pamphlet (hostByteOrder$System): Adjust call. 2009-02-19 Aleksej Saushev * lib/openpty.c: Include when testing for openpty. --- src/ChangeLog | 9 +++++++++ src/algebra/system.spad.pamphlet | 2 +- src/interp/i-syscmd.boot | 12 ++++++------ src/interp/sys-utility.boot | 2 +- src/lib/openpty.c | 1 + 5 files changed, 18 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/ChangeLog b/src/ChangeLog index 4bb8e6e5..01aabf89 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,12 @@ +2009-02-19 Gabriel Dos Reis + + * interp/sys-utility.boot (%hostByteOrder): Make a function. + * algebra/system.spad.pamphlet (hostByteOrder$System): Adjust call. + +2009-02-19 Aleksej Saushev + + * lib/openpty.c: Include when testing for openpty. + 2009-02-19 Gabriel Dos Reis * algebra/catdef.spad.pamphlet (characteristic$Ring): Make a diff --git a/src/algebra/system.spad.pamphlet b/src/algebra/system.spad.pamphlet index 70b31162..ae4d6351 100644 --- a/src/algebra/system.spad.pamphlet +++ b/src/algebra/system.spad.pamphlet @@ -46,7 +46,7 @@ System(): Public == Private where hostPlatform == _$hostPlatform$Lisp - hostByteOrder == %hostByteOrder$Lisp + hostByteOrder == %hostByteOrder()$Lisp nativeModuleExtension == _$NativeModuleExt$Lisp diff --git a/src/interp/i-syscmd.boot b/src/interp/i-syscmd.boot index ec6a4d2e..e43562eb 100644 --- a/src/interp/i-syscmd.boot +++ b/src/interp/i-syscmd.boot @@ -972,12 +972,12 @@ CREDITS := '( "Norman Ramsey Michael Richardson Renaud Rioboo" "Jean Rivlin Nicolas Robidoux Simon Robinson" "Michael Rothstein Martin Rubey" - "Philip Santas Alfred Scheerhorn William Schelter" - "Gerhard Schneider Martin Schoenert Marshall Schor" - "Frithjof Schulze Fritz Schwarz Nick Simicich" - "William Sit Elena Smirnova Jonathan Steinbach" - "Christine Sundaresan Robert Sutor Moss E. Sweedler" - "Eugene Surowitz" + "Aleksej Saushev Philip Santas Alfred Scheerhorn" + "William Schelter Gerhard Schneider Martin Schoenert" + "Marshall Schor Frithjof Schulze Fritz Schwarz" + "Nick Simicich William Sit Elena Smirnova" + "Jonathan Steinbach Christine Sundaresan Robert Sutor" + "Moss E. Sweedler Eugene Surowitz" "James Thatcher Balbir Thomas Mike Thomas" "Dylan Thurston Barry Trager Themos T. Tsikas" "Gregory Vanuxem" diff --git a/src/interp/sys-utility.boot b/src/interp/sys-utility.boot index ad353d3b..5192ded1 100644 --- a/src/interp/sys-utility.boot +++ b/src/interp/sys-utility.boot @@ -53,7 +53,7 @@ $COMBLOCKLIST := nil %unknownEndian == KEYWORD::%unknownEndian ++ The byte order of the host machine running OpenAxiom. -%hostByteOrder == +%hostByteOrder() == getHostByteOrder() = 1 => %littleEndian getHostByteOrder() = 2 => %bigEndian %unknownEndian diff --git a/src/lib/openpty.c b/src/lib/openpty.c index 5cf36c34..920f8ab1 100644 --- a/src/lib/openpty.c +++ b/src/lib/openpty.c @@ -51,6 +51,7 @@ # include #endif #ifdef HAVE_LIBUTIL_H +# include # include #endif -- cgit v1.2.3