![](https://secure.gravatar.com/avatar/435ac0d0ecd67394ae88a2020214d815.jpg?s=120&d=mm&r=g)
21 May
2008
21 May
'08
8:26 a.m.
Hi,
You're going to love that: on Solaris compilation works fine, but execution prints "uname() failed". And indeed, the section 2 man page for uname explains:
I am aware of that because there is some solaris users encountered the same failure here. It seems that we should use umask() function first. I had nudged Taco about that problem and provided a possible solution just ago. Yue Wang