Page MenuHomeFreeBSD

libdiff: Fix type issues.
ClosedPublic

Authored by des on May 3 2024, 11:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 5, 3:17 PM
Unknown Object (File)
Tue, Mar 24, 11:00 PM
Unknown Object (File)
Wed, Mar 18, 1:33 PM
Unknown Object (File)
Wed, Mar 18, 10:21 AM
Unknown Object (File)
Sun, Mar 15, 12:47 AM
Unknown Object (File)
Mon, Mar 9, 9:55 PM
Unknown Object (File)
Sun, Mar 8, 9:01 PM
Unknown Object (File)
Mar 4 2026, 11:51 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.