Skip to content

Commit 882c009

Browse files
authored
docs(cache_disk.c): proofread comment text (#292)
minor typo adjustments
1 parent 593314a commit 882c009

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/cache_disk.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,9 @@ static int _mapcache_cache_disk_get(mapcache_context *ctx, mapcache_cache *pcach
429429
size = finfo.size;
430430
/*
431431
* at this stage, we have a handle to an open file that contains data.
432-
* idealy, we should aquire a read lock, in case the data contained inside the file
432+
* idealy, we should acquire a read lock, in case the data contained inside the file
433433
* is incomplete (i.e. if another process is currently writing to the tile).
434-
* currently such a lock is not set, as we don't want to loose performance on tile accesses.
434+
* currently such a lock is not set, as we don't want to lose performance on tile accesses.
435435
* any error that might happen at this stage should only occur if the tile isn't already cached,
436436
* i.e. normally only once.
437437
*/
@@ -560,7 +560,7 @@ static void _mapcache_cache_disk_set(mapcache_context *ctx, mapcache_cache *pcac
560560
mapcache_make_parent_dirs(ctx,blankname);
561561
GC_CHECK_ERROR(ctx);
562562

563-
/* aquire a lock on the blank file */
563+
/* acquire a lock on the blank file */
564564
isLocked = mapcache_lock_or_wait_for_resource(ctx,ctx->config->locker,blankname, &lock);
565565

566566
if(isLocked == MAPCACHE_TRUE) {

0 commit comments

Comments
 (0)