[master] e3a2cb490 spelling: cannot

Poul-Henning Kamp phk at FreeBSD.org
Mon Aug 19 12:42:06 UTC 2024


commit e3a2cb4901ba8f800fc561d72ab51c40a8734649
Author: Josh Soref <2119212+jsoref at users.noreply.github.com>
Date:   Wed Aug 7 08:30:53 2024 -0400

    spelling: cannot
    
    Signed-off-by: Josh Soref <2119212+jsoref at users.noreply.github.com>

diff --git a/lib/libvcc/vcc_backend.c b/lib/libvcc/vcc_backend.c
index d9ec8f97d..dc7a64b59 100644
--- a/lib/libvcc/vcc_backend.c
+++ b/lib/libvcc/vcc_backend.c
@@ -312,7 +312,7 @@ vcc_ParseProbeSpec(struct vcc *tl, const struct symbol *sym, char **namep)
 		}
 		if (threshold > window ) {
 			VSB_cat(tl->sb,
-			    "Threshold can not be greater than window.\n");
+			    "Threshold cannot be greater than window.\n");
 			AN(t_threshold);
 			vcc_ErrWhere(tl, t_threshold);
 			AN(t_window);
@@ -559,7 +559,7 @@ vcc_ParseHostDef(struct vcc *tl, struct symbol *sym,
 			if (via->extra != NULL) {
 				AZ(strcmp(via->extra, "via"));
 				VSB_cat(tl->sb,
-					"Can not stack .via backends at\n");
+					"Cannot stack .via backends at\n");
 				vcc_ErrWhere(tl, tl->t);
 				VSB_destroy(&tl->fb);
 				return;
diff --git a/lib/libvcc/vcc_expr.c b/lib/libvcc/vcc_expr.c
index cd4b03c2f..b9a03b794 100644
--- a/lib/libvcc/vcc_expr.c
+++ b/lib/libvcc/vcc_expr.c
@@ -833,7 +833,7 @@ vcc_expr5(struct vcc *tl, struct expr **e, vcc_type_t fmt)
 			return;
 		}
 		VSB_printf(tl->sb,
-		    "Symbol '%.*s' type (%s) can not be used in expression.\n",
+		    "Symbol '%.*s' type (%s) cannot be used in expression.\n",
 		    PF(t), sym->kind->name);
 		vcc_ErrWhere(tl, t);
 		if (sym->def_b != NULL) {
diff --git a/lib/libvcc/vmodtool.py b/lib/libvcc/vmodtool.py
index 44dae5038..2d3d94640 100755
--- a/lib/libvcc/vmodtool.py
+++ b/lib/libvcc/vmodtool.py
@@ -382,7 +382,7 @@ class ProtoType():
             else:
                 t = arg(wl, names, st.vcc.enums, ',')
             if t.vt == 'VOID':
-                err("arguments can not be of type '%s'" % t.vt, warn=False)
+                err("arguments cannot be of type '%s'" % t.vt, warn=False)
             if t.nm is None:
                 t.nm2 = "arg%d" % n
             else:
diff --git a/lib/libvsc/VSC_main.vsc b/lib/libvsc/VSC_main.vsc
index cc463db4a..22097f2d8 100644
--- a/lib/libvsc/VSC_main.vsc
+++ b/lib/libvsc/VSC_main.vsc
@@ -819,7 +819,7 @@
 	:group: ban_mtx
 	:oneliner:	Number of bans using req.*
 
-	Number of bans which use req.* variables.  These bans can not be
+	Number of bans which use req.* variables.  These bans cannot be
 	washed by the ban-lurker.
 
 .. varnish_vsc:: bans_added


More information about the varnish-commit mailing list