tldr-pages / tldr-c-client

C command-line client for tldr pages 📚
MIT License
299 stars 50 forks source link

Fixed wrong cache directory name #75

Closed pixelcmtd closed 2 years ago

pixelcmtd commented 2 years ago

What does it do?

I added two new #defines called TLDR_ZIP_DIR and TLDR_ZIP_DIR_LEN, used them in update_localdb and changed TLDR_DIR back.

Why the change?

While the directory in the ZIP has this different name, we assume the name of the extracted directory, for example in TLDR_EXT, to be tldr. This is what caused the segfaults.

How can this be tested?

Try reproducing #71 or #74.

github-actions[bot] commented 2 years ago

Hi all! This thread has not had any recent activity. Are there any updates? Thanks!