<br /><br /><span>On 13.11.17 15:16, <b class="name">Bob Friesenhahn </b> <bfriesen@simple.dallas.tx.us> wrote:</span><blockquote cite="mid:alpine.GSO.2.20.1711130814060.22571@freddy.simplesystems.org" class="iwcQuote" style="border-left: 1px solid #00F; padding-left: 13px; margin-left: 0;" type="cite"><div class="mimetype-text-plain">On Mon, 13 Nov 2017, Carsten Grzemba wrote:<br />><br />>This compiles on Openindiana without an error, but if it runs throws the error: Invalid argument (os error 22)<br />><br />>If I copy this on Openindiana compiled code to Smartos it runs correctly.<br /><br />Are you using the same filesystem on both systems?  For example, zfs vs tmp on swap could make a difference.  Or something to do with filesystem paths.</div></blockquote><span>Thats the clue: <br />it fails on NFS, but works on ZFS and TMPFS<br /></span>