commit | f5589b5fa0421104d93a78acd979dba5643751ab | [log] [tgz] |
---|---|---|
author | Stephen Neuendorffer <stephen.neuendorffer@amd.com> | Mon Apr 01 17:04:29 2024 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 01 18:32:44 2024 -0700 |
tree | 54c821016e9e6f1c5d04b700705bc988628d598f | |
parent | 59925b590a32d9a3dcc7bebcec719d5fb6c87267 [diff] |
[libc] allow libc-hdrgen to work on windows files (#87292) The code does some (overly simple?) checks on file syntax. These checks assume unix line endings and fail on windows. This commit updates the code to strip extra whitespace, making the checks more robust, particularly in the presence of windows line endings. Fixes #86023 GitOrigin-RevId: 6d0174e70641b1ea172ffed07c43604ef15e28ae