To: vim_dev@googlegroups.com Subject: Patch 8.2.0736 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0736 Problem: Some files not recognized as pamenv. Solution: Add pam_inv.conf. (closes #6065) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-8.2.0735/runtime/filetype.vim 2020-05-07 18:51:24.157933065 +0200 --- runtime/filetype.vim 2020-05-11 19:43:47.935539241 +0200 *************** *** 1134,1140 **** au BufNewFile,BufRead */etc/pam.conf setf pamconf " Pam environment ! au BufNewFile,BufRead .pam_environment setf pamenv " PApp au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp --- 1134,1140 ---- au BufNewFile,BufRead */etc/pam.conf setf pamconf " Pam environment ! au BufNewFile,BufRead pam_env.conf,.pam_environment setf pamenv " PApp au BufNewFile,BufRead *.papp,*.pxml,*.pxsl setf papp *** ../vim-8.2.0735/src/testdir/test_filetype.vim 2020-05-07 18:51:24.157933065 +0200 --- src/testdir/test_filetype.vim 2020-05-11 19:43:47.935539241 +0200 *************** *** 322,328 **** \ 'openroad': ['file.or'], \ 'ora': ['file.ora'], \ 'pamconf': ['/etc/pam.conf'], ! \ 'pamenv': ['/home/user/.pam_environment'], \ 'papp': ['file.papp', 'file.pxml', 'file.pxsl'], \ 'pascal': ['file.pas', 'file.dpr'], \ 'passwd': ['any/etc/passwd', 'any/etc/passwd-', 'any/etc/passwd.edit', 'any/etc/shadow', 'any/etc/shadow-', 'any/etc/shadow.edit', 'any/var/backups/passwd.bak', 'any/var/backups/shadow.bak'], --- 322,328 ---- \ 'openroad': ['file.or'], \ 'ora': ['file.ora'], \ 'pamconf': ['/etc/pam.conf'], ! \ 'pamenv': ['/etc/security/pam_env.conf', '/home/user/.pam_environment'], \ 'papp': ['file.papp', 'file.pxml', 'file.pxsl'], \ 'pascal': ['file.pas', 'file.dpr'], \ 'passwd': ['any/etc/passwd', 'any/etc/passwd-', 'any/etc/passwd.edit', 'any/etc/shadow', 'any/etc/shadow-', 'any/etc/shadow.edit', 'any/var/backups/passwd.bak', 'any/var/backups/shadow.bak'], *** ../vim-8.2.0735/src/version.c 2020-05-10 23:20:01.297288962 +0200 --- src/version.c 2020-05-11 19:45:40.367117247 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 736, /**/ -- You can't have everything. Where would you put it? -- Steven Wright /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///