view pixmaps/gen-inline-pixbufs.sh @ 12005:0496ea4c5c2e v8.0.0883

patch 8.0.0883: invalid memory access with nonsensical script commit https://github.com/vim/vim/commit/1c864093f93b0066de25d6c0ddf03a6bc6b1c870 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 6 18:15:45 2017 +0200 patch 8.0.0883: invalid memory access with nonsensical script Problem: Invalid memory access with nonsensical script. Solution: Check "dstlen" being positive. (Dominique Pelle)
author Christian Brabandt <cb@256bit.org>
date Sun, 06 Aug 2017 19:15:04 +0200
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