Page MenuHomeFreeBSD

nanobsd: embedded: Fix more regressions from last cleanup
AcceptedPublic

Authored by jlduran on Fri, Jan 30, 7:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 5, 3:56 AM
Unknown Object (File)
Sat, Jan 31, 6:13 PM
Unknown Object (File)
Sat, Jan 31, 5:22 PM
Unknown Object (File)
Sat, Jan 31, 5:05 PM
Unknown Object (File)
Sat, Jan 31, 10:43 AM
Unknown Object (File)
Sat, Jan 31, 3:39 AM
Unknown Object (File)
Fri, Jan 30, 11:30 PM
Unknown Object (File)
Fri, Jan 30, 11:09 PM
Subscribers

Details

Reviewers
imp
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 70248
Build 67131: arc lint + arc unit