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)
Sun, Jan 26, 6:19 PM
Unknown Object (File)
Fri, Jan 24, 5:49 PM
Unknown Object (File)
Thu, Jan 23, 6:28 PM
Unknown Object (File)
Thu, Jan 16, 12:58 AM
Unknown Object (File)
Thu, Jan 16, 12:48 AM
Unknown Object (File)
Wed, Jan 15, 11:47 PM
Unknown Object (File)
Wed, Jan 15, 10:01 PM
Unknown Object (File)
Wed, Jan 15, 3:15 PM
Subscribers

Details

Summary

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

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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.