From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lon Hohberger Date: Fri, 31 Oct 2008 14:31:54 -0400 Subject: [Cluster-devel] Re: [Linux-cluster] Fw: Building error in Cluster 2.03.09 In-Reply-To: <0d9d01c93b49$a5a81fc0$a401a8c0@mainoffice.nodex.ru> References: <0d9d01c93b49$a5a81fc0$a401a8c0@mainoffice.nodex.ru> Message-ID: <1225477914.3194.159.camel@ayanami> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Fri, 2008-10-31 at 14:13 +0300, Pavel Kuzin wrote: > node2:~/newcluster/cluster-2.03.09# uname -a > Linux node2 2.6.27.4 #2 SMP Fri Oct 31 13:42:09 MSK 2008 i686 GNU/Linux > > Distro - Debian Etch > Maybe... > Seems mkostemp is available since glibc 2.7. > I have 2.6. > Can "mkostemp" be changed to another similar function? #define mkostemp(val, flags) mkstemp(val) ? Man page: int mkstemp(char *template); int mkostemp (char *template, int flags); ... mkostemp() is like mkstemp(), with the difference that flags as for open(2) may be specified in flags (e.g., O_APPEND, O_SYNC). Not sure the implications of doing this; I didn't analyze the open flags used. -- Lon