Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 30922:ed6acfafa17e v9.0.0795
patch 9.0.0795: readblob() always reads the whole file
Commit: https://github.com/vim/vim/commit/11df3aeee548b959ccd4b9a4d3c44651eab6b3ce
Author: K.Takata <kentkt@csc.jp>
Date: Wed Oct 19 14:02:40 2022 +0100
patch 9.0.0795: readblob() always reads the whole file
Problem: readblob() always reads the whole file.
Solution: Add arguments to read part of the file. (Ken Takata,
closes #11402)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 19 Oct 2022 15:15: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