aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-02-19 18:41:02 +0000
committerdos-reis <gdr@axiomatics.org>2009-02-19 18:41:02 +0000
commit7e8519d4009328b4ea1ed3736f9ef3a2d265a3ce (patch)
tree466b759bfd2a467a5ae5711bc88de012d4e37002 /src
parentd5a7308fdca3f00c9e9825e1171e9b6fe6ec2273 (diff)
downloadopen-axiom-7e8519d4009328b4ea1ed3736f9ef3a2d265a3ce.tar.gz
2009-02-19 Aleksej Saushev <asau@inbox.ru>
* configure.ac.pamphlet: Fix indention of CPP directives. Include <sys/types.h> when testing for openpty. src/ChangeLog 2009-02-19 Gabriel Dos Reis <gdr@cs.tamu.edu> * interp/sys-utility.boot (%hostByteOrder): Make a function. * algebra/system.spad.pamphlet (hostByteOrder$System): Adjust call. 2009-02-19 Aleksej Saushev <asau@inbox.ru> * lib/openpty.c: Include <sys/types.h> when testing for openpty.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog9
-rw-r--r--src/algebra/system.spad.pamphlet2
-rw-r--r--src/interp/i-syscmd.boot12
-rw-r--r--src/interp/sys-utility.boot2
-rw-r--r--src/lib/openpty.c1
5 files changed, 18 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4bb8e6e5..01aabf89 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,14 @@
2009-02-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
+ * interp/sys-utility.boot (%hostByteOrder): Make a function.
+ * algebra/system.spad.pamphlet (hostByteOrder$System): Adjust call.
+
+2009-02-19 Aleksej Saushev <asau@inbox.ru>
+
+ * lib/openpty.c: Include <sys/types.h> when testing for openpty.
+
+2009-02-19 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
* algebra/catdef.spad.pamphlet (characteristic$Ring): Make a
constant.
* algebra/naalgc.spad.pamphlet
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 <termios.h>
#endif
#ifdef HAVE_LIBUTIL_H
+# include <sys/types.h>
# include <libutil.h>
#endif