emacs-devel
[Top][All Lists]
Advanced

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

Re: using empty_string as the only "" string


From: Juanma Barranquero
Subject: Re: using empty_string as the only "" string
Date: Tue, 5 Jun 2007 21:45:53 +0200

On 6/5/07, Richard Stallman <address@hidden> wrote:

In that case, let's install it, presuming it has been changed to
maintain the two different empty strings (one unibyte and one
multibyte).

Yes, it has:

--- alloc.c     16 Apr 2007 03:09:33 -0000      1.409
+++ alloc.c     26 Apr 2007 13:22:16 -0000
@@ -1756,6 +1756,8 @@
 string_blocks = NULL;
 n_string_blocks = 0;
 string_free_list = NULL;
+  empty_string = make_pure_string ("", 0, 0, 0);
+  empty_multibyte_string = make_pure_string ("", 0, 0, 1);
}


            Juanma




reply via email to

[Prev in Thread] Current Thread [Next in Thread]