Allow clearing all settable DOS mode bits. A mode value of zero is ignored by
authorDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 24 Jan 2008 01:44:54 +0000 (20:44 -0500)
committerDerrell Lipman <derrell.lipman@unwireduniverse.com>
Thu, 24 Jan 2008 01:44:54 +0000 (20:44 -0500)
commit54abf7d0e595e9cbeea115a40d4f7b995252a150
treede92e70cf7567b21506c59c1f9c518b0750a9f85
parent74a71f198866ba0a0217e58a6a47bdc858d5df68
Allow clearing all settable DOS mode bits.  A mode value of zero is ignored by
Windows.  If the requested mode is zero, we instead send the appropriate one
of 0x80 (NORMAL) or 0x10 (DIRECTORY).

Thanks Jeremy!

Derrell
source/libsmb/libsmbclient.c