Page MenuHomeFreeBSD

cp: Minor code cleanup.
ClosedPublic

Authored by des on Feb 3 2023, 11:32 AM.
Tags
None
Referenced Files
F103541380: D38369.diff
Tue, Nov 26, 7:15 AM
Unknown Object (File)
Tue, Nov 12, 1:04 PM
Unknown Object (File)
Tue, Nov 12, 12:54 PM
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
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