summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
409453c)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
* FMODE_LSEEK, FMODE_PREAD nor FMODE_PWRITE. We need to read from this
* file descriptor, so we set FMODE_PREAD here.
*/
* FMODE_LSEEK, FMODE_PREAD nor FMODE_PWRITE. We need to read from this
* file descriptor, so we set FMODE_PREAD here.
*/
- stream_file->f_mode = FMODE_PREAD;
+ stream_file->f_mode |= FMODE_PREAD;
fd_install(stream_fd, stream_file);
/*
* The stream holds a reference to the channel within the generic ring
fd_install(stream_fd, stream_file);
/*
* The stream holds a reference to the channel within the generic ring