struct dirent in snapview-server.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

NetBSD build chokes in master because of struct dirent usage in
snapview-server.c:svs_glfs_readdir()

Linux and NetBSD struct dirent do not have the same layout, and in fact
the whole buffer returned by readdir() has a different layout and is not
straightforward to convert. 

Where does the struct dirent comes from? Is it from a readdir() system
call? In that case I need to translate the structure, but it may be
wiser to do it earlier, i.e. just after readdir() call. 

Anyone can tell me how this is supposed to work?

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu@xxxxxxxxxx
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-devel




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux