Update of /cvsroot/oprofile/oprofile/libutil++
In directory usw-pr-cvs1:/tmp/cvs-serv27467/libutil++
Modified Files:
child_reader.cpp
Log Message:
read_block() : cumulate stderr output
regards,
Phil
Index: child_reader.cpp
===================================================================
RCS file: /cvsroot/oprofile/oprofile/libutil++/child_reader.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- child_reader.cpp 1 Oct 2002 22:32:31 -0000 1.9
+++ child_reader.cpp 18 Oct 2002 01:26:33 -0000 1.10
@@ -135,7 +135,7 @@
buf2 = (char *)xrealloc(buf2, sz_buf2);
}
- ssize_t temp = read(fd2, buf2, sz_buf2 - end2);
+ ssize_t temp = read(fd2, buf2 + end2, sz_buf2 - end2);
if (temp > 0)
end2 += temp;
}
|