Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 28802:1ab5add6f4e8 v8.2.4925
patch 8.2.4925: trailing backslash may cause reading past end of line
Commit: https://github.com/vim/vim/commit/53a70289c2712808e6d4e88927e03cac01b470dd
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 9 13:15:07 2022 +0100
patch 8.2.4925: trailing backslash may cause reading past end of line
Problem: Trailing backslash may cause reading past end of line.
Solution: Check for NUL after backslash.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 May 2022 14:30: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