Mercurial > hg > xemacs-beta
changeset 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 | da8cdcec6dff |
children | 22c6748ddce9 |
files | src/ChangeLog src/lstream.c |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Mon Mar 08 15:23:03 2004 +0000 +++ b/src/ChangeLog Mon Mar 08 15:41:36 2004 +0000 @@ -1,3 +1,7 @@ +2004-03-08 Lutz Euler <lutz.euler@freenet.de> + + * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN. + 2004-02-26 Jerry James <james@xemacs.org> * console.h (device_metrics): New metrics num_screens,
--- a/src/lstream.c Mon Mar 08 15:23:03 2004 +0000 +++ b/src/lstream.c Mon Mar 08 15:41:36 2004 +0000 @@ -777,7 +777,7 @@ static int Lstream_pseudo_close (Lstream *lstr) { - if (!lstr->flags & LSTREAM_FL_IS_OPEN) + if (! (lstr->flags & LSTREAM_FL_IS_OPEN)) Lstream_internal_error ("lstream is not open", lstr); /* don't check errors here -- best not to risk file descriptor loss */