Fix stat results to be consistent between smbc_stat and smbc_fstat.
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 17 Jan 2008 14:29:13 +0000 (09:29 -0500)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 17 Jan 2008 14:29:13 +0000 (09:29 -0500)
commitb4282fbd6d27d868b2d5c04bb72d2d7421822da1
treef8cfb18f5bfa715e7f887f075a528c5af5db27f3
parent5a4a7aec761c3388b741b9b47fa6358fc71a66ce
Fix stat results to be consistent between smbc_stat and smbc_fstat.

We create a kludged inode based on the checksum of the path.  We therefore
need to use the same (full) path when calculating it in both smbc_stat() and
smbc_fstat().

If struct stat has an rdev field, set it to zero.

Derrell
source/libsmb/libsmbclient.c