Mercurial > vim
view src/xpm_w32.h @ 13148:f06a0a75d5b1 v8.0.1448
patch 8.0.1448: segfault with exception inside :rubyfile command
commit https://github.com/vim/vim/commit/37badc898b8d167e11553b6d05908ffd35928a6e
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 31 20:15:30 2018 +0100
patch 8.0.1448: segfault with exception inside :rubyfile command
Problem: Segmentation fault when Ruby throws an exception inside :rubyfile
command.
Solution: Use rb_protect() instead of rb_load_protect(). (ujihisa,
closes #2147, greywolf, closes #2512, #2511)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Jan 2018 20:30:06 +0100 |
parents | 1a5d34492798 |
children |
line wrap: on
line source
/* * Header file for xpm_w32.c */ #ifndef XPM_W32__H int LoadXpmImage(char *filename, HBITMAP *hImage, HBITMAP *hShape); #endif