view pixmaps/gen-inline-pixbufs.sh @ 29465:1ae3e2d691a0 v9.0.0074

patch 9.0.0074: Coverity warns for double free Commit: https://github.com/vim/vim/commit/34a1f779791fd4137547fa72addeb147b7704604 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jul 26 11:20:48 2022 +0100 patch 9.0.0074: Coverity warns for double free Problem: Coverity warns for double free. Solution: Reset cts_text_prop_count when freeing cts_text_props.
author Bram Moolenaar <Bram@vim.org>
date Tue, 26 Jul 2022 12:30:05 +0200
parents d4faa2c5211b
children
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