summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/smbd/trans2.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index 441a798f27..45eb0067ef 100644
--- a/source3/smbd/trans2.c
+++ b/source3/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,