projects
/
qemu-gpiodev
/
libgpiod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
641c79e
)
tests: add a FIXME comment
author
Bartosz Golaszewski
<bartekgola@gmail.com>
Mon, 19 Jun 2017 19:26:29 +0000
(21:26 +0200)
committer
Bartosz Golaszewski
<bartekgola@gmail.com>
Mon, 19 Jun 2017 19:26:29 +0000
(21:26 +0200)
Reading output from child processes should be fixed at some point to
ignore printf() format specifiers.
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
tests/gpiod-test.c
patch
|
blob
|
history
diff --git
a/tests/gpiod-test.c
b/tests/gpiod-test.c
index cd22765dc6d97509e7a545874eb5c9fb180dc26e..3571a6ddee0116aa9921632f3f834600465ce34f 100644
(file)
--- a/
tests/gpiod-test.c
+++ b/
tests/gpiod-test.c
@@
-564,6
+564,10
@@
static void gpiotool_readall(int fd, char **out)
return;
}
+ /*
+ * FIXME This may lead to errors if the program prints
+ * a string containing printf() format specifiers.
+ */
tmp = xappend(tmp, buf);
}
}