Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 29004:c7e3721ec88f v8.2.5024
patch 8.2.5024: using freed memory with "]d"
Commit: https://github.com/vim/vim/commit/e2fa213cf571041dbd04ab0329303ffdc980678a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu May 26 16:32:44 2022 +0100
patch 8.2.5024: using freed memory with "]d"
Problem: Using freed memory with "]d".
Solution: Copy the pattern before searching.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 26 May 2022 17:45:03 +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