aboutsummaryrefslogtreecommitdiffstats
path: root/lang/erlang/files
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2005-02-07 02:05:39 +0800
committerolgeni <olgeni@FreeBSD.org>2005-02-07 02:05:39 +0800
commit21f968549e648b2961e478a1899801dbc67f9d8c (patch)
treeac5e026ee4d6410490dfffbc63af99f946e8d4c3 /lang/erlang/files
parentbb05a99b012b154b9e106dd69b2c41fa57a398e3 (diff)
downloadfreebsd-ports-gnome-21f968549e648b2961e478a1899801dbc67f9d8c.tar.gz
freebsd-ports-gnome-21f968549e648b2961e478a1899801dbc67f9d8c.tar.zst
freebsd-ports-gnome-21f968549e648b2961e478a1899801dbc67f9d8c.zip
Fix problem in run_erl pipe creation.
Submitted by: Peter Lund <Peter.Lund (at) lundata.se>
Diffstat (limited to 'lang/erlang/files')
-rw-r--r--lang/erlang/files/patch-erts_etc_unix_run__erl.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-erts_etc_unix_run__erl.c b/lang/erlang/files/patch-erts_etc_unix_run__erl.c
new file mode 100644
index 000000000000..c43d701e001e
--- /dev/null
+++ b/lang/erlang/files/patch-erts_etc_unix_run__erl.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- erts/etc/unix/run_erl.c.orig
++++ erts/etc/unix/run_erl.c
+@@ -738,7 +738,7 @@
+ */
+ static int create_fifo(char *name, int perm)
+ {
+- if ((mknod(name, S_IFIFO | perm, 0) < 0) && (errno != EEXIST))
++ if ((mkfifo(name, perm) < 0) && (errno != EEXIST))
+ return -1;
+ return 0;
+ }