Jon Grosshart <jgrossh...@gmail.com> writes: > Trying to build samba 3.5.0 on a DNS-323 embeded NAS running on ARM > with Uclibc. mount.cifs fails with not finding fstab.h
Is Samba using gnulib? If not, anything done in gnulib will not help. It seems gnulib could easily provide a fstab.h replacement and its related functions. The functions are by nature not thread safe, so I'm not certain it is wise to promote their use. On the other hand, there is plenty of thread-unsafe code in gnulib already which is useful for applications that aren't threaded. Does anyone else have any opinion on the fstab APIs? http://www.gnu.org/software/libc/manual/html_node/fstab.html I wonder if it is strictly glibc-only, or if some other systems have adopted the same interface? If some other system also supports the same interface, I think that is another indication that it would make sense to add it to gnulib. I'm inclined to add it, if for nothing else just completeness, and will volunteer to add it and write some test cases for it. /Simon