Mercurial > vim
view runtime/ftplugin/readline.vim @ 28968:3043a3e2ef95 v8.2.5006
patch 8.2.5006: asan warns for undefined behavior
Commit: https://github.com/vim/vim/commit/68e64d2c1735f2a39afa8a0475ae29bedb116684
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 22 22:07:52 2022 +0100
patch 8.2.5006: asan warns for undefined behavior
Problem: Asan warns for undefined behavior.
Solution: Cast the shifted value to unsigned.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 May 2022 23:15:03 +0200 |
parents | 1218c5353e2b |
children | e5e95e8c78a7 |
line wrap: on
line source
" Vim filetype plugin file " Language: readline(3) configuration file " Previous Maintainer: Nikolai Weibull <now@bitwi.se> " Latest Revision: 2008-07-09 if exists("b:did_ftplugin") finish endif let b:did_ftplugin = 1 let s:cpo_save = &cpo set cpo&vim let b:undo_ftplugin = "setl com< cms< fo<" setlocal comments=:# commentstring=#\ %s formatoptions-=t formatoptions+=croql let &cpo = s:cpo_save unlet s:cpo_save