[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: |
Thu, 21 Aug 2008 08:35:11 +0300 |
> Date: Thu, 21 Aug 2008 09:51:33 +0900
> From: YAMAMOTO Mitsuharu <address@hidden>
> Cc: address@hidden
>
> > Please suggest which variables to GCPRO.
>
> GCPRO doesn't help here. It just protects Lisp Objects from being
> collected, but not for Lisp String contents from being relocated.
Really? that's news to me. So what means do we have for protecting
pointers to Lisp strings from GC?
> Yes, `nm' is not corrupted if DOS_NT because of copying. But
> otherwise, it may be corrupted by GC and it is actually used
> afterwards.
>
> 1455 if (1
> 1456 #ifndef DOS_NT
> 1457 /* /... alone is not absolute on DOS and Windows. */
> 1458 && !IS_DIRECTORY_SEP (nm[0])
> 1459 #endif
Is nm the only variable in danger? If so, how about if we simply copy
it on all platforms?
Re: Emacs 22.2.90 pretest, Chong Yidong, 2008/08/16
Re: Emacs 22.2.90 pretest, Jason Rumney, 2008/08/17
Re: Emacs 22.2.90 pretest, Lennart Borgman (gmail), 2008/08/17
Re: Emacs 22.2.90 pretest, YAMAMOTO Mitsuharu, 2008/08/20
Re: Emacs 22.2.90 pretest, Chong Yidong, 2008/08/25
Re: Emacs 22.2.90 pretest, YAMAMOTO Mitsuharu, 2008/08/20