Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Aug 27, 2012
  1. @gustehn

    Merge branch 'jkl/erlsrv-graceful-shutdown/OTP-10228' into maint

    gustehn authored
    * jkl/erlsrv-graceful-shutdown/OTP-10228:
      erlsrv: gracefully stop emulator on Windows shutdown
  2. @gustehn
  3. @gustehn

    Merge branch 'tab/fix-sctp-multihoming-IPv6/OTP-10217' into maint

    gustehn authored
    * tab/fix-sctp-multihoming-IPv6/OTP-10217:
      Allow mixed IPv4 and IPv6 addresses to sctp_bindx
      Add checks for in6addr_any and in6addr_loopback
      Fix SCTP multihoming
      inet_drv.c: Set sockaddr lengths in inet_set_[f]address
  4. @bjorng

    Merge branch 'bjorn/otp/fix-make_preload/OTP-10201' into maint

    bjorng authored
    * bjorn/otp/fix-make_preload/OTP-10201:
      make_preload: Don't fail if Perl's default file encoding is UTF-8
  5. @bjorng

    make_preload: Don't fail if Perl's default file encoding is UTF-8

    bjorng authored
    Setting Perl's default encoding for files to UTF-8, for example
    like this:
    
      PERL_UNICODE=DS make
    
    would crash the build with a message similar to:
    
      form size 1413 greater than size 1237 of module at
      utils/make_preload line 175, <FILE> chunk 1.
    
    Tell Perl to interpret the data in BEAM files as binary by
    using the binmode() function. The binmode() function existed
    before Unicode support was added to Perl, which means that
    make_preload should work even in old versions of Perl.
    
    Noticed-by: Aaron Harnly
Commits on Aug 24, 2012
  1. @gustehn
  2. @garazdawi

    Merge branch 'msp/double_middle_endian/OTP-10209' into maint

    garazdawi authored
    * msp/double_middle_endian/OTP-10209:
      Configure now assumed normal doubles
      Revise the autoconf tests for double middle endianness.
      Add test for floating-point output to float_SUITE.
      Unbreak floating point on middle-endian machines.
Commits on Aug 23, 2012
  1. @sverker

    Merge branch 'sverk/printf-string-precision-bug' into maint

    sverker authored
    * sverk/printf-string-precision-bug:
      erts: Fix bug in erts_printf for %s with precision
  2. @sverker

    Merge branch 'sverk/hipelibs-code_server-crash-maint' into maint

    sverker authored
    * sverk/hipelibs-code_server-crash-maint:
      Fix init:restart with hipelibs
      kernel: Disable hipe compilation for hipe_unified_loader
  3. @sverker

    Merge branch 'sverk/ets-test_ms-bug/OTP-10190' into maint

    sverker authored
    * sverk/ets-test_ms-bug/OTP-10190:
      Fix bug in ets:test_ms/2.
Commits on Aug 22, 2012
  1. @sverker

    Fix assembler comments for hipe on ppc

    sverker authored
    Change to preprocessor comments to work on all OS.
Commits on Aug 21, 2012
  1. @sverker

    Fix init:restart with hipelibs

    sverker authored
    This is a workaround for init:restart.
    The root problem is that delete/purge_module does not
    clean up internal hipe bookkeeping (hipe_mfa_info's)
    properly.
    Symptom: Execution of deallocated beam code.
  2. @sverker

    erts: Fix bug in erts_printf for %s with precision

    sverker authored
    Valgrind complains "Conditional jump or move depends on uninitialised value"
    when strlen steps past given string maxlen (precision).
  3. @sverker

    Fix bug in ets:test_ms/2.

    sverker authored
    copy_shallow was called when using '$_'
Commits on Aug 20, 2012
  1. @bufflig

    Merge branch 'pan/unicode_home/OTP-10160' into maint

    bufflig authored
    * pan/unicode_home/OTP-10160:
      Teach release_handler_SUITE about file:native_name_encoding/0
      Add documetation about Unicode in environment
      Make get/putenv and erlexec understand Unicode
  2. @bufflig

    Merge branch 'pan/werl_caret/OTP-10181' into maint

    bufflig authored
    * pan/werl_caret/OTP-10181:
      Teach caret to appear correctly after focus loss
  3. @gustehn

    Merge branch 'slf/slf-relocate-dtrace-N-probes/OTP-10189' into maint

    gustehn authored
    * slf/slf-relocate-dtrace-N-probes/OTP-10189:
      Relocate bodies of DTrace probes to the statically-linked VM.
  4. @gustehn

    Merge branch 'psi/fix-clever-mktime/OTP-10187' into maint

    gustehn authored
    * psi/fix-clever-mktime/OTP-10187:
      Fix use of "clever" mktime
  5. @bufflig

    Merge branch 'pan/heart_and_times/OTP-10111' into maint

    bufflig authored
    * pan/heart_and_times/OTP-10111:
      Make heart use clock_gettime when available
Commits on Aug 17, 2012
  1. @slfritchie

    Relocate bodies of DTrace probes to the statically-linked VM.

    slfritchie authored
    Due to various operating systems (in both the DTrace and SystemTap
    worlds) not fully supporting DTrace probes (or SystemTap-compatibility
    mode probes) in shared libraries, we relocate those probes to the
    statically-linked virtual machine.  This could be seen as pollution
    of the pristine VM by a (yet) experimental feature.  However:
    
    1. This code can be eliminated completely by the C preprocessor.
    2. Leaving the probes in the dyntrace NIF shared library simply
       does not work correctly on too many platforms.
    
    *Many* thanks to Macneil Shonle at Basho for assisting when my
    RSI-injured fingers gave out.
    
    Tested on:
    
    * CentOS 5, SystemTap 1.3
    * Solaris 10 (note)
    * Solaris 11
    * OpenIndiana 151
    * SmartOS 20120809T221258Z
    * FreeBSD 9.0-RELEASE (note)
    
    I had hoped to be able to test CentOS 6 + SystemTap 1.7, but the
    details of dealing with all dependencies for a 2.6.32-279.5.1.el6.x86_64
    kernel are too time consuming right now.
    
    (note: Solaris 10 and FreeBSD 9.0-RELEASE can take a long time to compile)
Commits on Aug 15, 2012
  1. @tomas-abrahamsson

    Allow mixed IPv4 and IPv6 addresses to sctp_bindx

    tomas-abrahamsson authored
    Also allow mixed address families to bind, since the first address on
    a multihomed sctp socket must be bound with bind, while the rest are
    to be bound using sctp_bindx.
    
    At least Linux supports adding address of mixing families.
    
    Make inet_set_faddress function available also when HAVE_SCTP is not
    defined, since we use it to find an address for bind to be able to mix
    ipv4 and ipv6 addresses.
  2. @tomas-abrahamsson

    Add checks for in6addr_any and in6addr_loopback

    tomas-abrahamsson authored
    These variables are normally declared by <netinet/in.h>,
    but for instance not on Windows 7, SDK 7.1.
    
    Work around that by using IN6ADDR_ANY_INIT and IN6ADDR_LOOPBACK_INIT
    if present, fallback to using :: and ::1.
  3. @tomas-abrahamsson

    Fix SCTP multihoming

    tomas-abrahamsson authored
    Setting several ip addresses for an SCTP socket worked only for IPv4
    on Linux.  For IPv6 and for other for instance Solaris and FreeBSD, it
    failed with badarg for both IPv4 and IPv6.
    
    For the first address specified to gen_sctp:open, bind is now called,
    while for any following addresses, sctp_bindx is called, repeatedly,
    with one address at a time.  Previously, sctp_bindx was called for all
    addresses in one go, with the addresses in reverse order, and bind was
    not called at all if more than one address was specified.  Both
    Solaris and FreeBSD requires bind to have been called before calling
    sctp_bindx, and FreeBSD additionally allows at most one address at a
    time in the call to sctp_bindx.
    
    For some versions of Linux, for instance SuSE 10, the port can be 0
    only for the call to bind but not for subsequent calls to sctp_bindx,
    so replace with the port number assigned by the operating system.
  4. @sverker

    Merge branch 'sverk/ets-compressed-binary-bug/OTP-10182' into maint

    sverker authored
    * sverk/ets-compressed-binary-bug/OTP-10182:
      Fix corrupted binaries in compressed ETS tables
      Make ETS compile with #define DEBUG_CLONE
Commits on Aug 14, 2012
  1. @bufflig

    Teach caret to appear correctly after focus loss

    bufflig authored
    Incorrect window was used to calculate x position.
  2. @bufflig
  3. @bufflig

    Make get/putenv and erlexec understand Unicode

    bufflig authored
    Putenv and getenv needs to convert to the proper environment
    strings in Unicode depending on platform and user settings for filename
    encoding. Also erlexec needs to pass environment strings in an appropriate
    way for kernel to pick up. All environment strings on the command
    line, as well as home directory, is now passed in UTF8 on windows
    and in whatever encoding you have on Unix, kernel tries to convert all
    parameters and environments from UTF8 before making strings.
  4. @sverker
  5. @sverker
Commits on Aug 13, 2012
  1. @gustehn

    Merge branch 'mh/doc-now-vs-timestamp/OTP-10180' into maint

    gustehn authored
    * mh/doc-now-vs-timestamp/OTP-10180:
      Doc fix: link from erlang:now/0 to os:timestamp/0
Commits on Aug 7, 2012
  1. @sirihansen

    Update preloaded

    sirihansen authored
    erl_prim_loader.beam
  2. @sirihansen

    Fix flattening of paths in erl_prim_loader

    sirihansen authored
    When correcting OTP-10071, a new error was introduced in
    erl_prim_loader. In order to improve ability to detect if a file was
    inside the primary archive, all paths were flattened - i.e. "."  and
    ".." were removed. This implementation had some faults, and it did not
    take symlinks into account. This has been corrected.
Commits on Aug 1, 2012
  1. @PiotrSikora @proxyles

    Fix support for leap seconds-aware timezones

    PiotrSikora authored proxyles committed
    erlang:universaltime_to_localtime is leap seconds-aware (since 2008),
    however erlang:localtime_to_universaltime is not, which gives
    surprising results on systems configured with leap seconds-aware
    timezones:
    
    1> erlang:universaltime_to_localtime({{2012,1,1},{0,0,0}}).
    {{2012,1,1},{0,0,0}}
    2> erlang:localtime_to_universaltime({{2012,1,1},{0,0,0}}).
    {{2012,1,1},{0,0,24}}
    
    and completely breaks calendar:local_time_to_universal_time_dst:
    
    3> calendar:local_time_to_universal_time_dst({{2011,1,1},{0,0,0}}).
    []
    
    Signed-off-by: Piotr Sikora <piotr.sikora@frickle.com>
  2. @PiotrSikora @proxyles

    Fix use of "clever" mktime

    PiotrSikora authored proxyles committed
    Commit 1eef765 introduced regression (conditional _always_ evaluates
    to true) in which erlang:localtime_to_universaltime/2 stopped working
    on systems configured with timezone without DST (i.e. UTC) on *BSD
    platforms:
    
    1> erlang:localtime_to_universaltime({{2012,1,1},{0,0,0}}, true).
    ** exception error: bad argument
    
    Signed-off-by: Piotr Sikora <piotr.sikora@frickle.com>
Commits on Jul 31, 2012
  1. @rickard-green

    Merge branch 'rickard/cerl-emacs-gdb' into maint

    rickard-green authored
    * rickard/cerl-emacs-gdb:
      Use annotate level 1 for 'gdb' with 'emacs' in 'cerl'
Something went wrong with that request. Please try again.