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, Mar 19, 3:54 PM
Unknown Object (File)
Wed, Mar 11, 10:15 AM
Unknown Object (File)
Tue, Mar 10, 7:20 PM
Unknown Object (File)
Mon, Mar 9, 5:17 PM
Unknown Object (File)
Sun, Mar 1, 3:04 AM
Unknown Object (File)
Sat, Feb 28, 10:16 PM
Unknown Object (File)
Feb 19 2026, 6:19 AM
Unknown Object (File)
Feb 19 2026, 4:51 AM
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