projects
/
sdk
/
tools
/
profctl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77f403b
)
Use 'ofile' as output stream for 'output_thread'
author
Aleksei Vereshchagin
<avereschagin@dev.rtsoft.ru>
Thu, 16 Aug 2018 20:13:06 +0000
(23:13 +0300)
committer
Aleksei Vereshchagin
<avereschagin@dev.rtsoft.ru>
Tue, 28 Aug 2018 22:24:18 +0000
(
01:24
+0300)
profctl.c
patch
|
blob
|
history
diff --git
a/profctl.c
b/profctl.c
index a80e2db45833173b189570d72a51e7b186518e5d..83da8b9b059bb63b5c71b0d31bb4d6644866fb6e 100644
(file)
--- a/
profctl.c
+++ b/
profctl.c
@@
-78,7
+78,7
@@
static void *output_thread(void *arg)
openFileProcess();
while (getline(&buffer, &lsize, tf) != -1) {
-
puts(buffer
);
+
fputs(buffer, ofile
);
}
free(buffer);