diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/test/llpipeutil.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/linden/indra/test/llpipeutil.cpp b/linden/indra/test/llpipeutil.cpp index 53c5991..2857f12 100644 --- a/linden/indra/test/llpipeutil.cpp +++ b/linden/indra/test/llpipeutil.cpp | |||
@@ -26,11 +26,15 @@ | |||
26 | * COMPLETENESS OR PERFORMANCE. | 26 | * COMPLETENESS OR PERFORMANCE. |
27 | */ | 27 | */ |
28 | 28 | ||
29 | |||
30 | #include "linden_common.h" | ||
29 | #include "llpipeutil.h" | 31 | #include "llpipeutil.h" |
30 | 32 | ||
31 | #include <stdlib.h> | 33 | #include <stdlib.h> |
34 | #include <sstream> | ||
32 | 35 | ||
33 | #include "llbufferstream.h" | 36 | #include "llbufferstream.h" |
37 | #include "lldefs.h" | ||
34 | #include "llframetimer.h" | 38 | #include "llframetimer.h" |
35 | #include "llpumpio.h" | 39 | #include "llpumpio.h" |
36 | #include "llrand.h" | 40 | #include "llrand.h" |
@@ -77,8 +81,8 @@ LLIOPipe::EStatus LLPipeStringExtractor::process_impl( | |||
77 | std::ostringstream ostr; | 81 | std::ostringstream ostr; |
78 | while (istr.good()) | 82 | while (istr.good()) |
79 | { | 83 | { |
80 | char buf[1024]; | 84 | char buf[1024]; /* Flawfinder: ignore */ |
81 | istr.read(buf, sizeof(buf)); | 85 | istr.read(buf, sizeof(buf)); /* Flawfinder: ignore */ |
82 | ostr.write(buf, istr.gcount()); | 86 | ostr.write(buf, istr.gcount()); |
83 | } | 87 | } |
84 | mString = ostr.str(); | 88 | mString = ostr.str(); |