Page MenuHomeFreeBSD

Use zlib's uncompress function for simpler code.
AcceptedPublic

Authored by ota_j.email.ne.jp on Thu, Sep 5, 4:37 AM.

Details

Reviewers
markj
delphij
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
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 26547
Build 24935: arc lint + arc unit

Event Timeline

markj accepted this revision.Sun, Sep 8, 4:14 PM
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.Sun, Sep 8, 4:14 PM

destLen -> destlen.

This revision now requires review to proceed.Wed, Sep 18, 4:16 AM
delphij accepted this revision.Wed, Sep 18, 4:38 AM

LGTM.

This revision is now accepted and ready to land.Wed, Sep 18, 4:38 AM
markj accepted this revision.Wed, Sep 18, 2:35 PM