On Wed, Jan 4, 2012 at 1:34 PM, Dennis Herbrich <dennis@archlinux.org> wrote:
On Wed, Jan 04, 2012 at 07:03:56AM -0500, Scott Lawrence wrote:
Huh. logkeys apparently does some stunny fuff with stdout (stdout=freopen(fname, "a", stdout) instead of just fopen'ing a new file) - changing that to be more "normal" fixes the problem for me. Attached is my patch for this. (I'll also stick it on the issue tracker.)
Yeah, I verified the issue and came to the same conclusion. Re-assigning stdout that way is not supposed to happen, and seemingly unnecessary, too.
To actually add something to the discussion, please find my fixed PKGBUILD and patch for ABS attached. It's basically the same as Scott's with minor stylistic differences.
Guys, you rock, thank you. The maintainer already applied the patch in the svn, I recompiled logkeys-svn, and presto logkeys works, finally. Thanks again.