Page MenuHomeFreeBSD

New login_getcapenum(): Allows to read named enum values
ClosedPublic

Authored by olce on Jun 21 2023, 12:38 PM.
Tags
None
Referenced Files
F132675079: D40684.id133234.diff
Sat, Oct 18, 11:15 PM
Unknown Object (File)
Sat, Oct 18, 11:44 AM
Unknown Object (File)
Fri, Oct 17, 6:29 AM
Unknown Object (File)
Sun, Oct 12, 6:33 PM
Unknown Object (File)
Fri, Oct 10, 11:14 PM
Unknown Object (File)
Fri, Oct 10, 3:01 AM
Unknown Object (File)
Thu, Oct 9, 7:25 PM
Unknown Object (File)
Thu, Oct 2, 10:19 AM
Subscribers

Diff Detail

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

Event Timeline

olce requested review of this revision.Jun 21 2023, 12:38 PM

Fix interpretation of cgetstr()'s return code

Remove erroneous unbreakable spaces.

emaste added a subscriber: emaste.
emaste added inline comments.
lib/libutil/login_cap.c
770

it must be set to one of a list of values, yes?

782

Maybe "exists" rather than "found" or just "String is not listed in 'values'"

olce marked 2 inline comments as done.

Address comments.

lib/libutil/login_cap.c
770

It is expected to, yes. It returns -1 in case the value is a string but not one listed in values.

I've reformulated this sentence.

782

I've reformulated.

This revision is now accepted and ready to land.Jan 26 2024, 2:24 PM