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 _______________________________________________ Thunar-dev mailing list [email protected] http://foo-projects.org/mailman/listinfo/thunar-dev
