Commit 61dc42c0 authored by Peter Pentchev's avatar Peter Pentchev

Correct some typographical and grammatical errors.

Spotted by:	Lintian 2.5.91
parent ff244773
Change log for hexer, the multi-view binary editor
1.0.5 not yet ;)
- correct some typographical and grammatical errors
1.0.4 2018/03/24
- allow hexer to be cross-built: if CC_FOR_BUILD is defined in
......
......@@ -7,7 +7,7 @@
# -- Where? --
# The following lines determine where the binaries and manual pages for
# hexer are gonna live.
# hexer are going to live.
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
MANDIR ?= $(PREFIX)/man/man1
......
......@@ -3,7 +3,7 @@
*/
/* Copyright (c) 1995,1996 Sascha Demetrio
* Copyright (c) 2009, 2010, 2015 Peter Pentchev
* Copyright (c) 2009, 2010, 2015, 2018 Peter Pentchev
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
......@@ -186,7 +186,7 @@ main(int argc, char **argv)
}
if (!(i % 8)) fprintf(out, "\n ");
fprintf(out, " 0\n};\n\n");
/* we write a trailing 0 so the array can be used as a sting. */
/* we write a trailing 0 so the array can be used as a string. */
}
fprintf(out, "/* end of %s.c */\n\n", name);
fclose(in);
......
......@@ -3,7 +3,7 @@
*/
/* Copyright (c) 1995,1996 Sascha Demetrio
* Copyright (c) 2009, 2010, 2015, 2016 Peter Pentchev
* Copyright (c) 2009, 2010, 2015, 2016, 2018 Peter Pentchev
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
......@@ -170,8 +170,8 @@ static char *calc_code_names[] = {
enum calc_instruction_e {
CI_ADD, /* add the top two elements on the stack */
CI_ADDI, /* add an immediate value to the top element */
CI_SUB, /* substact the top two elements */
CI_SUBI, /* substact immediate value from the top element */
CI_SUB, /* subtract the top two elements */
CI_SUBI, /* subtract immediate value from the top element */
CI_MUL, /* multiply the top two elements */
CI_MULI, /* multiply an immediate value with the top element */
CI_POW, /* compute s[-2] ** s[-1] */
......
......@@ -2,7 +2,7 @@
*/
/* Copyright (c) 1995,1996 Sascha Demetrio
* Copyright (c) 2009, 2010, 2015, 2016 Peter Pentchev
* Copyright (c) 2009, 2010, 2015, 2016, 2018 Peter Pentchev
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
......@@ -372,7 +372,7 @@ exhcmd_substitute(struct he_s *hedit, const char *pattern, long begin, long end)
he_message(0, "no match");
goto exit_exh_substitute;
default: /* found */
/* first we're gonna check if the match is in the selected area */
/* first we're going to check if the match is in the selected area */
if (position + match_len > end + 1) {
position += 1;
break;
......
......@@ -3,7 +3,7 @@
*/
/* Copyright (c) 1995,1996 Sascha Demetrio
* Copyright (c) 2009, 2015, 2016 Peter Pentchev
* Copyright (c) 2009, 2015, 2016, 2018 Peter Pentchev
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
......@@ -97,7 +97,7 @@ exh_shell_command(const char * const command, int pager_f)
* pager specified by the "PAGER" environment. the
* default pager is `HE_DEFAULT_PAGER'. */
/* we won't use the "-c"-switch (available for most shells), instead we'll
* gonna pipe the command into the shell.
* going to pipe the command into the shell.
*/
{
int shell_pid, pager_pid;
......
......@@ -2,7 +2,7 @@
*/
/* Copyright (c) 1995,1996 Sascha Demetrio
* Copyright (c) 2009, 2010, 2015, 2016 Peter Pentchev
* Copyright (c) 2009, 2010, 2015, 2016, 2018 Peter Pentchev
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
......@@ -640,7 +640,7 @@ he_search(struct he_s *hedit, const char *exp, const char *replace, int directio
* NOTE: the replace string won't be terminated with a null character
* since it may contain null characters.
*/
/* the length of the replace sting is written to `*replace_len'.
/* the length of the replace string is written to `*replace_len'.
*/
/* the length of the match is written to `*replace_len'.
*/
......
......@@ -9,7 +9,7 @@
*/
/* Copyright (c) 1995,1996 Sascha Demetrio
* Copyright (c) 2009, 2015, 2016 Peter Pentchev
* Copyright (c) 2009, 2015, 2016, 2018 Peter Pentchev
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
......@@ -1275,7 +1275,7 @@ tio_vkeyrep(int key)
char *
tio_keyscan(int *key, char *s, int mode)
/* Check if `s' is a sting representation of a key.
/* Check if `s' is a string representation of a key.
* the keycode is written to `*key' and a pointer to the first
* character after the srep is returned.
* mode & 1: scan for escapes starting with a `^'.
......
......@@ -2,7 +2,7 @@
*/
/* Copyright (c) 1995,1996 Sascha Demetrio
* Copyright (c) 2009, 2015, 2016 Peter Pentchev
* Copyright (c) 2009, 2015, 2016, 2018 Peter Pentchev
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
......@@ -254,7 +254,7 @@ tio_vkeyrep(int key);
char *
tio_keyscan(int *key, char *s, int mode);
/* Check if `s' is a sting representation of a key. on success,
/* Check if `s' is a string representation of a key. on success,
* the keycode is written to `*key' and a pointer to the first
* character after the srep is returned, else `*key' is set to 0
* and `s' is returned.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment