? Makefile ? Makefile.in ? aclocal.m4 ? autom4te.cache ? config.guess ? config.log ? config.status ? config.sub ? configure ? depcomp ? install-sh ? missing ? src/stamp-h1 cvs diff: Diffing . cvs diff: Diffing contrib cvs diff: Diffing debian cvs diff: Diffing doc cvs diff: Diffing src Index: src/communications.c =================================================================== RCS file: /sources/ratpoison/ratpoison/src/communications.c,v retrieving revision 1.20 diff -u -r1.20 communications.c --- src/communications.c 16 Mar 2006 00:33:35 -0000 1.20 +++ src/communications.c 5 Jun 2007 15:38:07 -0000 @@ -113,7 +113,7 @@ XChangeProperty (dpy, root, rp_command_request, XA_WINDOW, - 8, PropModeAppend, (unsigned char *)&w, sizeof (Window)); + 32, PropModeAppend, (unsigned char *)&w, 1); sbuf_free (s); Index: src/events.c =================================================================== RCS file: /sources/ratpoison/ratpoison/src/events.c,v retrieving revision 1.135 diff -u -r1.135 events.c --- src/events.c 24 May 2006 02:48:22 -0000 1.135 +++ src/events.c 5 Jun 2007 15:38:07 -0000 @@ -521,7 +521,7 @@ /* Init offset to 0. In the case where there is more than one window in the property, a partial read does not delete the property and - we need to grab the next window by incementing offset to the + we need to grab the next window by incrementing offset to the offset of the next window. */ offset = 0; do @@ -565,7 +565,7 @@ /* notify the client of any text that was returned by the command. */ - if (cmd_ret->output) + if (cmd_ret && cmd_ret->output) result = xsprintf ("%c%s", cmd_ret->success ? '1':'0', cmd_ret->output); else result = NULL; @@ -576,7 +576,8 @@ XChangeProperty (dpy, w, rp_command_result, XA_STRING, 8, PropModeReplace, NULL, 0); free (result); - cmdret_free (cmd_ret); + if (cmd_ret) + cmdret_free (cmd_ret); } while (bytes_after > 0); }