Some bug-fixes for SharedData.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1791 ba6dc0ae-232f-0410-883f-9ebac64fc565
Bugfix for Util::{lock,unlock}File().

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1792 ba6dc0ae-232f-0410-883f-9ebac64fc565
Cosmetic changes to pidvirt and VirtualIdTable.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1793 ba6dc0ae-232f-0410-883f-9ebac64fc565
Move Connection plugin to plugin/conn.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1794 ba6dc0ae-232f-0410-883f-9ebac64fc565
Compiler warnings about unused variables removed.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1795 ba6dc0ae-232f-0410-883f-9ebac64fc565
Compiler warnings/errors fixed for icc/icpc.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1796 ba6dc0ae-232f-0410-883f-9ebac64fc565
Various fixes required for clang.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1797 ba6dc0ae-232f-0410-883f-9ebac64fc565
Refine the patchPOSIXUserMaskWork.

(Patch supplied by Kito Cheng)

Call sigismember only once.  This is to prepare for Android port since
the prototype of sigismember in Android is:
  int sigismember(sigset_t *set, int signo);
not
  int sigismember(const sigset_t *set, int signo);

So we need a ugly const_cast for Android port.  Let's call sigismember
only once to prevent the lots of ugly
  \#ifdef/#else/#endif code...

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1798 ba6dc0ae-232f-0410-883f-9ebac64fc565
Change the return type of *readlink to READLINK_RET_TYPE

(Patch supplied by Kito Cheng)
The return type of  readlink and _real_readlink in
syscallwrappers.h/nosyscallsreal.c/syscallsreal.c has hard code return
type, ssize_t.  It should be READLINK_RET_TYPE.

git-svn-id: https://dmtcp.svn.sourceforge.net/svnroot/dmtcp/trunk@1799 ba6dc0ae-232f-0410-883f-9ebac64fc565