Added ignore declarations to quiet the compiler. Added flushing of

logfile so that the log on disk is always synced.
This commit is contained in:
2000-10-09 22:10:54 +00:00
parent ff709e014d
commit c883fcadf6

View File

@ -77,11 +77,13 @@
(defmethod (setf server-logging-mixin-pathname) :before
(new (instance server-logging-mixin))
(declare (ignore new))
(when (slot-boundp instance 'stream)
(close (server-logging-mixin-stream instance))))
(defmethod (setf server-logging-mixin-pathname) :after
(new (instance server-logging-mixin))
(declare (ignore new))
(setf (server-logging-mixin-stream instance)
(open (server-logging-mixin-pathname instance)
:direction :output
@ -106,4 +108,5 @@
(let ((entity (http-message-entity response)))
(if entity
(or (entity-content-length entity) 0)
0)))))))
0)))
(force-output stream)))))