diff options
author | Brad King <brad.king@kitware.com> | 2008-04-29 19:34:49 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-04-29 19:34:49 (GMT) |
commit | c7d84b21c636a559b1f1a87735ce12d21f4a9dcd (patch) | |
tree | f63d1ac44651bfeb21a82c614d7c6c8155cbffbd /Tests/CustomCommand/tcat.cxx | |
parent | 3344ce9197926f262fa4eed30f085d72b08af744 (diff) | |
download | CMake-c7d84b21c636a559b1f1a87735ce12d21f4a9dcd.zip CMake-c7d84b21c636a559b1f1a87735ce12d21f4a9dcd.tar.gz CMake-c7d84b21c636a559b1f1a87735ce12d21f4a9dcd.tar.bz2 |
BUG: Do not escape shell operators when generating command lines.
- See bug#6868.
- Update CustomCommand test to check.
Diffstat (limited to 'Tests/CustomCommand/tcat.cxx')
-rw-r--r-- | Tests/CustomCommand/tcat.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Tests/CustomCommand/tcat.cxx b/Tests/CustomCommand/tcat.cxx new file mode 100644 index 0000000..89e3cb0 --- /dev/null +++ b/Tests/CustomCommand/tcat.cxx @@ -0,0 +1,11 @@ +#include <stdio.h> + +int main() +{ + int c; + while((c = getc(stdin), c != EOF)) + { + putc(c, stdout); + } + return 0; +} |