projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sync with trunk head (34904)
[reactos.git]
/
reactos
/
lib
/
sdk
/
crt
/
stdio
/
file.c
diff --git
a/reactos/lib/sdk/crt/stdio/file.c
b/reactos/lib/sdk/crt/stdio/file.c
index
383a9f1
..
e0ded79
100644
(file)
--- a/
reactos/lib/sdk/crt/stdio/file.c
+++ b/
reactos/lib/sdk/crt/stdio/file.c
@@
-96,7
+96,7
@@
typedef struct {
/*static */ioinfo fdesc[MAX_FILES];
/*static */ioinfo fdesc[MAX_FILES];
-FILE _iob[3];
+FILE _iob[3]
= { { 0 } }
;
static int fdstart = 3; /* first unallocated fd */
static int fdend = 3; /* highest allocated fd */
static int fdstart = 3; /* first unallocated fd */
static int fdend = 3; /* highest allocated fd */
@@
-182,7
+182,7
@@
static HANDLE fdtoh(int fd)
*_errno() = EBADF;
return INVALID_HANDLE_VALUE;
}
*_errno() = EBADF;
return INVALID_HANDLE_VALUE;
}
- if (fdesc[fd].handle == INVALID_HANDLE_VALUE) FIXME("wtf\n");
+
//
if (fdesc[fd].handle == INVALID_HANDLE_VALUE) FIXME("wtf\n");
return fdesc[fd].handle;
}
return fdesc[fd].handle;
}