diff options
author | Rob Mensching <rob@firegiant.com> | 2021-12-02 19:57:44 -0800 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2021-12-03 07:48:37 -0800 |
commit | fd5138896d596a6f3226a5c9438e456d4c8c2068 (patch) | |
tree | cb9c87dd0f8d36aaeff4a5bf882238018c043fcd /src/libs | |
parent | 2c01f5fa3ac1e7be66b86561f32d2d1c220d7a8f (diff) | |
download | wix-fd5138896d596a6f3226a5c9438e456d4c8c2068.tar.gz wix-fd5138896d596a6f3226a5c9438e456d4c8c2068.tar.bz2 wix-fd5138896d596a6f3226a5c9438e456d4c8c2068.zip |
Handle unexpected BOM when reading from stdin in wixnative.exe
In certain cases, the encoding of stdin/stdout can be changed in
Windows to cause a BOM to be added on the first read of stdin.
To handle the unexpected BOM, the first line read from stdin is
now a "preamble" where the last character is expected to be a ":".
We use the last character because a multibyte BOM value may appear
before it.
Also updated SAL annotations to resolve IDE warnings.
Diffstat (limited to 'src/libs')
0 files changed, 0 insertions, 0 deletions