Author: jpeach
Date: 2007-03-08 18:45:44 +0000 (Thu, 08 Mar 2007)
New Revision: 21765

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21765

Log:
Fix the build for HP-UX.

Modified:
   branches/SAMBA_3_0/source/smbd/trans2.c


Changeset:
Modified: branches/SAMBA_3_0/source/smbd/trans2.c
===================================================================
--- branches/SAMBA_3_0/source/smbd/trans2.c     2007-03-08 18:43:39 UTC (rev 
21764)
+++ branches/SAMBA_3_0/source/smbd/trans2.c     2007-03-08 18:45:44 UTC (rev 
21765)
@@ -3038,9 +3038,14 @@
 #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,

Reply via email to