Page MenuHomeFreeBSD

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

Authored by olce on Nov 15 2024, 5:08 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jan 11, 10:57 PM
Unknown Object (File)
Sat, Jan 4, 5:53 AM
Unknown Object (File)
Mon, Dec 30, 5:50 AM
Unknown Object (File)
Fri, Dec 27, 10:25 AM
Unknown Object (File)
Thu, Dec 26, 1:54 PM
Unknown Object (File)
Dec 10 2024, 5:06 PM
Unknown Object (File)
Dec 9 2024, 1:34 PM
Unknown Object (File)
Dec 6 2024, 9:39 PM

Details

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 Not Applicable
Unit
Tests Not Applicable