No definition of mc_read



Hi,

Struggling a bit to get some understanding of the VFS code, specifically
in tar.c.

The function tar_get_next_record() calls mc_read(), but I am missing a
definition of this function. It is declared in vfs.h, but the only
definition is in src/vfsdummy.h as #define mc_read read.

However, the first comment in vfsdummy.h states it is a replacement for
vfs.h if VFS support is disabled. It's probably just my lack of
knowledge of preprocessing, but if that #define is used for mc_read even
when VFS support is enabled, then why isn't this also true for fe
mc_readdir, a function that is both declared (in vfs.h) and defined (in
vfs.c)?

Leonard.

-- 
mount -t life -o ro /dev/dna /genetic/research





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