Control: reassign -1 boinc
Control: found -1 7.4.23+dfsg-1
Control: retitle -1 boinc should specify a hidden file for 
wxSingleInstanceChecker

On Fri, Jun 12, 2015 at 08:37:46AM +0000, Gianfranco Costamagna wrote:
> >> $ file /home/user/BOINC\ Manager-user
> >> /home/user/BOINC Manager-user: ASCII text, with no line terminators

This doesn't match the pattern for configuration files - as well as no
leading ".", it has "-user" appended.  I see no wxConfig-related code
which could be doing that.  Also, the reporter said that the file is removed
upon program exit, which wxConfig created files aren't (since they are there
to persist state between runs).

I believe this file is created by wxSingleInstanceChecker, which is
instantiated with default constructor in clientgui/BOINCGUIApp.cpp.
That means that the default lockfile name is used, which is built by
this code in include/wx/singlinst.h:

    bool CreateDefault()
    {
        wxCHECK_MSG( wxTheApp, false, "must have application instance" );
        return Create(wxTheApp->GetAppName() + '-' + wxGetUserId());
    }

If boinc wants the file to be called something else, it should request
a particular filename (like it already does in the __WXMAC__ case).

> Hi Wxwidgets maintainers, according to boinc/upstream this might be
> likely a wx issue, or a wx wrong usage :)

Gianfranco - since you're both a maintainer of boinc and a member of the wx
maintainers team, you really are in the perfect position to dig into issues
like this where it's unclear which package is to blame.

Anyway, reassigning back to boinc.

Cheers,
    Olly


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to