Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
0337b0ec
Commit
0337b0ec
authored
28 years ago
by
dtc
Browse files
Options
Downloads
Patches
Plain Diff
Be sure to remove any fd-steam-handler on an abort close.
parent
8a120351
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/fd-stream.lisp
+4
-1
4 additions, 1 deletion
code/fd-stream.lisp
with
4 additions
and
1 deletion
code/fd-stream.lisp
+
4
−
1
View file @
0337b0ec
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
;;;
(
ext:file-comment
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.
39
1997/0
2
/25 1
9:47:40
dtc Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/fd-stream.lisp,v 1.
40
1997/0
3
/25 1
7:07:31
dtc Exp $"
)
;;;
;;;
;;; **********************************************************************
;;; **********************************************************************
;;;
;;;
...
@@ -932,6 +932,9 @@ non-server method is also significantly more efficient for large reads.
...
@@ -932,6 +932,9 @@ non-server method is also significantly more efficient for large reads.
(
:close
(
:close
(
cond
(
arg1
(
cond
(
arg1
;; We got us an abort on our hands.
;; We got us an abort on our hands.
(
when
(
fd-stream-handler
stream
)
(
system:remove-fd-handler
(
fd-stream-handler
stream
))
(
setf
(
fd-stream-handler
stream
)
nil
))
(
when
(
and
(
fd-stream-file
stream
)
(
when
(
and
(
fd-stream-file
stream
)
(
fd-stream-obuf-sap
stream
))
(
fd-stream-obuf-sap
stream
))
;; Can't do anything unless we know what file were dealing with,
;; Can't do anything unless we know what file were dealing with,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment