OSDN Git Service

* cris/traps.c (TARGET_PIPE_BUF): New macro.
authorHans-Peter Nilsson <hp@axis.com>
Sat, 30 Sep 2006 02:38:06 +0000 (02:38 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Sat, 30 Sep 2006 02:38:06 +0000 (02:38 +0000)
commitad13784836f7f2784e8f32aa11da5ca7225098c3
treecff4f117f6a2a7e3ad4aba13af977c85a8602c75
parentd0c354039867e69de5f94b4d99c0479d8e8e54c9
* cris/traps.c (TARGET_PIPE_BUF): New macro.
(cris_pipe_empty): Correct initialization of "remaining".  Only
adjust the "write" return value if more than TARGET_PIPE_BUF bytes
are written.
sim/ChangeLog
sim/cris/traps.c