|
|
| Author |
Message |
|
| Guest |
Posted: Mon Jun 28, 2010 11:24 am |
|
|
|
Guest
|
Hi,
The NetBSD pkgsrc has this patch (pkgsrc/lang/erlang/patches/patch-ah)
--- lib/compiler/src/v3_codegen.erl.orig 2008-02-05
08:37:35.000000000 -0
500
+++ lib/compiler/src/v3_codegen.erl
@@ -1481,6 +1481,8 @@ cg_binary_size_1([], Bits, Acc) ->
Sizes = filter(fun({_,{integer,0}}) -> false;
(_) -> true end, Sizes0),
case Sizes of
+ [] ->
+ {bs_init2,[{integer,0}]};
[{1,_}|_] ->
{bs_init_bits,cg_binary_bytes_to_bits(Sizes, [])};
[{8,_}|_] ->
but I don't know it that makes any sense or not. Could someone from the
compiler team look at this and say if I should nuke this or submit a
proper patch request so it can be included in the pu branch...
Martti
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Jun 28, 2010 3:09 pm |
|
|
|
Guest
|
Hi,
The NetBSD pkgsrc has this patch (pkgsrc/lang/erlang/patches/patch-ah)
--- lib/compiler/src/v3_codegen.erl.orig 2008-02-05
08:37:35.000000000 -0
500
+++ lib/compiler/src/v3_codegen.erl
@@ -1481,6 +1481,8 @@ cg_binary_size_1([], Bits, Acc) ->
Sizes = filter(fun({_,{integer,0}}) -> false;
(_) -> true end, Sizes0),
case Sizes of
+ [] ->
+ {bs_init2,[{integer,0}]};
[{1,_}|_] ->
{bs_init_bits,cg_binary_bytes_to_bits(Sizes, [])};
[{8,_}|_] ->
but I don't know it that makes any sense or not. Could someone from the
compiler team look at this and say if I should nuke this or submit a
proper patch request so it can be included in the pu branch...
Martti
________________________________________________________________
erlang-patches (at) erlang.org mailing list.
See http://www.erlang.org/faq.html
To unsubscribe; mailto:erlang-patches-unsubscribe@erlang.org
Post received from mailinglist |
|
|
| Back to top |
|
| wailian |
Posted: Tue Mar 20, 2012 2:36 am |
|
|
|
Guest
|
| The shoes absolutely are an avant-garde day time day admiration and do amazing problems even although access just about any apparel! grownup men and ladies all abundant added compared to planet admire ugg classic short or UGG Classic Tall Boots 5245 Sand to the allowances offered as able-bodied as the time which they bottle you on affairs for that some affair more, through the 1st place, you accept to accept that accepting a accountable of absoluteness they will accept to clothing on some added agents things. |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|