[master] ea487c742 spelling: cannot

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


commit ea487c742c3be6e65b2a0bf52bda7a4c7b75f93c
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/bin/varnishd/cache/cache_fetch.c b/bin/varnishd/cache/cache_fetch.c
index 650ad26cf..c035f8a25 100644
--- a/bin/varnishd/cache/cache_fetch.c
+++ b/bin/varnishd/cache/cache_fetch.c
@@ -1121,7 +1121,7 @@ vbf_fetch_thread(struct worker *wrk, void *priv)
 	VCL_TaskLeave(ctx, bo->privs);
 	http_Teardown(bo->bereq);
 	http_Teardown(bo->beresp);
-	// can not make assumptions about the number of references here #3434
+	// cannot make assumptions about the number of references here #3434
 	if (bo->bereq_body != NULL)
 		(void) HSH_DerefObjCore(bo->wrk, &bo->bereq_body, 0);
 
diff --git a/bin/varnishd/mgt/mgt_cli.c b/bin/varnishd/mgt/mgt_cli.c
index 6693af8c3..d0b28bf61 100644
--- a/bin/varnishd/mgt/mgt_cli.c
+++ b/bin/varnishd/mgt/mgt_cli.c
@@ -484,7 +484,7 @@ mgt_cli_secret(const char *S_arg)
 	VJ_master(JAIL_MASTER_FILE);
 	fd = open(S_arg, O_RDONLY);
 	if (fd < 0) {
-		fprintf(stderr, "Can not open secret-file \"%s\"\n", S_arg);
+		fprintf(stderr, "Cannot open secret-file \"%s\"\n", S_arg);
 		exit(2);
 	}
 	VJ_master(JAIL_MASTER_LOW);
@@ -495,7 +495,7 @@ mgt_cli_secret(const char *S_arg)
 		exit(2);
 	}
 	if (i < 0) {
-		fprintf(stderr, "Can not read secret-file \"%s\"\n", S_arg);
+		fprintf(stderr, "Cannot read secret-file \"%s\"\n", S_arg);
 		exit(2);
 	}
 	closefd(&fd);
diff --git a/bin/varnishd/mgt/mgt_jail.c b/bin/varnishd/mgt/mgt_jail.c
index 769e854a1..6ba0a8e9a 100644
--- a/bin/varnishd/mgt/mgt_jail.c
+++ b/bin/varnishd/mgt/mgt_jail.c
@@ -177,7 +177,7 @@ VJ_make_workdir(const char *dname)
 		closefd(&i);
 		AZ(unlink("_.testfile"));
 		ARGV_ERR("Working directory %s (-n argument) "
-		    "can not reside on a file system mounted noexec\n", dname);
+		    "cannot reside on a file system mounted noexec\n", dname);
 	}
 #endif
 
diff --git a/bin/varnishd/mgt/mgt_param.c b/bin/varnishd/mgt/mgt_param.c
index 009ad7618..377ae18a4 100644
--- a/bin/varnishd/mgt/mgt_param.c
+++ b/bin/varnishd/mgt/mgt_param.c
@@ -98,7 +98,7 @@ static const char WIZARD_TEXT[] =
 
 static const char PROTECTED_TEXT[] =
 	"\n\n"
-	"NB: This parameter is protected and can not be changed.";
+	"NB: This parameter is protected and cannot be changed.";
 
 static const char ONLY_ROOT_TEXT[] =
 	"\n\n"
diff --git a/bin/varnishtest/tests/c00042.vtc b/bin/varnishtest/tests/c00042.vtc
index 6c9208284..a57ec7797 100644
--- a/bin/varnishtest/tests/c00042.vtc
+++ b/bin/varnishtest/tests/c00042.vtc
@@ -159,7 +159,7 @@ varnish v1 -errvcl "Cannot set both .via and .path" {
 	}
 }
 
-varnish v1 -errvcl "Can not stack .via backends" {
+varnish v1 -errvcl "Cannot stack .via backends" {
 	backend a { .host = "${v2_addr}"; .port = "${v2_port}"; }
 
 	backend b {
diff --git a/bin/varnishtest/tests/m00000.vtc b/bin/varnishtest/tests/m00000.vtc
index 715f5fa7b..0ffce7e16 100644
--- a/bin/varnishtest/tests/m00000.vtc
+++ b/bin/varnishtest/tests/m00000.vtc
@@ -322,7 +322,7 @@ delay .5
 
 varnish v1 -expect vmods == 0
 
-varnish v1 -errvcl {Symbol 'std' type (vmod) can not be used in expression.} {
+varnish v1 -errvcl {Symbol 'std' type (vmod) cannot be used in expression.} {
 	import std;
 
 	sub vcl_recv {
diff --git a/bin/varnishtest/tests/v00020.vtc b/bin/varnishtest/tests/v00020.vtc
index 848c7252e..51ac0f09f 100644
--- a/bin/varnishtest/tests/v00020.vtc
+++ b/bin/varnishtest/tests/v00020.vtc
@@ -56,7 +56,7 @@ varnish v1 -errvcl {Symbol 'asub' can only be used as a SUB expression} {
 	}
 }
 
-varnish v1 -errvcl {Symbol 'acl' type (reserved) can not be used in expression.} {
+varnish v1 -errvcl {Symbol 'acl' type (reserved) cannot be used in expression.} {
 	import std;
 	sub vcl_recv { call acl; }
 }
@@ -442,7 +442,7 @@ varnish v1 -errvcl {'||' must be preceeded by BOOL, found REAL.} {
 	sub vcl_recv { if (std.random(0,1) || 0) { } }
 }
 
-varnish v1 -errvcl {Symbol 'acl' type (reserved) can not be used in expression.} {
+varnish v1 -errvcl {Symbol 'acl' type (reserved) cannot be used in expression.} {
 	import std;
 	sub vcl_recv { if (client.ip ~ acl) {} }
 }
diff --git a/bin/varnishtest/tests/v00038.vtc b/bin/varnishtest/tests/v00038.vtc
index c7c4d61ed..0173bb098 100644
--- a/bin/varnishtest/tests/v00038.vtc
+++ b/bin/varnishtest/tests/v00038.vtc
@@ -49,7 +49,7 @@ varnish v1 -errvcl "Window must be 64 or less" {
 	}
 }
 
-varnish v1 -errvcl "Threshold can not be greater than window" {
+varnish v1 -errvcl "Threshold cannot be greater than window" {
 	backend b1 {
 		.host = "${localhost}";
 		.probe = {


More information about the varnish-commit mailing list