Page MenuHomeFreeBSD

find: add SIGINFO handler
ClosedPublic

Authored by meka_tilda.center on Jan 9 2024, 8:24 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, May 3, 6:11 AM
Unknown Object (File)
Mon, Apr 29, 1:34 AM
Unknown Object (File)
Sun, Apr 28, 5:32 PM
Unknown Object (File)
Sat, Apr 27, 10:41 AM
Unknown Object (File)
Apr 7 2024, 5:26 PM
Unknown Object (File)
Apr 7 2024, 5:13 AM
Unknown Object (File)
Mar 2 2024, 3:06 AM
Unknown Object (File)
Feb 12 2024, 1:27 PM
Subscribers

Details

Summary

Print number of files processed and path currently being processed on SIGINFO.

Diff Detail

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

Event Timeline

asomers added a subscriber: des.

It LGTM, but let's get some outside review, too. @des what do you think?

des requested changes to this revision.Jan 10 2024, 1:51 PM
des added inline comments.
usr.bin/find/find.c
171

Move up.

usr.bin/find/main.c
67

Rename, this doesn't actually show any info. Also consider moving below main() for consistency.

This revision now requires changes to proceed.Jan 10 2024, 1:51 PM
This revision is now accepted and ready to land.Jan 11 2024, 6:12 PM
usr.bin/find/find.c
216

This is redundant since stderr is usually unbuffered, I suggest but will not insist on removing before committing.

This revision now requires review to proceed.Jan 11 2024, 10:12 PM
This revision is now accepted and ready to land.Jan 11 2024, 10:22 PM
This revision was automatically updated to reflect the committed changes.