[Thunar-dev] thunar-r22641 doesn't compile on OpenBSD-4.0-beta
Landry
landry at fr.homeunix.org
Fri Aug 4 14:46:16 CEST 2006
Benedikt Meurer wrote:
> 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.
>
>> Landry
>
> Benedikt
Landry
More information about the Thunar-dev
mailing list