]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix typos 3046/head
authorDimitris Apostolou <dimitris.apostolou@icloud.com>
Wed, 2 Feb 2022 17:32:31 +0000 (19:32 +0200)
committerDimitris Apostolou <dimitris.apostolou@icloud.com>
Wed, 2 Feb 2022 17:32:31 +0000 (19:32 +0200)
programs/fileio_asyncio.c
programs/fileio_asyncio.h
tests/cli-tests/README.md

index 332292bbc1b39089461905da7986aa5a11c33c89..92c9a5b1d35a4cbf4562759090c6775ca03d3c37 100644 (file)
@@ -415,7 +415,7 @@ static IOJob_t* AIO_ReadPool_findNextWaitingOffsetCompletedJob_locked(ReadPoolCt
 }
 
 /* AIO_ReadPool_numReadsInFlight:
- * Returns the number of IO read jobs currrently in flight. */
+ * Returns the number of IO read jobs currently in flight. */
 static size_t AIO_ReadPool_numReadsInFlight(ReadPoolCtx_t* ctx) {
     const size_t jobsHeld = (ctx->currentJobHeld==NULL ? 0 : 1);
     return ctx->base.totalIoJobs - (ctx->base.availableJobsCount + ctx->completedJobsCount + jobsHeld);
index bf07f85947ba533e3655d04c6917e8590b318eb9..30db44b6ef0d2a570142a3ebf1df2ceb0cf565f0 100644 (file)
@@ -151,7 +151,7 @@ void AIO_ReadPool_free(ReadPoolCtx_t* ctx);
 void AIO_ReadPool_consumeBytes(ReadPoolCtx_t *ctx, size_t n);
 
 /* AIO_ReadPool_fillBuffer:
- * Makes sure buffer has at least n bytes loaded (as long as n is not bigger than the initalized bufferSize).
+ * Makes sure buffer has at least n bytes loaded (as long as n is not bigger than the initialized bufferSize).
  * Returns if srcBuffer has at least n bytes loaded or if we've reached the end of the file.
  * Return value is the number of bytes added to the buffer.
  * Note that srcBuffer might have up to 2 times bufferSize bytes. */
index 3098f466f2cb63aa476841c9942bcfdc368ee0b7..cdf9b8e7148405c9e82a30a7adf831802bf3ccce 100644 (file)
@@ -67,9 +67,9 @@ They are generally used by the helper scripts in `bin/` to coordinate everything
 
 ### Basic test case
 
-When executing your `$TEST` executable, by default the exit code is expected to be `0`. However, you can provide an alterate expected exit code in a `$TEST.exit` file.
+When executing your `$TEST` executable, by default the exit code is expected to be `0`. However, you can provide an alternate expected exit code in a `$TEST.exit` file.
 
-When executing your `$TEST` exectuable, by default the expected stderr and stdout are empty. However, you can override the default by providing one of three files:
+When executing your `$TEST` executable, by default the expected stderr and stdout are empty. However, you can override the default by providing one of three files:
 
 * `$TEST.{stdout,stderr}.exact`
 * `$TEST.{stdout,stderr}.glob`