Page MenuHomeFreeBSD

nanobsd: embedded: Fix more regressions from last cleanup
ClosedPublic

Authored by jlduran on Jan 30 2026, 7:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 3:08 PM
Unknown Object (File)
Thu, May 14, 12:31 PM
Unknown Object (File)
Thu, May 14, 12:31 PM
Unknown Object (File)
Thu, May 14, 6:40 AM
Unknown Object (File)
Wed, May 13, 9:47 AM
Unknown Object (File)
Tue, May 12, 4:08 PM
Unknown Object (File)
Tue, May 12, 4:08 PM
Unknown Object (File)
Sun, May 10, 5:49 PM
Subscribers

Details

Summary

Commit c99bb5747f5e changed "()" grouping into "{}", but in these cases
we chdir and depended on the subshell not changing the directory for the
caller. Restore the old behavior. While things appear to work without
this change, the previous code was intentionally structured this way.

Fixes: c99bb5747f5e ("nanobsd: minor formatting cleanup")

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable