diff src/os_unix.c @ 18498:9e6d5a4abb1c v8.1.2243

patch 8.1.2243: typos in comments Commit: https://github.com/vim/vim/commit/32aa10203bd0b4b270def03311a4599f9ffdecc4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 2 22:54:41 2019 +0100 patch 8.1.2243: typos in comments Problem: Typos in comments. Solution: Fix the typos. (Dominique Pelle, closes https://github.com/vim/vim/issues/5160) Also adjust formatting a bit.
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Nov 2019 23:00:06 +0100
parents 9f7a2cfabfba
children 39b0c28fe495
line wrap: on
line diff
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -877,7 +877,7 @@ sig_alarm SIGDEFARG(sigarg)
 static JMP_BUF lc_jump_env;
 
 # ifdef SIGHASARG
-// Caught signal number, 0 when no was signal caught; used for mch_libcall().
+// Caught signal number, 0 when no signal was caught; used for mch_libcall().
 // Volatile because it is used in signal handlers.
 static volatile sig_atomic_t lc_signal;
 # endif
@@ -3067,7 +3067,7 @@ executable_file(char_u *name)
 	return 0;
 #ifdef VMS
     /* Like on Unix system file can have executable rights but not necessarily
-     * be an executable, but on Unix is not a default for an ordianry file to
+     * be an executable, but on Unix is not a default for an ordinary file to
      * have an executable flag - on VMS it is in most cases.
      * Therefore, this check does not have any sense - let keep us to the
      * conventions instead: