aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2010-04-03 15:20:10 +0000
committerdos-reis <gdr@axiomatics.org>2010-04-03 15:20:10 +0000
commite111b95ab6af7cf4c3defa999b12fa40777c701e (patch)
tree30756da2dd267100d901587b3a67ef45d847c72c
parenta7e82885a54b8d91c1978affc3f0e4668876041b (diff)
downloadopen-axiom-e111b95ab6af7cf4c3defa999b12fa40777c701e.tar.gz
* interp/sys-utility.boot ($ClosedIOMode): New.
* algebra/files.spad.pamphlet (closed$IOMode): Likewise.
-rwxr-xr-xconfigure18
-rw-r--r--configure.ac2
-rw-r--r--configure.ac.pamphlet2
-rw-r--r--src/ChangeLog5
-rw-r--r--src/algebra/files.spad.pamphlet18
-rw-r--r--src/interp/sys-utility.boot1
6 files changed, 28 insertions, 18 deletions
diff --git a/configure b/configure
index fa9548c8..7b5e00e3 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.63 for OpenAxiom 1.4.0-2010-03-18.
+# Generated by GNU Autoconf 2.63 for OpenAxiom 1.4.0-2010-04-03.
#
# Report bugs to <open-axiom-bugs@lists.sf.net>.
#
@@ -745,8 +745,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='OpenAxiom'
PACKAGE_TARNAME='openaxiom'
-PACKAGE_VERSION='1.4.0-2010-03-18'
-PACKAGE_STRING='OpenAxiom 1.4.0-2010-03-18'
+PACKAGE_VERSION='1.4.0-2010-04-03'
+PACKAGE_STRING='OpenAxiom 1.4.0-2010-04-03'
PACKAGE_BUGREPORT='open-axiom-bugs@lists.sf.net'
ac_unique_file="src/Makefile.pamphlet"
@@ -1511,7 +1511,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures OpenAxiom 1.4.0-2010-03-18 to adapt to many kinds of systems.
+\`configure' configures OpenAxiom 1.4.0-2010-04-03 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1581,7 +1581,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of OpenAxiom 1.4.0-2010-03-18:";;
+ short | recursive ) echo "Configuration of OpenAxiom 1.4.0-2010-04-03:";;
esac
cat <<\_ACEOF
@@ -1688,7 +1688,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-OpenAxiom configure 1.4.0-2010-03-18
+OpenAxiom configure 1.4.0-2010-04-03
generated by GNU Autoconf 2.63
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1702,7 +1702,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by OpenAxiom $as_me 1.4.0-2010-03-18, which was
+It was created by OpenAxiom $as_me 1.4.0-2010-04-03, which was
generated by GNU Autoconf 2.63. Invocation command line was
$ $0 $@
@@ -21165,7 +21165,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by OpenAxiom $as_me 1.4.0-2010-03-18, which was
+This file was extended by OpenAxiom $as_me 1.4.0-2010-04-03, which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -21228,7 +21228,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_version="\\
-OpenAxiom config.status 1.4.0-2010-03-18
+OpenAxiom config.status 1.4.0-2010-04-03
configured by $0, generated by GNU Autoconf 2.63,
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/configure.ac b/configure.ac
index 3e974611..8e8f721d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.4.0-2010-03-18],
+AC_INIT([OpenAxiom], [1.4.0-2010-04-03],
[open-axiom-bugs@lists.sf.net])
AC_CONFIG_AUX_DIR(config)
diff --git a/configure.ac.pamphlet b/configure.ac.pamphlet
index 8c0310a9..294d62c4 100644
--- a/configure.ac.pamphlet
+++ b/configure.ac.pamphlet
@@ -1200,7 +1200,7 @@ information:
<<Autoconf init>>=
sinclude(config/open-axiom.m4)
sinclude(config/aclocal.m4)
-AC_INIT([OpenAxiom], [1.4.0-2010-03-18],
+AC_INIT([OpenAxiom], [1.4.0-2010-04-03],
[open-axiom-bugs@lists.sf.net])
@
diff --git a/src/ChangeLog b/src/ChangeLog
index 868e2ebf..1c04a53f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-03 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * interp/sys-utility.boot ($ClosedIOMode): New.
+ * algebra/files.spad.pamphlet (closed$IOMode): Likewise.
+
2010-03-18 Gabriel Dos Reis <gdr@cs.tamu.edu>
* algebra/any.spad.pamphlet (Property): Tidy.
diff --git a/src/algebra/files.spad.pamphlet b/src/algebra/files.spad.pamphlet
index cb85893b..95d45b31 100644
--- a/src/algebra/files.spad.pamphlet
+++ b/src/algebra/files.spad.pamphlet
@@ -26,19 +26,23 @@
IOMode(): Public == Private where
Public == SetCategory with
input: %
- ++ `input' indicates that an IO conduit is for input.
+ ++ \spad{input} indicates that an IO conduit is for input.
output: %
- ++ `output' indicates that an IO conduit is for output
+ ++ \spad{output} indicates that an IO conduit is for output
bothWays: %
- ++ `bothWays' indicates that an IO conduit is for both input and output.
+ ++ \spad{bothWays} indicates that an IO conduit is for both input and output.
+ closed: %
+ ++ \spad{closed} indicates that the IO conduit has been closed.
Private == add
- input == _$InputIOMode$Lisp
- output == _$OutputIOMode$Lisp
- bothWays == _$BothWaysIOmode$Lisp
- x = y == EQ(x,y)$Lisp
+ input == _$InputIOMode$Foreign(Builtin)
+ output == _$OutputIOMode$Foreign(Builtin)
+ bothWays == _$BothWaysIOMode$Foreign(Builtin)
+ closed == _$ClosedIOMode$Foreign(Builtin)
+ x = y == EQ(x,y)$Foreign(Builtin)
coerce m ==
m = input => outputForm 'input
m = output => outputForm 'output
+ m = closed => outputForm 'closed
outputForm 'bothWays
@
diff --git a/src/interp/sys-utility.boot b/src/interp/sys-utility.boot
index 3fe145a3..31a3a28b 100644
--- a/src/interp/sys-utility.boot
+++ b/src/interp/sys-utility.boot
@@ -273,6 +273,7 @@ PRINT_-AND_-EVAL_-DEFUN(name,body) ==
$InputIOMode == KEYWORD::INPUT
$OutputIOMode == KEYWORD::OUTPUT
$BothWaysIOMode == KEYWORD::IO
+$ClosedIOMode == KEYWORD::CLOSED
++ return a binary stream open for `file' in mode `mode'; nil
++ if something went wrong. This function is used by the Algebra.