[hackers] [surf] quoting fix reported by Evan Gates. || Enno Boland (tox)

From: <hg_AT_suckless.org>
Date: Wed, 28 Oct 2009 21:22:26 +0000 (UTC)

changeset: 163:2998ef786732
tag: tip
user: Enno Boland (tox) <tox_AT_s01.de>
date: Wed Oct 28 22:22:20 2009 +0100
files: config.def.h
description:
quoting fix reported by Evan Gates.

diff -r 1913fc40281a -r 2998ef786732 config.def.h
--- a/config.def.h Wed Oct 28 20:43:30 2009 +0100
+++ b/config.def.h Wed Oct 28 22:22:20 2009 +0100
@@ -9,7 +9,7 @@
 static time_t sessiontime = 3600;
 
 #define SETPROP(p) { .v = (char *[]){ "/bin/sh", "-c", \
- "xprop -id $1 -f $0 8s -set $0 `echo -n | dmenu || exit 0`", \
+ "xprop -id $1 -f $0 8s -set $0 \"`echo -n | dmenu || exit 0`\"", \
         p, winid, NULL } }
 #define MODKEY GDK_CONTROL_MASK
 static Key keys[] = {
Received on Wed Oct 28 2009 - 21:22:26 UTC

This archive was generated by hypermail 2.2.0 : Wed Oct 28 2009 - 21:24:05 UTC