[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Odd value for auto_save_mode_bits
From: |
Kim F. Storm |
Subject: |
Re: Odd value for auto_save_mode_bits |
Date: |
Fri, 05 Nov 2004 13:31:31 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Klaus Zeitler <address@hidden> writes:
> Since a few days I'm having auto-save problems. I think this is caused
> by the following lines in function auto_save_1 (fileio.c)
>
> else if (! NILP (current_buffer->filename))
> /* Remote files don't cooperate with stat. */
> auto_save_mode_bits = XINT (Ffile_modes (current_buffer->filename)) |
> 0600;
>
> if the filename doesn't yet exist, Ffile_modes (current_buffer->filename)
> returns Qnil, i.e. auto_save_mode_bits will be set to 415104.
> An open call that uses this value for parameter mode results in EACCES.
Thanks for the report. I just installed a fix.
--
Kim F. Storm http://www.cua.dk