GNU bug report logs - #9754
emacs -nv fails on glib 2.31

Previous Next

Package: emacs;

Reported by: Ryan Lortie <desrt <at> desrt.ca>

Date: Fri, 14 Oct 2011 17:43:01 UTC

Severity: normal

Tags: moreinfo

Merged with 6975, 10631

Fixed in version 24.2

Done: Ken Brown <kbrown <at> cornell.edu>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 9754 <at> debbugs.gnu.org (full text, mbox):

From: Olivier Blin <mageia <at> blino.org>
To: 9754 <at> debbugs.gnu.org
Subject: Re: emacs -nv fails on glib 2.31
Date: Fri, 11 Nov 2011 13:32:08 +0100
[Message part 1 (text/plain, inline)]
Attached is the patch I added in Mageia to fix this bug.
Something similar should be done in the emacs-23 branch.

[emacs-23.3-xgselect_init.patch (text/x-patch, inline)]
diff -up emacs-23.3/src/xgselect.c.xgselect_init emacs-23.3/src/xgselect.c
--- emacs-23.3/src/xgselect.c.xgselect_init	2011-01-08 18:45:14.000000000 +0100
+++ emacs-23.3/src/xgselect.c	2011-11-11 13:00:53.211765255 +0100
@@ -55,6 +55,9 @@ xg_select (max_fds, rfds, wfds, efds, ti
   do {
     if (n_gfds > gfds_size) 
       {
+        if (gfds_size == 0)
+          xgselect_initialize ();
+
         while (n_gfds > gfds_size) 
           gfds_size *= 2;
         xfree (gfds);
[Message part 3 (text/plain, inline)]
-- 
Olivier Blin - blino

This bug report was last modified 12 years and 108 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.