[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 22.2.90 pretest
From: |
Eli Zaretskii |
Subject: |
Re: Emacs 22.2.90 pretest |
Date: |
Mon, 25 Aug 2008 21:54:38 +0300 |
> From: Chong Yidong <address@hidden>
> Date: Wed, 20 Aug 2008 10:44:18 -0400
> Cc: address@hidden
>
> YAMAMOTO Mitsuharu <address@hidden> writes:
>
> > 2008-08-02 Eli Zaretskii <address@hidden>
> >
> > * fileio.c (Fexpand_file_name): Convert the value of $HOME to a
> > multibyte string.
> >
> > The above change contains the same problem I pointed out in
> > http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-03/msg00026.html.
> > I.e., DECODE_FILE may GC, and pointers to Lisp String contents are not
> > valid after that because of relocations by compaction.
>
> How bout turning off GC in that chunk of code?
That means Emacs could accidentally run out of memory when GC would
salvage some. So I don't like this idea.
I think copying `nm's contents into a local buffer up front, like
DOS_NT does, is a much better solution, and it costs nothing.
- Re: Emacs 22.2.90 pretest, (continued)
Re: Emacs 22.2.90 pretest, Chong Yidong, 2008/08/25
- Re: Emacs 22.2.90 pretest,
Eli Zaretskii <=
Re: Emacs 22.2.90 pretest, YAMAMOTO Mitsuharu, 2008/08/20