[Thunar-dev] thunar-r22641 doesn't compile on OpenBSD-4.0-beta

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Fri Aug 4 14:50:16 CEST 2006


Landry wrote:
>>>I just checked on a linux system, where getdents() exists, and the 
>>>manual says :
>>>This is not the function you are interested in.  Look at readdir(3) for 
>>>the POSIX conforming C library interface.  This page documents the bare 
>>>kernel system call interface.
>>>
>>>Apparently, getdents() is not POSIX-compatible (maybe that's why it's 
>>>not implemented on openbsd).
>>
>>Sure, that's because its in thunar-vfs-os-bsd.c. Looks like OpenBSD
>>lacks both getdents() and whiteout inodes. Try the attached patch
>>(remember to rerun autogen.sh), it should fix the problem.
> 
> Thanks, with this patch, it works... but it's a rather big workaround 
> with plenty of #ifdef/#ifndef .. dunno if it's a nice way to handle 
> special cases like that.

Welcome to OpenBSD. ;-)

On the other hand, that's 4 #ifdef's, nothing to worry about.

> Landry

Benedikt



More information about the Thunar-dev mailing list