# HG changeset patch # User james # Date 1078760496 0 # Node ID 1d840489238d320c5f55995a879e0aaaa4e4576e # Parent da8cdcec6dff6c12be1890999e23ac5d50bcaeb6 [xemacs-hg @ 2004-03-08 15:41:31 by james] Lutz Euler's fix for Lstream_pseudo_close: missing parentheses. diff -r da8cdcec6dff -r 1d840489238d src/ChangeLog --- 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 + + * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN. + 2004-02-26 Jerry James * console.h (device_metrics): New metrics num_screens, diff -r da8cdcec6dff -r 1d840489238d src/lstream.c --- 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 */