git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c29a8
)
r21765: Fix the build for HP-UX.
author
James Peach
<jpeach@samba.org>
Thu, 8 Mar 2007 18:45:44 +0000
(18:45 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 17:18:29 +0000
(12:18 -0500)
source/smbd/trans2.c
patch
|
blob
|
history
diff --git
a/source/smbd/trans2.c
b/source/smbd/trans2.c
index 441a798f2773a63e179de703ffda1e94c3a2da42..45eb0067ef69d9481cac0207abf03452a1fb1855 100644
(file)
--- a/
source/smbd/trans2.c
+++ b/
source/smbd/trans2.c
@@
-3038,9
+3038,14
@@
static const struct {unsigned stat_fflag; unsigned smb_fflag;}
#endif
#ifdef UF_HIDDEN
- { UF_HIDDEN, EXT_HIDDEN }
+ { UF_HIDDEN, EXT_HIDDEN }
,
#endif
+ /* Do not remove. We need to guarantee that this array has at least one
+ * entry to build on HP-UX.
+ */
+ { 0, 0 }
+
};
static void map_info2_flags_from_sbuf(const SMB_STRUCT_STAT *psbuf,