Author: Laurent Bigonville <[email protected]>
Description:
 Fix FTBFS on some arch where flock struct need padding
 (Closes: #543572)
--- a/src/tcs/ps/tcsps.c
+++ b/src/tcs/ps/tcsps.c
@@ -34,19 +34,8 @@
 int system_ps_fd = -1;
 MUTEX_DECLARE(disk_cache_lock);
 
-static struct flock fl = {
-       0,      /* l_type */
-       0,      /* l_whence */
-       0,      /* l_start */
-       0,      /* l_len */
-#ifdef SOLARIS
-       0,      /* l_sysid */
-       0,      /* l_pid */
-       {0,0,0,0}
-#else
-       0       /* l_pid */
-#endif
-       };
+static struct flock fl;
+
 int
 get_file()
 {

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
TrouSerS-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/trousers-tech

Reply via email to