summaryrefslogtreecommitdiff
path: root/src/vm/h2inc.ps1
AgeCommit message (Collapse)AuthorFilesLines
2015-02-04Fix h2inc.ps1 generating invalid files on Windows 7Matt Ellis1-5/+13
On PowerShell 2.0, text written via Write-Output is wrapped based on the current console settings, even when output is redirected to a file. This means that the include file we generate will have lines hard wrapped unless the console is configured to have a width of > ~140 characters. PowerShell 3.0 doesn't seem to have this issue (or the default width is high enought that we don't run into the limitation), but PowerShell 2.0 is the default on Windows 7. This fix explicitly calls Console.WriteLine, which will cause the output to not be wrapped. Doing things this way means we don't have to play around with the host's buffer size. Fixes #57
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+65
[tfs-changeset: 1407945]