Page MenuHomeFreeBSD

ln: Use stdbool, style nits.
ClosedPublic

Authored by des on Mar 26 2024, 4:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 26, 5:03 AM
Unknown Object (File)
Wed, Apr 17, 3:51 PM
Unknown Object (File)
Tue, Apr 16, 1:06 PM
Unknown Object (File)
Tue, Apr 16, 2:36 AM
Unknown Object (File)
Thu, Apr 11, 3:03 PM
Unknown Object (File)
Wed, Apr 10, 12:42 AM
Unknown Object (File)
Mon, Apr 8, 6:51 AM
Unknown Object (File)
Mar 27 2024, 11:25 PM
Subscribers

Diff Detail

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

Event Timeline

des requested review of this revision.Mar 26 2024, 4:12 PM
This revision is now accepted and ready to land.Mar 26 2024, 4:21 PM
allanjude added a subscriber: allanjude.

reviewed-by: allanjude

bin/ln/ln.c
132

This comment should maybe be updated to Implied when fflag is true?

In D44511#1015246, @des wrote:

mark usage() dead

What benefit is this over relying on the exit in there to imply it? Not saying it's wrong, just trying to understand

This revision now requires review to proceed.Mar 26 2024, 4:33 PM
In D44511#1015260, @imp wrote:
In D44511#1015246, @des wrote:

mark usage() dead

What benefit is this over relying on the exit in there to imply it? Not saying it's wrong, just trying to understand

usage() is at the bottom, so the compiler will see calls to it before it realizes that it's dead, unless we tell it.

des marked an inline comment as done.Mar 27 2024, 9:54 AM
This revision was not accepted when it landed; it landed in state Needs Review.Mar 27 2024, 11:29 AM
This revision was automatically updated to reflect the committed changes.