Patch R9B-0

Per Bergqvist per@REDACTED
Wed Oct 16 23:55:18 CEST 2002


Hi,                                                                   
                                                                      
My patch for erl_marshal.c was not included in the R9B-0 release so   
here it is again.                                                     
                                                                      
NOTE: if you plan to use erl_compare (i.e. erl_interface) at all you  
should use this patch.                                                
It fixes problems when comparing lists or tuples of numeric values.   
Without the patch only the first numeric value will be taken          
into account in the comparison.                                       
i.e. {1,2,3} and {1,99999,999999999} will return equal.               
A very good/bad example is when you try to unique sorting now()       
timestamp values in c ... most likely you will end up with very few   
values in the result set :-(                                          
                                                                      
/Per                                                                  
                                                                      
=========================================================             
Per Bergqvist                                                         
Synapse Systems AB                                                    
Phone: +46 709 686 685                                                
Email: per@REDACTED                                                   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: R9B-0.patch01
Type: application/octet-stream
Size: 1680 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20021016/876d308e/attachment.obj>


More information about the erlang-questions mailing list