[Week 7] Porting Microsoft's CoreCLR, CoreFX, and PowerShell to FreeBSD

Mateus Rodrigues de Morais mateus at mateus.tech
Thu Jul 5 20:26:04 UTC 2018


During this past week I investigated the misbehaviors I encountered in PowerShell running on FreeBSD. I opened an issue [1] in the PowerShell GitHub repository, fixed all libpsl-native tests that were failing and submitted a PR [2] and went over some of the CoreFX tests that were failing.

It turns out it was a problem in the getmntinfo() function inside a CoreFX native function that was supposed to return all mount points in the system but wasn’t returning any. I fixed the code and, as a result, two out of three identified misbehaviors in PowerShell were fixed – now I’m able to navigate back and forth in the file system and the command prompt correctly shows the current working directory – and some of the CoreFX tests started passing. The PR for this fix should be up soon, the code is in my CoreFX fork [3].

The last misbehavior identified in PowerShell so far, which is the repeated characters being shown, is still under investigation.

[1]: https://github.com/PowerShell/PowerShell/issues/7207
[2]: https://github.com/PowerShell/PowerShell-Native/pull/2
[3]: https://github.com/mateusrodrigues/corefx/tree/freebsd-tests

Best,
--
Mateus de Morais
mateus.tech



More information about the soc-status mailing list