comparison src/os_unix.c @ 26771:fc859aea8cec v8.2.3914

patch 8.2.3914: various spelling mistakes in comments Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Mon Dec 27 17:21:41 2021 +0000 patch 8.2.3914: various spelling mistakes in comments Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 18:30:05 +0100
parents cf986610be6a
children 3c1dcb63f579
comparison
equal deleted inserted replaced
26770:15ff3f2e0d58 26771:fc859aea8cec
3163 // be an executable, but on Unix is not a default for an ordinary file to 3163 // be an executable, but on Unix is not a default for an ordinary file to
3164 // have an executable flag - on VMS it is in most cases. 3164 // have an executable flag - on VMS it is in most cases.
3165 // Therefore, this check does not have any sense - let keep us to the 3165 // Therefore, this check does not have any sense - let keep us to the
3166 // conventions instead: 3166 // conventions instead:
3167 // *.COM and *.EXE files are the executables - the rest are not. This is 3167 // *.COM and *.EXE files are the executables - the rest are not. This is
3168 // not ideal but better then it was. 3168 // not ideal but better than it was.
3169 int vms_executable = 0; 3169 int vms_executable = 0;
3170 if (S_ISREG(st.st_mode) && mch_access((char *)name, X_OK) == 0) 3170 if (S_ISREG(st.st_mode) && mch_access((char *)name, X_OK) == 0)
3171 { 3171 {
3172 if (strstr(vms_tolower((char*)name),".exe") != NULL 3172 if (strstr(vms_tolower((char*)name),".exe") != NULL
3173 || strstr(vms_tolower((char*)name),".com")!= NULL) 3173 || strstr(vms_tolower((char*)name),".com")!= NULL)