Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 2766:415c55534d90 v7.3.159
updated for version 7.3.159
Problem: Using uninitialized pointer when out of memory.
Solution: Check for NULL return value.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Mon, 11 Apr 2011 14:29:17 +0200 |
parents | 3fc0f57ecb91 |
children | d4faa2c5211b |
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