Page MenuHomeFreeBSD

libdiff: Fix type issues.
ClosedPublic

Authored by des on May 3 2024, 11:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 26, 6:18 PM
Unknown Object (File)
Mon, Aug 24, 8:58 AM
Unknown Object (File)
Sun, Aug 23, 9:48 PM
Unknown Object (File)
Sat, Aug 22, 3:51 PM
Unknown Object (File)
Sat, Aug 22, 9:54 AM
Unknown Object (File)
Sat, Aug 22, 8:23 AM
Unknown Object (File)
Fri, Aug 21, 3:58 PM
Unknown Object (File)
Fri, Aug 21, 3:39 PM
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.