Skip to content

Commit

Permalink
Fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
polluks committed May 23, 2023
1 parent 49be95a commit b11bb0b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ set(PROJECT_CONFIG "${GENERATED_DIR}/${PROJECT_NAME}Config.cmake")
set(TARGETS_EXPORT_NAME "${PROJECT_NAME}Targets")
set(NAMESPACE "${PROJECT_NAME}::")

# Include module with fuction 'write_basic_package_version_file'
# Include module with function 'write_basic_package_version_file'
include(CMakePackageConfigHelpers)

# Note: PROJECT_VERSION is used as a VERSION
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This is done by hacking awesome [miniz](https://github.com/richgel999/miniz) lib
... Some day, I was looking for zip library written in C for my project, but I could not find anything simple enough and lightweight.
Everything what I tried required 'crazy mental gymnastics' to integrate or had some limitations or was too heavy.
I hate frameworks, factories and adding new dependencies. If I must to install all those dependencies and link new library, I'm getting almost sick.
I wanted something powerfull and small enough, so I could add just a few files and compile them into my project.
I wanted something powerful and small enough, so I could add just a few files and compile them into my project.
And finally I found miniz.
Miniz is a lossless, high performance data compression library in a single source file. I only needed simple interface to append buffers or files to the current zip-entry. Thanks to this feature I'm able to merge many files/buffers and compress them on-the-fly.

Expand Down
2 changes: 1 addition & 1 deletion cmake/sanitize-helpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function (sanitizer_check_compiler_flags FLAG_CANDIDATES NAME PREFIX)

get_property(ENABLED_LANGUAGES GLOBAL PROPERTY ENABLED_LANGUAGES)
foreach (LANG ${ENABLED_LANGUAGES})
# Sanitizer flags are not dependend on language, but the used compiler.
# Sanitizer flags are not dependent on language, but the used compiler.
# So instead of searching flags foreach language, search flags foreach
# compiler used.
set(COMPILER ${CMAKE_${LANG}_COMPILER_ID})
Expand Down
2 changes: 1 addition & 1 deletion src/miniz.h
Original file line number Diff line number Diff line change
Expand Up @@ -1705,7 +1705,7 @@ MINIZ_EXPORT mz_bool mz_zip_writer_add_from_zip_reader(
* valid. */
MINIZ_EXPORT mz_bool mz_zip_writer_finalize_archive(mz_zip_archive *pZip);

/* Finalizes a heap archive, returning a poiner to the heap block and its size.
/* Finalizes a heap archive, returning a pointer to the heap block and its size.
*/
/* The heap block will be allocated using the mz_zip_archive's alloc/realloc
* callbacks. */
Expand Down
6 changes: 3 additions & 3 deletions src/zip.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ typedef long ssize_t; /* byte count or error */
/**
* @mainpage
*
* Documenation for @ref zip.
* Documentation for @ref zip.
*/

/**
Expand Down Expand Up @@ -94,9 +94,9 @@ typedef long ssize_t; /* byte count or error */
#define ZIP_EFWRITE -29 // fwrite error

/**
* Looks up the error message string coresponding to an error number.
* Looks up the error message string corresponding to an error number.
* @param errnum error number
* @return error message string coresponding to errnum or NULL if error is not
* @return error message string corresponding to errnum or NULL if error is not
* found.
*/
extern ZIP_EXPORT const char *zip_strerror(int errnum);
Expand Down

0 comments on commit b11bb0b

Please sign in to comment.