Re: [PATCH obexd] Add cleanup of '.pcsuite' file on pcsuite_init

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI,

On Wed, Nov 9, 2011 at 11:24 AM, Radoslaw Jablonski
<radoslawjablonski@xxxxxxxxx> wrote:
> File named '.pcsuite' is used to show to other applications
> that PC-Suite connection is active - some operations shouldn't
> be performed on device when synchronization is in progress.
> In scenario when obexd will be killed or crashed during PC-Suite
> connection this file will stay forever in filestystem, because
> pcsuite_disconnect won't be called to do clean-up.
>
> This patch adds function which will remove '.pcsuite' file
> in such problematic scenarios on pcsuite_init.
> ---
>  plugins/pcsuite.c |   24 +++++++++++++++++++++++-
>  1 files changed, 23 insertions(+), 1 deletions(-)

I've forgot to add (void) as param for pcsuite_file_cleanup func.
Please ignore this one - I'll send second version of patch for this in a minute.

BR,
Radek
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux