khvzak / bluez-tools

A set of tools to manage bluetooth devices for linux
GNU General Public License v2.0
179 stars 53 forks source link

check whether g_rename succeds #54

Open sgerwk opened 3 years ago

sgerwk commented 3 years ago

If the directory where bt-obex is supposed to save files is on a different filesystem than $HOME/.chache/obexd, the call to g_rename() fails. The file does not show up in the directory it is supposed to be with no clue given about what happened and where the file can be found.

I guess g_rename() may also fail for other reasons.