Subject: bug#5303: 23.1.91; Cannot load .emacs-history from savehist.el

From: Chong Yidong <[email-masked]>
Date: Thu, 21 Jan 2010 15:41:06 -0500

Chong Yidong <[email-masked]> writes:

>>   . Was safe_to_load_p intended to return non-zero value for invalid
>>     file descriptors such as -2?
>
> I think that is a bug.

Does it fix the bug if safe_to_load_p returns 0 when the call to
emacs_read on line 895 returns a value <= 0?