[Thunar-dev] ThunarVfsInfo: Bug in thunar_vfs_info_new_for_path?

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Feb 1 17:01:20 CET 2006


Jannis Pohlmann wrote:
>>>>gcc (GCC) 4.0.2 20050808 (prerelease)
>>>>
>>>>I'll try it with gcc-3.4 now.
>>>
>>>Hm. No changes with gcc-3.4, even if I compile ThunarVFS and my test
>>>script using it.
>>
>>
>>Ok, please send me the generated code (gcc -S).
> 
> 
> Of what? I have attached the output to main.o (not sure if that's what
> you need) after calling gcc -S.

Hm, looks like compiler assigns 4 additional bytes to ThunarVfsInfo. But
otherwise it looks correct (atleast if path is really at offset 48). Can
you add a debug message to thunar_vfs_path_get_name() and print the
address of the path?

> - Jannis

Benedikt



More information about the Thunar-dev mailing list