From 2dfa748305db73b5a76046bc60cc50e5c3d0c59c Mon Sep 17 00:00:00 2001 From: Ted Thibodeau Jr Date: Thu, 7 Nov 2024 11:10:18 -0500 Subject: [PATCH 1/6] fix typo in extent.c --- libsrc/Wi/extent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/Wi/extent.c b/libsrc/Wi/extent.c index 15a0778253..8a7dc8b7c2 100644 --- a/libsrc/Wi/extent.c +++ b/libsrc/Wi/extent.c @@ -1520,7 +1520,7 @@ em_compact (extent_map_t * em, int free_em) page_set_checksum_init ((db_buf_t) array); if (EXT_INDEX == EXT_TYPE (ext)) { - /* when dropping a column extent map in a drop index, cpt remaps are possible, so if any, drop them. The remap pagge is dropped anyway as part of the em */ + /* when dropping a column extent map in a drop index, cpt remaps are possible, so if any, drop them. The remap page is dropped anyway as part of the em */ dp_addr_t dp2; for (dp2 = dp; dp2 < dp + 32; dp2++) remhash (DP_ADDR2VOID (dp2), em->em_dbs->dbs_cpt_remap); From 56cc0babc9fc79540afb8c14fa1b709a29260290 Mon Sep 17 00:00:00 2001 From: Ted Thibodeau Jr Date: Thu, 7 Nov 2024 11:12:18 -0500 Subject: [PATCH 2/6] fix typo in http.c --- libsrc/Wi/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/Wi/http.c b/libsrc/Wi/http.c index 901d04029f..0f4261f162 100644 --- a/libsrc/Wi/http.c +++ b/libsrc/Wi/http.c @@ -8842,7 +8842,7 @@ http_map_fill_cors_allow_headers (caddr_t option_value) } if (NULL == ht) ht = id_strcase_hash_create (7); - if (h[0] != '!' || 0 == stricmp (h, "!ALL")) /* expilicitly added header, or all custom disabled */ + if (h[0] != '!' || 0 == stricmp (h, "!ALL")) /* explicitly added header, or all custom disabled */ id_hash_set (ht, (caddr_t) &h, (caddr_t) &one); else /* explicitly denied header */ { From 0a6d475bbb99631f6075693d42c0a381638160dc Mon Sep 17 00:00:00 2001 From: Ted Thibodeau Jr Date: Thu, 7 Nov 2024 11:19:01 -0500 Subject: [PATCH 3/6] fix grammar in viconfig.c --- binsrc/virtuoso/viconfig.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binsrc/virtuoso/viconfig.c b/binsrc/virtuoso/viconfig.c index 6634e25783..fd63cc9292 100644 --- a/binsrc/virtuoso/viconfig.c +++ b/binsrc/virtuoso/viconfig.c @@ -1342,7 +1342,7 @@ cfg_setup (void) { v32 = INT32_MAX; if (cfg_getsize (pconfig, section, sd->sd_name, &v) != -1 || - cfg_getlong (pconfig, section, sd->sd_name, &v32) != -1) /* this is for cases of negative flags or zero */ + cfg_getlong (pconfig, section, sd->sd_name, &v32) != -1) /* this is for cases of zero or negative flags */ { if (v32 != INT32_MAX) v = v32; From d02d6bca75e93d4b64356ac7f4328ca35b1cc618 Mon Sep 17 00:00:00 2001 From: Ted Thibodeau Jr Date: Thu, 7 Nov 2024 11:24:30 -0500 Subject: [PATCH 4/6] fix grammar in extent.c --- libsrc/Wi/extent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/Wi/extent.c b/libsrc/Wi/extent.c index 8a7dc8b7c2..98f0816834 100644 --- a/libsrc/Wi/extent.c +++ b/libsrc/Wi/extent.c @@ -1520,7 +1520,7 @@ em_compact (extent_map_t * em, int free_em) page_set_checksum_init ((db_buf_t) array); if (EXT_INDEX == EXT_TYPE (ext)) { - /* when dropping a column extent map in a drop index, cpt remaps are possible, so if any, drop them. The remap page is dropped anyway as part of the em */ + /* when dropping a column extent map in a drop index, cpt remaps are possible, so drop any that exist. The remap page is dropped anyway as part of the em */ dp_addr_t dp2; for (dp2 = dp; dp2 < dp + 32; dp2++) remhash (DP_ADDR2VOID (dp2), em->em_dbs->dbs_cpt_remap); From 1c23a5a3e12b5827d713ffce05d9ecb392a54b02 Mon Sep 17 00:00:00 2001 From: Ted Thibodeau Jr Date: Thu, 7 Nov 2024 11:32:34 -0500 Subject: [PATCH 5/6] fix grammar in srvstat.c --- libsrc/Wi/srvstat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsrc/Wi/srvstat.c b/libsrc/Wi/srvstat.c index 07889b40a5..ab60178a93 100644 --- a/libsrc/Wi/srvstat.c +++ b/libsrc/Wi/srvstat.c @@ -2019,9 +2019,9 @@ stat_desc_t dbf_descs [] = /* - * the following are ptrs of protected system wide params, once are set to a value greater than zero - * cannot be changed until server is running, also if they written in DB cfg page, - * cannot be changed even after server restart. + * the following are ptrs of protected system wide params: once they are set to a value greater than zero, + * they cannot be changed while server is running; also, if they are written in DB cfg page, + * they cannot be changed even after server restart. */ static void * dbf_protected_params[] = { From 132d3a188cb5f3b4fe5dba7b3796cfdb2239b33a Mon Sep 17 00:00:00 2001 From: Ted Thibodeau Jr Date: Thu, 7 Nov 2024 11:35:35 -0500 Subject: [PATCH 6/6] fix typo in ncfg.c --- libsrc/util/ncfg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/util/ncfg.c b/libsrc/util/ncfg.c index efcb4674a8..f47682028e 100644 --- a/libsrc/util/ncfg.c +++ b/libsrc/util/ncfg.c @@ -167,7 +167,7 @@ _cfg_freeimage (PCONFIG pconfig) /* * Partially re-initialize struct * - * Dont reset the fileName and mtx fields + * Don't reset the fileName and mtx fields */ pconfig->image = NULL; pconfig->entries = NULL;