[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:22:21 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.

> Landry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: thunar-vfs-os-bsd_openbsd.patch
Type: text/x-patch
Size: 3694 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/thunar-dev/attachments/20060804/9a12956e/attachment.bin>

More information about the Thunar-dev mailing list