Page MenuHomeFreeBSD

Use zlib's uncompress function for simpler code.
ClosedPublic

Authored by ota_j.email.ne.jp on Sep 5 2019, 4:37 AM.
Tags
None
Referenced Files
F114935403: D21531.id62252.diff
Fri, Apr 18, 6:20 PM
Unknown Object (File)
Sun, Apr 13, 9:51 PM
Unknown Object (File)
Thu, Apr 3, 5:26 PM
Unknown Object (File)
Thu, Mar 20, 11:25 PM
Unknown Object (File)
Feb 24 2025, 8:12 AM
Unknown Object (File)
Feb 22 2025, 3:41 PM
Unknown Object (File)
Feb 22 2025, 9:23 AM
Unknown Object (File)
Feb 22 2025, 3:19 AM
Subscribers

Details

Summary

uncompress() does the same job.

Test Plan

DDB_CTF compile option is on by default.
But I'm not sure how to run this section of code.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26547
Build 24935: arc lint + arc unit

Event Timeline

markj added inline comments.
sys/kern/kern_ctf.c
247

FreeBSD style discourages CamelCase. The variable should be called something like destlen instead.

This revision is now accepted and ready to land.Sep 8 2019, 4:14 PM
This revision now requires review to proceed.Sep 18 2019, 4:16 AM
This revision is now accepted and ready to land.Sep 18 2019, 4:38 AM