Page MenuHomeFreeBSD

Patch: Fix bluetooth-config's parameter parsing
ClosedPublic

Authored by erdgeist_erdgeist.org on Jul 12 2025, 4:59 PM.
Tags
None
Referenced Files
F166566685: D51281.id.diff
Fri, Aug 14, 1:32 PM
Unknown Object (File)
Sun, Aug 9, 2:31 AM
Unknown Object (File)
Sat, Aug 8, 8:57 AM
Unknown Object (File)
Thu, Aug 6, 10:57 PM
Unknown Object (File)
Thu, Aug 6, 10:13 PM
Unknown Object (File)
Wed, Aug 5, 10:15 PM
Unknown Object (File)
Sun, Aug 2, 12:46 AM
Unknown Object (File)
Sat, Aug 1, 5:17 AM
Subscribers
None

Details

Reviewers
lme
Summary

This addresses the problems encountered when parsing options in bluetooth-config.

  • the optional parameters were not properly shifted after consumption
  • the command line parameter count was checked before getopts and not after

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped