Your message dated Mon, 13 Jun 2016 18:25:42 +0000 with message-id <[email protected]> and subject line Bug#652120: fixed in triggerhappy 0.4.0-1 has caused the Debian Bug report #652120, regarding triggerhappy: config file incorrectly parsed if multiple whitespace chars before third field to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 652120: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652120 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: triggerhappy Version: 0.3.4-2 Severity: normal Dear Maintainer, Including more than one whitespace character between second and third field (action) in the config file causes the et->action string to contain leading whitespaces. The reason for this is that strtok_r just returns the remaining string without tokenizing it further (which would return only part of a command to be run): triggerparser.c:90 > char *s_action = strtok_r(NULL, "", &sptr); While leading whitespace is no problem for commands that are executed by 'sh', triggerhappy fails to recognize key remappings as it checks only the first character (which can be a whitespace char): trigger.c:204 > } else if (et->action[0] == '<' ) { An obvious workaround is to include only a single whitespace char between fields. However, it would be great if you could make the parsing more robust. Cheers, Raphael -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-rc4+ (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages triggerhappy depends on: ii libc6 2.13-21 triggerhappy recommends no packages. triggerhappy suggests no packages. -- Configuration Files: /etc/default/triggerhappy changed [not included] -- no debconf information
--- End Message ---
--- Begin Message ---Source: triggerhappy Source-Version: 0.4.0-1 We believe that the bug you reported is fixed in the latest version of triggerhappy, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Stefan Tomanek <[email protected]> (supplier of updated triggerhappy package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 12 Jun 2016 13:50:32 +0200 Source: triggerhappy Binary: triggerhappy Architecture: source Version: 0.4.0-1 Distribution: unstable Urgency: low Maintainer: Stefan Tomanek <[email protected]> Changed-By: Stefan Tomanek <[email protected]> Description: triggerhappy - global hotkey daemon for Linux Closes: 652120 769184 827079 Changes: triggerhappy (0.4.0-1) unstable; urgency=low . * update to new upstream version 0.4.0 (Closes: #827079, #769184, #652120) * use Debian Standard-Version 3.9.8 * bump compat level to 9 * update VCS URLs * add machine readable debian/copyright file Checksums-Sha1: 4b8db360e566e7f0efa2efdc43fe079bc85fa10b 1862 triggerhappy_0.4.0-1.dsc bcf6baf22f7d95601294cff6485345f8ae3cb4a7 29403 triggerhappy_0.4.0.orig.tar.gz 4620a940e1c1aca1121d31f77994571ccf3f0695 4340 triggerhappy_0.4.0-1.debian.tar.xz Checksums-Sha256: ed2fa66b63b247b9a0533da9d5f486c00e49b1f2d76f1ca6f5dd76aa04547429 1862 triggerhappy_0.4.0-1.dsc 9b28c63717955b89a1de7ac13511caf586f0c09f38815e884fb984bb23a98604 29403 triggerhappy_0.4.0.orig.tar.gz 580fc3f183c6d998fc01a104c1c8b58c892add776fcfb6c73ab429f054fc8311 4340 triggerhappy_0.4.0-1.debian.tar.xz Files: 665d3770b3d189d397c3a04af38d1999 1862 utils extra triggerhappy_0.4.0-1.dsc 0e18e282ac839bcb727c1235cc281332 29403 utils extra triggerhappy_0.4.0.orig.tar.gz 8b2b0f702b2ad2f0f3e844233b5533b7 4340 utils extra triggerhappy_0.4.0-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXXutLAAoJEKGwm0IzOWHofZ8P/RwxivpVHehd1diYJ/6Q5Jd9 hBbuQFMt/aDyVSWnEkmXq6m7HoggYKxtlp9mGDj1Hl4Mmb81pWSQVrlwpJS47HzR cxj3zv7SJSbfKrIgM0XGLzWuulJJ/pL/Nip7YXhqpTiaQGWw088aH6ora3rRXCz9 11j17mJZPC+ixT8C+n+uxDieAE7PY4tGVAi6COR+vapqoSunudZSynOPVvsGTqed 5/zwpfLipNdQO/UXxeoMjP1BGWhgr1X2G62phfOKEenM843tifUXBCq1U8ZVV/TO qZGkfXQY8RHDnIQXI5ufuKLAmBmZCMQTSQfDq/rnecQTQ3StYvdhj3gGhU4zLGzE DjGxlgSj0sxffvSOVtbtqIpAhcc5SeBwMah8OjhGhMGbaoNhblm8ZkQxiM7Kl/+H A//Qbk2VMOLJRaEoqJVDJU8ihfPCt2Bb+M2pYXP0WyVSJaHoj0WzM4KmCr+rMxbU BKry+/EgQS06pzc69mR/TiOYSbsIgP70vh2iGyIg3INK3E9HnLckXuUmCFpI3vRo omXEz0tbrywfr7XirYG6N1T9bk3C8yv5DVz/0fLG40dI0SKI9Q23imbD5OY6t6lq xr+gufDDW7eL7aA63v8H0Oe2/9PkAW6hT7+0MeQ1VGdmZe2vHxn8sRXk1Sgfmn3n dy1+YtN3FMREHVwjxrkg =/CLa -----END PGP SIGNATURE-----
--- End Message ---

