view pixmaps/gen-inline-pixbufs.sh @ 31439:735de21c5ce7 v9.0.1052

patch 9.0.1052: using freed memory on exit when EXITFREE is defined Commit: https://github.com/vim/vim/commit/692fe0889c44d97c4a1cc822bc8de189859c51cb Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 13 13:42:37 2022 +0000 patch 9.0.1052: using freed memory on exit when EXITFREE is defined Problem: Using freed memory on exit when EXITFREE is defined. Solution: Make a deep copy of the type. Make sure TTFLAG_STATIC is not set in the copy.
author Bram Moolenaar <Bram@vim.org>
date Tue, 13 Dec 2022 14:45:05 +0100
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