From 6df6f0d08e1ddd8f69893b32846255ff456012bb Mon Sep 17 00:00:00 2001 From: Michael Mikonos <127171689+mknos@users.noreply.github.com> Date: Fri, 21 Feb 2025 15:05:38 +0800 Subject: [PATCH 1/3] pike manual typos "successful" and "occurs" --- man/pike.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/man/pike.1 b/man/pike.1 index aea524469ea..e706d7ad8c6 100644 --- a/man/pike.1 +++ b/man/pike.1 @@ -312,12 +312,12 @@ The maximum number of elements in arrays to describe in backtraces. Note that the above environment variables have effect before the default master program attempts to load the .BR Getopt (3P) -module, which occurrs before the master program arguments are parsed. +module, which occurs before the master program arguments are parsed. .SH EXIT STATUS The following exit values are returned: .TP .B 0 -Successfull completion. +Successful completion. .TP .B >0 An error occurred. See output on stderr (fd #2) for reason. From 7ba1eef1af2cc225d9fb3d73773af70cc68ed546 Mon Sep 17 00:00:00 2001 From: Michael Mikonos <127171689+mknos@users.noreply.github.com> Date: Fri, 21 Feb 2025 15:09:19 +0800 Subject: [PATCH 2/3] error message wording: "unfixated" update to "volatile" --- src/encode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encode.c b/src/encode.c index ccc27b9bb7a..f136a308256 100644 --- a/src/encode.c +++ b/src/encode.c @@ -1270,7 +1270,7 @@ static void encode_value2(struct svalue *val, struct encode_data *data, int forc if (data->canonic) Pike_error("Canonical encoding of programs not supported.\n"); if (!(val->u.program->flags & PROGRAM_FIXED)) - Pike_error("Encoding of unfixated programs not supported.\n"); + Pike_error("Encoding of volatile programs not supported.\n"); check_stack(1); push_svalue(val); apply(encoder_codec (data),"nameof", 1); From 50e18e3c58b6d583f9af1316bd4b04b17855b444 Mon Sep 17 00:00:00 2001 From: Michael Mikonos <127171689+mknos@users.noreply.github.com> Date: Fri, 21 Feb 2025 15:13:27 +0800 Subject: [PATCH 3/3] correct typo "specified" --- lib/master.pike.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/master.pike.in b/lib/master.pike.in index ae7536da103..88b1e06c736 100644 --- a/lib/master.pike.in +++ b/lib/master.pike.in @@ -4366,7 +4366,7 @@ void _main(array(string(0..255)) orig_argv) exit(0); case "version": - exit(0, version() + " Copyright © 1994-2024 Linköping University\n" + exit(0, version() + " Copyright © 1994-2024 Linköping University\n" "Pike comes with ABSOLUTELY NO WARRANTY; This is free software and you are\n" "welcome to redistribute it under certain conditions; read the files\n" "COPYING and COPYRIGHT in the Pike distribution for more details.\n"); @@ -4512,7 +4512,7 @@ void _main(array(string(0..255)) orig_argv) if(sizeof(argv)==1) { if(run_tool) { - werror("Pike -x specificed without tool name.\n" + werror("Pike -x specified without tool name.\n" "Available tools:\n"); mapping t = ([]); int i;