Hi all,

NamedFifo makes a system call to 'mknod' that isn't compatible with
the version of mknod installed on my mac.

I think, though, that it could be replaced easily enough with a call
to 'mkfifo' which would be compatible with both my mac and with the
Linux servers people typically develop for.

This change to NamedFifo seems to be all that's needed :

-    Shell.execCommand("mknod", "--mode=0" + modeStr, filename, "p");
+    Shell.execCommand("mkfifo", "-m", "0" + modeStr, filename );


I haven't done any extensive testing of this, nor have I dug much into
details of what options to mknod / mkfifo are standard/common.

I just wanted the test suite to pass on my macbook. ;)


Any comments here?


...joe

Reply via email to