[Linux-cluster] Fw: Building error in Cluster 2.03.09
Lon Hohberger
lhh at redhat.com
Fri Oct 31 18:31:54 UTC 2008
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
More information about the Linux-cluster
mailing list