Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 10551:c3cc8b2aab6a v8.0.0165
patch 8.0.0165: ubsan warns for integer overflow
commit https://github.com/vim/vim/commit/f446b48ff0bffae2b453cd4f9e3c25dfe363d29d
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 10 13:55:14 2017 +0100
patch 8.0.0165: ubsan warns for integer overflow
Problem: Ubsan warns for integer overflow.
Solution: Swap two conditions. (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Jan 2017 14:00:05 +0100 |
parents | 3fc0f57ecb91 |
children | d4faa2c5211b |
line wrap: on
line source
#! /bin/sh prefix=stock_ list= for file in "$@" do name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'` list="$list $prefix$name $file" done gdk-pixbuf-csource --raw --static --build-list $list