From: Wanlong G. <gao...@cn...> - 2012-01-10 03:44:22
|
On 01/10/2012 11:40 AM, Caspar Zhang wrote: > On 2012年01月10日 11:38, Caspar Zhang wrote: >> >> when executing with `$BIN/runltp` command, getrusage03 puts out >> duplicated information due to buffered stdout. Using fflush(stdout) to >> solve this issue. >> >> Signed-off-by: Caspar Zhang <ca...@ca...> >> --- >> testcases/kernel/syscalls/getrusage/getrusage03.c | 7 +++++++ >> .../kernel/syscalls/getrusage/getrusage03_child.c | 1 + >> 2 files changed, 8 insertions(+), 0 deletions(-) >> > > Not sure if we have any better solution to avoid such buffered I/O issue. I think it's OK. Reviewed-by: Wanlong Gao <gao...@cn...> Thanks -Wanlong Gao > > Caspar > |