changeset 3563:7031786b3f27

[project @ 2000-02-03 05:55:18 by jwe]
author jwe
date Thu, 03 Feb 2000 05:55:18 +0000
parents 9c7e782471d0
children 403039c85792
files src/procstream.cc
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/procstream.cc	Thu Feb 03 05:48:42 2000 +0000
+++ b/src/procstream.cc	Thu Feb 03 05:55:18 2000 +0000
@@ -35,7 +35,7 @@
   pb_init ();
 
   if (! pb.open (command, mode))
-    std::set (std::ios::badbit);
+    std::ios::setstate (std::ios::badbit);
 }
 
 void
@@ -44,7 +44,7 @@
   clear ();
 
   if (! pb.open (command, mode))
-    std::set (std::ios::badbit);
+    std::ios::setstate (std::ios::badbit);
 }
 
 int
@@ -55,7 +55,7 @@
   if (is_open ())
     {
       if (! pb.close ())
-	std::set (std::ios::failbit);
+	std::ios::setstate (std::ios::failbit);
 
       status = pb.wait_status ();
     }