Page MenuHomeFreeBSD

cp: Minor code cleanup.
ClosedPublic

Authored by des on Feb 3 2023, 11:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 3 2024, 9:56 PM
Unknown Object (File)
Oct 3 2024, 7:05 PM
Unknown Object (File)
Oct 3 2024, 6:37 PM
Unknown Object (File)
Oct 3 2024, 1:04 PM
Unknown Object (File)
Oct 3 2024, 12:39 PM
Unknown Object (File)
Oct 3 2024, 8:12 AM
Unknown Object (File)
Oct 3 2024, 12:47 AM
Unknown Object (File)
Oct 3 2024, 12:01 AM
Subscribers

Details

Reviewers
allanjude
Group Reviewers
Klara
Commits
rGcb96a0ef0040: cp: Minor code cleanup.
Summary
  • Fix includes in utils.c, cf. style(9).
  • Fix type mismatch: readlink(2) returns ssize_t, not int.
  • It is not necessary to set errno to 0 as fts_read(3) already does it.

MFC after: 1 week

Sponsored by: Klara, Inc.

Diff Detail

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