aboutsummaryrefslogtreecommitdiff
path: root/src/algebra/files.spad.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2014-11-20 08:23:16 +0000
committerdos-reis <gdr@axiomatics.org>2014-11-20 08:23:16 +0000
commit6eb6cb046be4895a71869d26e9bb0baa8b46772f (patch)
tree29bd3c807ed0f83f0319d95ee5fcf96615898b7b /src/algebra/files.spad.pamphlet
parentbb531c8db7a41f93f647f354e29d0e33d1377796 (diff)
downloadopen-axiom-6eb6cb046be4895a71869d26e9bb0baa8b46772f.tar.gz
Remove EOFP. Simplify IO file stream creation code.
Diffstat (limited to 'src/algebra/files.spad.pamphlet')
-rw-r--r--src/algebra/files.spad.pamphlet3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/algebra/files.spad.pamphlet b/src/algebra/files.spad.pamphlet
index e379d003..f09fbae3 100644
--- a/src/algebra/files.spad.pamphlet
+++ b/src/algebra/files.spad.pamphlet
@@ -272,8 +272,7 @@ TextFile: Cat == Def where
x
endOfFile? f ==
f.fileIOmode = "output" => false
- (EOFP(f.fileState)$Lisp pretend Boolean) => true
- false
+ eof?(f.fileState)$Lisp
@