diff options
author | olgeni <olgeni@FreeBSD.org> | 2005-02-06 18:05:39 +0000 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2005-02-06 18:05:39 +0000 |
commit | 21f968549e648b2961e478a1899801dbc67f9d8c (patch) | |
tree | ac5e026ee4d6410490dfffbc63af99f946e8d4c3 /lang/erlang14 | |
parent | bb05a99b012b154b9e106dd69b2c41fa57a398e3 (diff) | |
download | FreeBSD-ports-21f968549e648b2961e478a1899801dbc67f9d8c.zip FreeBSD-ports-21f968549e648b2961e478a1899801dbc67f9d8c.tar.gz |
Fix problem in run_erl pipe creation.
Submitted by: Peter Lund <Peter.Lund (at) lundata.se>
Diffstat (limited to 'lang/erlang14')
-rw-r--r-- | lang/erlang14/Makefile | 2 | ||||
-rw-r--r-- | lang/erlang14/files/patch-erts_etc_unix_run__erl.c | 14 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile index 66fffe6..80223c7 100644 --- a/lang/erlang14/Makefile +++ b/lang/erlang14/Makefile @@ -7,7 +7,7 @@ PORTNAME= erlang PORTVERSION= r10b2 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 1 CATEGORIES= lang parallel MASTER_SITES= http://www.erlang.org/download/ \ diff --git a/lang/erlang14/files/patch-erts_etc_unix_run__erl.c b/lang/erlang14/files/patch-erts_etc_unix_run__erl.c new file mode 100644 index 0000000..c43d701 --- /dev/null +++ b/lang/erlang14/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; + } |