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
Unknown Object (File)
Feb 12 2024, 7:02 PM
Unknown Object (File)
Nov 26 2023, 1:03 AM
Unknown Object (File)
Nov 3 2023, 8:31 AM
Unknown Object (File)
Sep 9 2023, 8:04 PM
Unknown Object (File)
Aug 4 2023, 7:17 AM
Unknown Object (File)
Aug 4 2023, 7:15 AM
Unknown Object (File)
Aug 4 2023, 7:12 AM
Unknown Object (File)
Aug 4 2023, 7:05 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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