Changeset 6c46350 in mainline for libc/generic/io/stream.c


Ignore:
Timestamp:
2006-06-03T00:30:11Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7f079d9
Parents:
27386e6a
Message:

Fixed some weird bugs (I wonder how this COULD even work on the other platforms).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/io/stream.c

    r27386e6a r6c46350  
    5252
    5353static int console_phone = -1;
    54 static stream_t streams[FDS] = {{0, 0, 0, -1}};
     54static stream_t streams[FDS];
    5555
    5656static ssize_t write_stderr(void *param, const void *buf, size_t count)
     
    117117       
    118118        stream.w = write_stdout;
     119        stream.phone = console_phone;
    119120        stream.param = 0;
    120121        return stream;
Note: See TracChangeset for help on using the changeset viewer.