view pixmaps/gen-inline-pixbufs.sh @ 26161:9835f424bef5 v8.2.3612

patch 8.2.3612: using freed memory with regexp using a mark Commit: https://github.com/vim/vim/commit/64066b9acd9f8cffdf4840f797748f938a13f2d6 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 17 18:22:56 2021 +0000 patch 8.2.3612: using freed memory with regexp using a mark Problem: Using freed memory with regexp using a mark. Solution: Get the line again after getting the mark position.
author Bram Moolenaar <Bram@vim.org>
date Wed, 17 Nov 2021 19:30:04 +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