|
Karsten Hopp |
947128 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
947128 |
Subject: Patch 7.4.873
|
|
Karsten Hopp |
947128 |
Fcc: outbox
|
|
Karsten Hopp |
947128 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
947128 |
Mime-Version: 1.0
|
|
Karsten Hopp |
947128 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
947128 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
947128 |
------------
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
Patch 7.4.873 (after 7.4.866)
|
|
Karsten Hopp |
947128 |
Problem: Compiler warning for unused variable. (Tony Mechelynck)
|
|
Karsten Hopp |
947128 |
Solution: Remove the variable. Also fix int vs long_u mixup.
|
|
Karsten Hopp |
947128 |
Files: src/if_xcmdsrv.c
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
*** ../vim-7.4.872/src/if_xcmdsrv.c 2015-09-15 14:12:01.382632522 +0200
|
|
Karsten Hopp |
947128 |
--- src/if_xcmdsrv.c 2015-09-17 23:19:33.877882652 +0200
|
|
Karsten Hopp |
947128 |
***************
|
|
Karsten Hopp |
947128 |
*** 172,178 ****
|
|
Karsten Hopp |
947128 |
struct x_cmdqueue
|
|
Karsten Hopp |
947128 |
{
|
|
Karsten Hopp |
947128 |
char_u *propInfo;
|
|
Karsten Hopp |
947128 |
! int len;
|
|
Karsten Hopp |
947128 |
struct x_cmdqueue *next;
|
|
Karsten Hopp |
947128 |
struct x_cmdqueue *prev;
|
|
Karsten Hopp |
947128 |
};
|
|
Karsten Hopp |
947128 |
--- 172,178 ----
|
|
Karsten Hopp |
947128 |
struct x_cmdqueue
|
|
Karsten Hopp |
947128 |
{
|
|
Karsten Hopp |
947128 |
char_u *propInfo;
|
|
Karsten Hopp |
947128 |
! long_u len;
|
|
Karsten Hopp |
947128 |
struct x_cmdqueue *next;
|
|
Karsten Hopp |
947128 |
struct x_cmdqueue *prev;
|
|
Karsten Hopp |
947128 |
};
|
|
Karsten Hopp |
947128 |
***************
|
|
Karsten Hopp |
947128 |
*** 199,206 ****
|
|
Karsten Hopp |
947128 |
static int AppendPropCarefully __ARGS((Display *display, Window window, Atom property, char_u *value, int length));
|
|
Karsten Hopp |
947128 |
static int x_error_check __ARGS((Display *dpy, XErrorEvent *error_event));
|
|
Karsten Hopp |
947128 |
static int IsSerialName __ARGS((char_u *name));
|
|
Karsten Hopp |
947128 |
! static void save_in_queue __ARGS((char_u *buf, int len));
|
|
Karsten Hopp |
947128 |
! static void server_parse_message __ARGS((Display *dpy, char_u *propInfo, int numItems));
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
/* Private variables for the "server" functionality */
|
|
Karsten Hopp |
947128 |
static Atom registryProperty = None;
|
|
Karsten Hopp |
947128 |
--- 199,206 ----
|
|
Karsten Hopp |
947128 |
static int AppendPropCarefully __ARGS((Display *display, Window window, Atom property, char_u *value, int length));
|
|
Karsten Hopp |
947128 |
static int x_error_check __ARGS((Display *dpy, XErrorEvent *error_event));
|
|
Karsten Hopp |
947128 |
static int IsSerialName __ARGS((char_u *name));
|
|
Karsten Hopp |
947128 |
! static void save_in_queue __ARGS((char_u *buf, long_u len));
|
|
Karsten Hopp |
947128 |
! static void server_parse_message __ARGS((Display *dpy, char_u *propInfo, long_u numItems));
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
/* Private variables for the "server" functionality */
|
|
Karsten Hopp |
947128 |
static Atom registryProperty = None;
|
|
Karsten Hopp |
947128 |
***************
|
|
Karsten Hopp |
947128 |
*** 1198,1205 ****
|
|
Karsten Hopp |
947128 |
*/
|
|
Karsten Hopp |
947128 |
static void
|
|
Karsten Hopp |
947128 |
save_in_queue(propInfo, len)
|
|
Karsten Hopp |
947128 |
! char_u *propInfo;
|
|
Karsten Hopp |
947128 |
! int len;
|
|
Karsten Hopp |
947128 |
{
|
|
Karsten Hopp |
947128 |
x_queue_T *node;
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
--- 1198,1205 ----
|
|
Karsten Hopp |
947128 |
*/
|
|
Karsten Hopp |
947128 |
static void
|
|
Karsten Hopp |
947128 |
save_in_queue(propInfo, len)
|
|
Karsten Hopp |
947128 |
! char_u *propInfo;
|
|
Karsten Hopp |
947128 |
! long_u len;
|
|
Karsten Hopp |
947128 |
{
|
|
Karsten Hopp |
947128 |
x_queue_T *node;
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
***************
|
|
Karsten Hopp |
947128 |
*** 1228,1234 ****
|
|
Karsten Hopp |
947128 |
void
|
|
Karsten Hopp |
947128 |
server_parse_messages()
|
|
Karsten Hopp |
947128 |
{
|
|
Karsten Hopp |
947128 |
- char_u *p;
|
|
Karsten Hopp |
947128 |
x_queue_T *node;
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
if (!X_DISPLAY)
|
|
Karsten Hopp |
947128 |
--- 1228,1233 ----
|
|
Karsten Hopp |
947128 |
***************
|
|
Karsten Hopp |
947128 |
*** 1262,1268 ****
|
|
Karsten Hopp |
947128 |
server_parse_message(dpy, propInfo, numItems)
|
|
Karsten Hopp |
947128 |
Display *dpy;
|
|
Karsten Hopp |
947128 |
char_u *propInfo; /* A string containing 0 or more X commands */
|
|
Karsten Hopp |
947128 |
! int numItems; /* The size of propInfo in bytes. */
|
|
Karsten Hopp |
947128 |
{
|
|
Karsten Hopp |
947128 |
char_u *p;
|
|
Karsten Hopp |
947128 |
int code;
|
|
Karsten Hopp |
947128 |
--- 1261,1267 ----
|
|
Karsten Hopp |
947128 |
server_parse_message(dpy, propInfo, numItems)
|
|
Karsten Hopp |
947128 |
Display *dpy;
|
|
Karsten Hopp |
947128 |
char_u *propInfo; /* A string containing 0 or more X commands */
|
|
Karsten Hopp |
947128 |
! long_u numItems; /* The size of propInfo in bytes. */
|
|
Karsten Hopp |
947128 |
{
|
|
Karsten Hopp |
947128 |
char_u *p;
|
|
Karsten Hopp |
947128 |
int code;
|
|
Karsten Hopp |
947128 |
*** ../vim-7.4.872/src/version.c 2015-09-15 19:17:51.990768865 +0200
|
|
Karsten Hopp |
947128 |
--- src/version.c 2015-09-17 23:16:45.507625630 +0200
|
|
Karsten Hopp |
947128 |
***************
|
|
Karsten Hopp |
947128 |
*** 743,744 ****
|
|
Karsten Hopp |
947128 |
--- 743,746 ----
|
|
Karsten Hopp |
947128 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
947128 |
+ /**/
|
|
Karsten Hopp |
947128 |
+ 873,
|
|
Karsten Hopp |
947128 |
/**/
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
--
|
|
Karsten Hopp |
947128 |
Article in the first Free Software Magazine: "Bram Moolenaar studied electrical
|
|
Karsten Hopp |
947128 |
engineering at the Technical University of Delft and graduated in 1985 on a
|
|
Karsten Hopp |
947128 |
multi-processor Unix architecture."
|
|
Karsten Hopp |
947128 |
Response by "dimator": Could the school not afford a proper stage for the
|
|
Karsten Hopp |
947128 |
ceremony?
|
|
Karsten Hopp |
947128 |
|
|
Karsten Hopp |
947128 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
947128 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
947128 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
947128 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|