Kaydet (Commit) c5c42af9 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

#65293#: STLport-4.0

üst 59828e3e
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: global.cxx,v $ * $RCSfile: global.cxx,v $
* *
* $Revision: 1.1.1.1 $ * $Revision: 1.2 $
* *
* last change: $Author: hr $ $Date: 2000-09-18 15:25:27 $ * last change: $Author: hr $ $Date: 2000-11-06 17:45:38 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -337,7 +337,11 @@ FileStream::~FileStream() ...@@ -337,7 +337,11 @@ FileStream::~FileStream()
sal_Bool FileStream::isValid() sal_Bool FileStream::isValid()
{ {
#if defined(SAL_UNX) || defined(SAL_OS2) #if defined(SAL_UNX) || defined(SAL_OS2)
#if STLPORT_VERSION < 400
if(rdbuf()->fd() < 0) if(rdbuf()->fd() < 0)
#else
if( !is_open() )
#endif
#else #else
if(fd() < 0) if(fd() < 0)
#endif #endif
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: global.cxx,v $ * $RCSfile: global.cxx,v $
* *
* $Revision: 1.1.1.1 $ * $Revision: 1.2 $
* *
* last change: $Author: hr $ $Date: 2000-09-18 15:29:08 $ * last change: $Author: hr $ $Date: 2000-11-06 17:46:57 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -337,7 +337,11 @@ FileStream::~FileStream() ...@@ -337,7 +337,11 @@ FileStream::~FileStream()
sal_Bool FileStream::isValid() sal_Bool FileStream::isValid()
{ {
#if defined(SAL_UNX) || defined(SAL_OS2) #if defined(SAL_UNX) || defined(SAL_OS2)
#if STLPORT_VERSION < 400
if(rdbuf()->fd() < 0) if(rdbuf()->fd() < 0)
#else
if( !is_open() )
#endif
#else #else
if(fd() < 0) if(fd() < 0)
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment