summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Ramsay <lack@gentoo.org>2009-04-08 16:40:32 +0000
committerJim Ramsay <lack@gentoo.org>2009-04-08 16:40:32 +0000
commit7fdd46c5b341320af5569301ddd6e88b8e9b9f65 (patch)
tree1d5b06a4747fe58367f8214f92f49d20c7fe2429 /x11-wm/fluxbox/files
parentStable on alpha, bug #246953 (diff)
downloadhistorical-7fdd46c5b341320af5569301ddd6e88b8e9b9f65.tar.gz
historical-7fdd46c5b341320af5569301ddd6e88b8e9b9f65.tar.bz2
historical-7fdd46c5b341320af5569301ddd6e88b8e9b9f65.zip
Fix hang reported in #263379
Package-Manager: portage-2.2_rc27/cvs/Linux x86_64
Diffstat (limited to 'x11-wm/fluxbox/files')
-rw-r--r--x11-wm/fluxbox/files/keyparse_hang.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-wm/fluxbox/files/keyparse_hang.patch b/x11-wm/fluxbox/files/keyparse_hang.patch
new file mode 100644
index 000000000000..b9f8a5896a74
--- /dev/null
+++ b/x11-wm/fluxbox/files/keyparse_hang.patch
@@ -0,0 +1,13 @@
+diff --git a/src/FbTk/StringUtil.hh b/src/FbTk/StringUtil.hh
+index 75fa69e..35f23a2 100644
+--- a/src/FbTk/StringUtil.hh
++++ b/src/FbTk/StringUtil.hh
+@@ -84,7 +84,7 @@ static void stringTokensBetween(Container &container, const std::string &in,
+ while (true) {
+ err = getStringBetween(token, in.c_str() + pos, first, last, ok_chars,
+ allow_nesting);
+- if (err == 0)
++ if (err <= 0)
+ break;
+ container.push_back(token);
+ pos += err;