summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-03-07 02:16:25 +0000
committerJeremy Allison <jra@samba.org>2002-03-07 02:16:25 +0000
commit0876fb4113e17c772561c84d7fb09cbec4a66c82 (patch)
treeb386c2ab84894c134af4e12e4476cf11857760cd /source3/include
parent43ca6e3ef80f89a0e188a6aa86c6979e01804af2 (diff)
downloadsamba-0876fb4113e17c772561c84d7fb09cbec4a66c82.tar.gz
samba-0876fb4113e17c772561c84d7fb09cbec4a66c82.tar.bz2
samba-0876fb4113e17c772561c84d7fb09cbec4a66c82.zip
Change xcopy test to use defined constants rather than magic hex
values so we can see what's going on. Jeremy. (This used to be commit 5ba4ba36339269b2059da7c103e63ecd948f7938)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 8ec092e623..f2d67b992f 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -74,12 +74,12 @@ typedef int BOOL;
#define DIR_STRUCT_SIZE 43
/* these define the attribute byte as seen by DOS */
-#define aRONLY (1L<<0)
-#define aHIDDEN (1L<<1)
-#define aSYSTEM (1L<<2)
-#define aVOLID (1L<<3)
-#define aDIR (1L<<4)
-#define aARCH (1L<<5)
+#define aRONLY (1L<<0) /* 0x01 */
+#define aHIDDEN (1L<<1) /* 0x02 */
+#define aSYSTEM (1L<<2) /* 0x04 */
+#define aVOLID (1L<<3) /* 0x08 */
+#define aDIR (1L<<4) /* 0x10 */
+#define aARCH (1L<<5) /* 0x20 */
/* deny modes */
#define DENY_DOS 0