DnD from xarchiver to thunar makes thunar segfault.
Stephan Arts
psybsd at gmail.com
Tue May 30 13:51:31 CEST 2006
On 5/30/06, Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:
> Colossus wrote:
> >>It's a bug in xarchiver, which sends a path instead of a filename with
> >>XDS. But of course, Thunar shouldn't crash. I'll fix the crash.
> >
> > But the filename is correctly extracted. So what is wrong ?
>
> As the log message
>
> (thunar:31137): thunar-vfs-CRITICAL **: thunar_vfs_path_relative:
> assertion `strchr (name, '/') == NULL' failed
>
> tells, the filename sent by xarchiver contains a slash (/), which means
> it's a path rather than a file name.
>
> Benedikt
i think you'd better check if the basename == the filename, because
theoretically you could have escaped slashes in the filename.
Stephan
More information about the Xfce4-dev
mailing list