Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153973 - app-pda/synce-rra drops debug files into my home directory!
Summary: app-pda/synce-rra drops debug files into my home directory!
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2006-11-03 15:59 UTC by Martin Smith
Modified: 2006-12-11 16:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Martin Smith 2006-11-03 15:59:39 UTC

app-pda/synce-rra-0.9.1 appears to be dropping two annoying debug output files directly into my home directory, pattern-right.bin and pattern-wrong.bin.

When I unpack the ebuild, I find in /var/tmp/portage/synce-rra-0.9.1/work/synce-rra-0.9.1/lib/recurrence_pattern.c (lines 940 - 967):

 /** DEBUG --> */

        file = fopen("pattern-right.bin", "w");
        fwrite(buffer, size, 1, file);
        file = fopen("pattern-wrong.bin", "w");
        fwrite(new_buffer, new_size, 1, file);

  /** <-- DEBUG */

While this is a trivial problem, it's definitely annoying. I'd submit a patch, but really it looks like it was probably intended to be commented out anyway, just snuck in by accident.

Thank you for all the working getting my stuff to sync!
Comment 1 Charlie Shepherd (RETIRED) gentoo-dev 2006-12-11 15:52:18 UTC
I've added a patch for this for synce-rra-0.9.1-r1, can you confirm this fixes the issue?
Comment 2 Martin Smith 2006-12-11 16:44:13 UTC
Hi there,

Thank you! I can confirm -- there are no more files dropped in my home directory :).

Cheers, closing the bug.