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
F174186159: D51281.diff
Thu, Oct 1, 5:40 AM
Unknown Object (File)
Tue, Sep 29, 4:39 PM
Unknown Object (File)
Mon, Sep 28, 6:38 AM
Unknown Object (File)
Wed, Sep 9, 1:29 PM
Unknown Object (File)
Wed, Sep 2, 11:16 AM
Unknown Object (File)
Wed, Sep 2, 8:04 AM
Unknown Object (File)
Aug 24 2026, 8:28 AM
Unknown Object (File)
Aug 14 2026, 1:32 PM
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