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)
Tue, Sep 24, 4:58 PM
Unknown Object (File)
Sep 11 2024, 1:59 PM
Unknown Object (File)
Sep 8 2024, 4:05 PM
Unknown Object (File)
Sep 7 2024, 7:19 PM
Unknown Object (File)
Sep 5 2024, 8:01 AM
Unknown Object (File)
Sep 4 2024, 4:44 PM
Unknown Object (File)
Sep 2 2024, 6:53 PM
Unknown Object (File)
Aug 30 2024, 1:55 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.