Patch 8.2.4421
Problem:    Some installed files and directories have wrong permissions.
Solution:   Adjust the Makefile and shell to set permissions. (closes #9793)
Files:      src/Makefile, src/installman.sh


*** ../vim-8.2.4420/src/Makefile        2022-02-13 21:51:02.392484124 +0000
--- src/Makefile        2022-02-19 13:13:16.166794908 +0000
***************
*** 2140,2146 ****
  # without changes.
  # This requires a "vim" executable with the +eval feature.
  cmdidxs: ex_cmds.h
!       vim --clean -N -X --not-a-term -u create_cmdidxs.vim -c quit
  
  # Run vim script to generate the normal/visual mode command lookup table.
  # This only needs to be run when a new normal/visual mode command has been
--- 2140,2146 ----
  # without changes.
  # This requires a "vim" executable with the +eval feature.
  cmdidxs: ex_cmds.h
!       vim --clean -X --not-a-term -u create_cmdidxs.vim -c quit
  
  # Run vim script to generate the normal/visual mode command lookup table.
  # This only needs to be run when a new normal/visual mode command has been
***************
*** 2151,2157 ****
  #   - run "make nvcmdidxs" to generate nv_cmdidxs.h
  nvcmdidxs: auto/config.mk nv_cmds.h
        $(CC) -I$(srcdir) $(ALL_CFLAGS) create_nvcmdidxs.c -o create_nvcmdidxs
!       vim --clean -N -X --not-a-term -u create_nvcmdidxs.vim -c quit
        -rm -f create_nvcmdidxs
  
  # The normal command to compile a .c file to its .o file.
--- 2151,2157 ----
  #   - run "make nvcmdidxs" to generate nv_cmdidxs.h
  nvcmdidxs: auto/config.mk nv_cmds.h
        $(CC) -I$(srcdir) $(ALL_CFLAGS) create_nvcmdidxs.c -o create_nvcmdidxs
!       vim --clean -X --not-a-term -u create_nvcmdidxs.vim -c quit
        -rm -f create_nvcmdidxs
  
  # The normal command to compile a .c file to its .o file.
***************
*** 2499,2506 ****
        cd $(DEST_PRINT); chmod $(FILEMOD) *.ps
  # install the colorscheme files
        cd $(COLSOURCE); $(INSTALL_DATA_R) *.vim lists tools README.txt 
$(DEST_COL)
!       cd $(DEST_COL); chmod $(DIRMOD) tools
!       cd $(DEST_COL); chmod $(HELPMOD) *.vim README.txt tools/*.vim
  # install the syntax files
        cd $(SYNSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_SYN)
        cd $(DEST_SYN); chmod $(HELPMOD) *.vim README.txt
--- 2499,2506 ----
        cd $(DEST_PRINT); chmod $(FILEMOD) *.ps
  # install the colorscheme files
        cd $(COLSOURCE); $(INSTALL_DATA_R) *.vim lists tools README.txt 
$(DEST_COL)
!       cd $(DEST_COL); chmod $(DIRMOD) lists tools
!       cd $(DEST_COL); chmod $(HELPMOD) *.vim README.txt lists/*.vim 
tools/*.vim
  # install the syntax files
        cd $(SYNSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_SYN)
        cd $(DEST_SYN); chmod $(HELPMOD) *.vim README.txt
***************
*** 2519,2525 ****
        cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
  # install the ftplugin files
        cd $(FTPLUGSOURCE); $(INSTALL_DATA) *.vim README.txt logtalk.dict 
$(DEST_FTP)
!       cd $(DEST_FTP); chmod $(HELPMOD) *.vim README.txt
  # install the compiler files
        cd $(COMPSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COMP)
        cd $(DEST_COMP); chmod $(HELPMOD) *.vim README.txt
--- 2519,2525 ----
        cd $(DEST_PLUG); chmod $(HELPMOD) *.vim README.txt
  # install the ftplugin files
        cd $(FTPLUGSOURCE); $(INSTALL_DATA) *.vim README.txt logtalk.dict 
$(DEST_FTP)
!       cd $(DEST_FTP); chmod $(HELPMOD) *.vim README.txt logtalk.dict
  # install the compiler files
        cd $(COMPSOURCE); $(INSTALL_DATA) *.vim README.txt $(DEST_COMP)
        cd $(DEST_COMP); chmod $(HELPMOD) *.vim README.txt
***************
*** 3030,3036 ****
  # Update the synmenu.vim file with the latest Syntax menu.
  # This is only needed when runtime/makemenu.vim was changed.
  menu: ./vim ../runtime/makemenu.vim
!       ./vim -u ../runtime/makemenu.vim
  
  # Start configure from scratch
  scrub scratch:
--- 3030,3036 ----
  # Update the synmenu.vim file with the latest Syntax menu.
  # This is only needed when runtime/makemenu.vim was changed.
  menu: ./vim ../runtime/makemenu.vim
!       ./vim --clean -X --not-a-term -u ../runtime/makemenu.vim
  
  # Start configure from scratch
  scrub scratch:
*** ../vim-8.2.4420/src/installman.sh   2019-03-07 11:24:01.000000000 +0000
--- src/installman.sh   2022-02-19 13:21:04.202062141 +0000
***************
*** 40,45 ****
--- 40,46 ----
     if test ! -d $destdir; then
        echo creating $destdir
        /bin/sh install-sh -c -d $destdir
+       chmod 755 $destdir
     fi
  fi
  
*** ../vim-8.2.4420/src/version.c       2022-02-19 12:04:56.616450970 +0000
--- src/version.c       2022-02-19 13:22:21.781938881 +0000
***************
*** 752,753 ****
--- 752,755 ----
  {   /* Add new patch number below this line */
+ /**/
+     4421,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
78. You find yourself dialing IP numbers on the phone.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220219132547.D02711C0FE0%40moolenaar.net.

Raspunde prin e-mail lui