Page MenuHomeFreeBSD

xargs: improve foundeof check for -E
ClosedPublic

Authored by yuripv on Apr 15 2023, 5:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 2:01 AM
Unknown Object (File)
Thu, Nov 14, 9:41 PM
Unknown Object (File)
Sat, Nov 2, 7:54 AM
Unknown Object (File)
Oct 21 2024, 10:44 PM
Unknown Object (File)
Oct 17 2024, 3:32 AM
Unknown Object (File)
Oct 10 2024, 8:03 AM
Unknown Object (File)
Oct 2 2024, 9:06 PM
Unknown Object (File)
Sep 22 2024, 9:16 PM
Subscribers

Details

Summary

PR: 270867

4aeb63826e0f got it almost correct (we can't use strcmp() here as
current argument isn't guaranteed to be NUL-terminated), but we also
need to check that current argument length is equal to that of eofstr.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped