Page MenuHomeFreeBSD

libalias: Restructure - Use AliasRange instead of PORT_BASE
ClosedPublic

Authored by donner on May 31 2021, 4:41 PM.
Tags
None
Referenced Files
F108478833: D30581.diff
Sat, Jan 25, 8:30 AM
F108431249: D30581.id.diff
Fri, Jan 24, 5:31 PM
Unknown Object (File)
Sat, Jan 18, 5:25 PM
Unknown Object (File)
Dec 11 2024, 6:14 PM
Unknown Object (File)
Dec 4 2024, 9:13 AM
Unknown Object (File)
Dec 3 2024, 6:16 PM
Unknown Object (File)
Dec 3 2024, 6:16 PM
Unknown Object (File)
Dec 3 2024, 6:16 PM

Details

Summary

Get rid of PORT_BASE.
Replace by AliasRange.
Simplify code.

Test Plan

Run testsuite.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 39994
Build 36883: arc lint + arc unit

Event Timeline

  • Factor out the search for a new port. Improves the perfomance a bit.
  • Fix errornous cherry-picking bugs

Use arc4random_uniform(3) as recommended by Dimitry Luhtionov.

This revision was not accepted when it landed; it landed in state Needs Review.Jun 19 2021, 7:53 PM
This revision was automatically updated to reflect the committed changes.