tests: add a FIXME comment
authorBartosz Golaszewski <bartekgola@gmail.com>
Mon, 19 Jun 2017 19:26:29 +0000 (21:26 +0200)
committerBartosz 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

index cd22765dc6d97509e7a545874eb5c9fb180dc26e..3571a6ddee0116aa9921632f3f834600465ce34f 100644 (file)
@@ -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);
        }
 }