Page MenuHomeFreeBSD

MAC/do: parse_rules(): Tolerate blanks around tokens
AcceptedPublic

Authored by olce on Fri, Nov 15, 5:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 20, 8:10 AM
Unknown Object (File)
Mon, Nov 18, 5:41 PM
Unknown Object (File)
Mon, Nov 18, 4:11 PM
Unknown Object (File)
Mon, Nov 18, 3:28 AM
Unknown Object (File)
Mon, Nov 18, 3:24 AM
Unknown Object (File)
Sat, Nov 16, 6:49 AM
Unknown Object (File)
Sat, Nov 16, 4:35 AM
Unknown Object (File)
Fri, Nov 15, 5:35 PM

Details

Reviewers
bapt
Summary

This revision is part of a series. Click on the Stack tab below to see the context.
This series has also been squeezed into D47633 to provide an overall view.

Commit message:
To this end, we introduce the strsep_noblanks() function, designed to be
a drop-in replacement for strstep(), and use it in place of the latter.

We had taken care of calling strsep() even when the remaining sub-string
was not delimited (i.e., with empty string as its second argument), so
this commit only has mechanical replacements of existing calls.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 60614
Build 57498: arc lint + arc unit