svn commit: r307862 - in head/lang/erlang: . files
Jimmy Olgeni
olgeni at FreeBSD.org
Tue Nov 27 21:34:54 UTC 2012
Author: olgeni
Date: Tue Nov 27 21:34:53 2012
New Revision: 307862
URL: http://svnweb.freebsd.org/changeset/ports/307862
Log:
Fix crash when a table viewer in the observer application attempts
to refresh an ETS table which no longer exists.
Submitted by: Peti Gomori on erlang-patches
Feature safe: yes
Added:
head/lang/erlang/files/patch-lib_runtime__tools_src_observer__backend.erl (contents, props changed)
Modified:
head/lang/erlang/Makefile
Modified: head/lang/erlang/Makefile
==============================================================================
--- head/lang/erlang/Makefile Tue Nov 27 20:09:34 2012 (r307861)
+++ head/lang/erlang/Makefile Tue Nov 27 21:34:53 2012 (r307862)
@@ -7,7 +7,7 @@
PORTNAME= erlang
PORTVERSION= 15.b.02
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= lang parallel java
MASTER_SITES= http://www.erlang.org/download/:erlangorg \
Added: head/lang/erlang/files/patch-lib_runtime__tools_src_observer__backend.erl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lang/erlang/files/patch-lib_runtime__tools_src_observer__backend.erl Tue Nov 27 21:34:53 2012 (r307862)
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- lib/runtime_tools/src/observer_backend.erl.orig
++++ lib/runtime_tools/src/observer_backend.erl
+@@ -83,7 +83,7 @@
+ ets -> ets:info(Table, size);
+ mnesia -> mnesia:table_info(Table, size)
+ end,
+- case Size > 0 of
++ case Size =/= undefined andalso Size > 0 of
+ false ->
+ Parent ! {self(), '$end_of_table'},
+ normal;
More information about the svn-ports-head
mailing list