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
F170136743: D40684.id133234.diff
Thu, Sep 3, 3:10 PM
F170124461: D40684.id123590.diff
Thu, Sep 3, 2:21 PM
F170101006: D40684.id123596.diff
Thu, Sep 3, 12:36 PM
F170090075: D40684.id123596.diff
Thu, Sep 3, 11:48 AM
F170072669: D40684.id.diff
Thu, Sep 3, 10:44 AM
Unknown Object (File)
Tue, Sep 1, 2:35 PM
Unknown Object (File)
Tue, Sep 1, 1:40 PM
Unknown Object (File)
Tue, Sep 1, 12:59 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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
764

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

776

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
764

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.

776

I've reformulated.

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