Page MenuHomeFreeBSD

libdiff: Fix type issues.
ClosedPublic

Authored by des on May 3 2024, 11:54 AM.
Tags
None
Referenced Files
F132353995: D45077.diff
Thu, Oct 16, 4:27 AM
Unknown Object (File)
Sat, Oct 11, 3:28 AM
Unknown Object (File)
Thu, Sep 18, 4:46 AM
Unknown Object (File)
Sep 16 2025, 4:20 AM
Unknown Object (File)
Sep 16 2025, 12:27 AM
Unknown Object (File)
Sep 8 2025, 8:53 PM
Unknown Object (File)
Sep 5 2025, 5:36 PM
Unknown Object (File)
Sep 1 2025, 10:46 AM
Subscribers

Details

Summary

MFC after: 1 week
Sponsored by: Klara, Inc.

Diff Detail

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

Event Timeline

des requested review of this revision.May 3 2024, 11:54 AM
This revision is now accepted and ready to land.May 3 2024, 1:26 PM
markj added inline comments.
contrib/libdiff/lib/diff_main.c
177

Why does r have type ssize_t at all? It looks like it should be int, as that's what read_at() and buf_cmp() return.

contrib/libdiff/lib/diff_main.c
177

good point, I'll change it

avoid unnecessary casts

This revision now requires review to proceed.May 3 2024, 2:55 PM
des marked an inline comment as done.May 3 2024, 2:55 PM
This revision is now accepted and ready to land.May 3 2024, 2:57 PM
This revision was automatically updated to reflect the committed changes.