mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
([StdioStream -isClosed]): Remove bad implementation; currently not
implemented. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@821 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1efc28f15d
commit
b117bfc60c
1 changed files with 5 additions and 2 deletions
|
@ -26,6 +26,8 @@
|
|||
#include <objects/Coder.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
/* xxx I should test return values of all functions on the FILE*. */
|
||||
|
||||
enum {
|
||||
STREAM_READONLY = 0,
|
||||
STREAM_READWRITE,
|
||||
|
@ -198,8 +200,9 @@ stdio_unchar_func(void *s, int c)
|
|||
|
||||
- (BOOL) isClosed
|
||||
{
|
||||
/* xxx Ideas about a better way to do this? */
|
||||
return (fstat(fp) == 0);
|
||||
/* xxx How should this be implemented? */
|
||||
[self notImplemented:_cmd];
|
||||
return NO;
|
||||
}
|
||||
|
||||
/* xxx Add "- (BOOL) isOpen" method? */
|
||||
|
|
Loading…
Reference in a new issue