summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2007-03-08 18:45:44 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:29 -0500
commit872cd741caec2831578a3b0ef7741c814e05f50c (patch)
treee57764103d3cd5c058621c50f3647dac18958fad
parent7b85ad755ddd330480ec233e862e92262d98f0fb (diff)
downloadsamba-872cd741caec2831578a3b0ef7741c814e05f50c.tar.gz
samba-872cd741caec2831578a3b0ef7741c814e05f50c.tar.bz2
samba-872cd741caec2831578a3b0ef7741c814e05f50c.zip
r21765: Fix the build for HP-UX.
(This used to be commit 04cb34ff9dbdc02f21ed8d938fb754478c2b89c1)
-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,