Re: Fixing a long standing bug in view.c



* Jakub Jelinek (jakub redhat com) [20030226 20:43]:

> Shouldn't that be g_try_malloc? mc died on me today when trying to view
> a 2.8GB file, I assume because mmap failed and
> g_malloc kills the application if it fails...

Probably it should, but this would have to be wrapped in a macro as glib 1.2
doesn't support g_try_malloc.

Philipp

-- 
Philipp Thomas <pthomas suse de>
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nuremberg, Germany



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]