comparison 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
comparison
equal deleted inserted replaced
18497:14e9f08eec14 18498:9e6d5a4abb1c
875 875
876 // argument to SETJMP() 876 // argument to SETJMP()
877 static JMP_BUF lc_jump_env; 877 static JMP_BUF lc_jump_env;
878 878
879 # ifdef SIGHASARG 879 # ifdef SIGHASARG
880 // Caught signal number, 0 when no was signal caught; used for mch_libcall(). 880 // Caught signal number, 0 when no signal was caught; used for mch_libcall().
881 // Volatile because it is used in signal handlers. 881 // Volatile because it is used in signal handlers.
882 static volatile sig_atomic_t lc_signal; 882 static volatile sig_atomic_t lc_signal;
883 # endif 883 # endif
884 884
885 // TRUE when lc_jump_env is valid. 885 // TRUE when lc_jump_env is valid.
3065 3065
3066 if (stat((char *)name, &st)) 3066 if (stat((char *)name, &st))
3067 return 0; 3067 return 0;
3068 #ifdef VMS 3068 #ifdef VMS
3069 /* Like on Unix system file can have executable rights but not necessarily 3069 /* Like on Unix system file can have executable rights but not necessarily
3070 * be an executable, but on Unix is not a default for an ordianry file to 3070 * be an executable, but on Unix is not a default for an ordinary file to
3071 * have an executable flag - on VMS it is in most cases. 3071 * have an executable flag - on VMS it is in most cases.
3072 * Therefore, this check does not have any sense - let keep us to the 3072 * Therefore, this check does not have any sense - let keep us to the
3073 * conventions instead: 3073 * conventions instead:
3074 * *.COM and *.EXE files are the executables - the rest are not. This is 3074 * *.COM and *.EXE files are the executables - the rest are not. This is
3075 * not ideal but better then it was. 3075 * not ideal but better then it was.