Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package vim for openSUSE:Factory checked in at 2026-07-23 23:08:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vim (Old) and /work/SRC/openSUSE:Factory/.vim.new.2004 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vim" Thu Jul 23 23:08:25 2026 rev:404 rq:1366841 version:9.2.0780 Changes: -------- --- /work/SRC/openSUSE:Factory/vim/vim.changes 2026-07-15 16:31:17.465390288 +0200 +++ /work/SRC/openSUSE:Factory/.vim.new.2004/vim.changes 2026-07-23 23:08:41.532810088 +0200 @@ -1,0 +2,6 @@ +Sat Jul 18 17:44:00 UTC 2026 - Martin Schreiner <[email protected]> + +- Guard suse.vimrc against re-entry to prevent an infinite sourcing + loop (bsc#1271684). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse.vimrc ++++++ --- /var/tmp/diff_new_pack.EKdGWy/_old 2026-07-23 23:08:43.712886640 +0200 +++ /var/tmp/diff_new_pack.EKdGWy/_new 2026-07-23 23:08:43.716886780 +0200 @@ -5,8 +5,22 @@ " version: 2021/02/22 " commented lines start with `"' +" Guard against re-entry. /etc/vimrc is chained at the end of this file, +" and on some systems /etc/vimrc is a symlink back to this file (or itself +" sources it), which would recurse until E169. Source this file at most +" once per session (bsc#1268162, bsc#1271684). +" Both branches sit inside the :if so that a build without +eval (vim-small) +" skips the whole block instead of tripping over :let (E319). Such builds +" also skip the /etc/vimrc source at the end of this file, so they cannot +" recurse and need no guard. +if !exists("g:loaded_suse_vimrc") + let g:loaded_suse_vimrc = 1 +else + finish +endif + " get easier to use and more user friendly vim defaults -" CAUTION: This option breaks some vi compatibility. +" CAUTION: This option breaks some vi compatibility. " Switch it off if you prefer real vi compatibility set nocompatible @@ -36,7 +50,7 @@ " Required to be able to use keypad keys and map missed escape sequences set esckeys -" allow backspacing over everything in insert mode +" allow backspacing over everything in insert mode set backspace=indent,eol,start " Complete longest common string, then each full match
