Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
1.14.0
-
None
-
Linux 4.15.0-58-generic #64-Ubuntu x86_64 GNU/Linux
Qbs 1.13.1
-
-
817a292690ccdea7bae185319beb22ea653db946 (qbs/qbs/1.14)
Description
Rules trying to output binary data via the stdoutPath variable on the Command object does not get the correct output.
A minimal example using cat is provided in the attachment:
- myfile.bin is a 1024 byte file of random binary data
- myfile.txt is a short text file
- build.qbs take have one rule which attempts to concat both files with itself twice and send the output to stdoutPath.
- Only the text file is concatenated properly. The binary output file is way to small (only 218 bytes)