Bram Moolenaar | 10 Jul 2012 14:25
Picon

Patch 7.3.594


Patch 7.3.594
Problem:    The X command server doesn't work perfectly. It sends an empty
	    reply for as-keys requests.
Solution:   Remove duplicate ga_init2(). Do not send a reply for as-keys
	    requests. (Brian Burns)
Files:	    src/if_xcmdsrv.c

*** ../vim-7.3.593/src/if_xcmdsrv.c	2010-08-15 21:57:27.000000000 +0200
--- src/if_xcmdsrv.c	2012-07-10 14:15:59.000000000 +0200
***************
*** 655,661 ****
  	if (SendInit(dpy) < 0)
  	    return NULL;
      }
-     ga_init2(&ga, 1, 100);

      /*
       * Read the registry property.
--- 655,660 ----
***************
*** 1198,1206 ****
  	if ((*p == 'c' || *p == 'k') && (p[1] == 0))
  	{
  	    Window	resWindow;
! 	    char_u	*name, *script, *serial, *end, *res;
  	    Bool	asKeys = *p == 'k';
- 	    garray_T	reply;
  	    char_u	*enc;

(Continue reading)


Gmane