comparison src/lstream.c @ 1943:1d840489238d

[xemacs-hg @ 2004-03-08 15:41:31 by james] Lutz Euler's fix for Lstream_pseudo_close: missing parentheses.
author james
date Mon, 08 Mar 2004 15:41:36 +0000
parents a8d8f419b459
children 04bc9d2f42c7
comparison
equal deleted inserted replaced
1942:da8cdcec6dff 1943:1d840489238d
775 } 775 }
776 776
777 static int 777 static int
778 Lstream_pseudo_close (Lstream *lstr) 778 Lstream_pseudo_close (Lstream *lstr)
779 { 779 {
780 if (!lstr->flags & LSTREAM_FL_IS_OPEN) 780 if (! (lstr->flags & LSTREAM_FL_IS_OPEN))
781 Lstream_internal_error ("lstream is not open", lstr); 781 Lstream_internal_error ("lstream is not open", lstr);
782 782
783 /* don't check errors here -- best not to risk file descriptor loss */ 783 /* don't check errors here -- best not to risk file descriptor loss */
784 return Lstream_flush (lstr); 784 return Lstream_flush (lstr);
785 } 785 }