aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2011-04-06heart: remove garbage appended to heart commandMichael Santos
heart:get_cmd/0 is documented to return an empty string if the command is cleared. get_cmd/0 returns 2 extra bytes: 1 byte for the trailing null, 1 byte from the op (the op is an unsigned char and 2 bytes are allocated for it in the returned buffer). 1> heart:get_cmd(). {ok,[0,0]} 2> heart:set_cmd("echo hello"). ok 3> heart:get_cmd(). {ok,[101,99,104,111,32,104,101,108,108,111,0,0]} 4> heart:clear_cmd(). ok 5> heart:get_cmd(). {ok,[0,99]}
2011-04-06Merge branch 'ia/stdlib/supervisor-saves-temporary-child-specs/OTP-9167' ↵Ingela Anderton Andin
into dev * ia/stdlib/supervisor-saves-temporary-child-specs/OTP-9167: Completed bug fix "temporary child specs should not be kept when child terminates" and improved test suite Fix issue with temporary children introduced by OTP-9064
2011-04-05Merge branch 'ks/hipe-ppc64' into devHenrik Nord
* ks/hipe-ppc64: Enable HiPE by default when compiling for PPC64 Translate RTL to PPC code on PPC64 too Changes in ppc files for PPC64 Additions for the PPC64 backend Changes for the PPC64 backend Added loader for ppc64 New files for the 64-bit backends Cleanup tags OTP-9198
2011-04-05Merge branch 'pan/run_erl_race_creating_fifo/OTP-9164' into devPatrik Nyblom
* pan/run_erl_race_creating_fifo/OTP-9164: Fix race in pipe creation. Two simultaneous node starts caused failure
2011-04-05Merge branch 'egil/estone-exported-fix' into devBjörn-Egil Dahlberg
* egil/estone-exported-fix: Fix unexported function in estone testcase
2011-04-05Merge branch 'cg/fix-pointer-dereference' into devHenrik Nord
* cg/fix-pointer-dereference: Fix some wrong pointer dereferences OTP-9194
2011-04-04Merge branch 'ta/driver_entry-typos-re' into devHenrik Nord
* ta/driver_entry-typos-re: Remove gratuitous paren in driver_entry OTP-9192
2011-04-04Fix unexported function in estone testcaseBjörn-Egil Dahlberg
2011-04-04Merge branch 'gl/erts-doterlang-docs' into devHenrik Nord
* gl/erts-doterlang-docs: Add back documentation on .erlang processing OTP-9189
2011-04-04Merge branch 'mm/xmerl_doc_fixes' into devHenrik Nord
* mm/xmerl_doc_fixes: Fix minor typos and improve punctuation in the xmerl_xpath @doc comment OTP-9187
2011-04-04Merge branch 'bd/doc_fixes2' into devHenrik Nord
* bd/doc_fixes2: Fix mistake in blowfish_ebc_en/decrypt docs Compile fixes for earlier documentation fixes Various small documentation fixes OTP-9172
2011-04-04Completed bug fix "temporary child specs should not be kept when childIngela Anderton Andin
terminates" and improved test suite The bug fix supplied by Filipe David Manana <[email protected]> did not cover all possible ways that a process may be terminated as for instance with supervisor:terminate_child. Also there was a bug in the base case of the patch returning a list of a list instead of only the list. Added a timeout for the test cases, eliminated unnecessary sleeps, improved code.
2011-04-04Fix issue with temporary children introduced by OTP-9064Filipe David Manana
The temporary child specs are never removed from the supervisor's state, and have they're MFA component set to {M, F, undefined} instead of the MFA passed in the supervisor:start_child/2 call. Subsequent calls to supervisor:restart_child/2 may crash. Stack trace example: {badarg,[{erlang,apply,[gen_server,start_link,undefined]}, {supervisor,do_start_child,2},{supervisor,handle_call,3}, {gen_server,handle_msg,5}, {proc_lib,init_p_do_apply,3}]}
2011-04-04crashdump_helper: Compile for r12 instead of r11Björn Gustavsson
The r11 option is no longer supported by the compiler (silently ignored).
2011-04-02Fix minor typos and improve punctuation in the xmerl_xpath @doc commentMarcus Marinelli
2011-04-01Merge branch 'sverker/config-hipe-halfword-prevent' into devSverker Eriksson
* sverker/config-hipe-halfword-prevent: Prevent configuration of hipe and halfword emulator together
2011-04-01Merge branch 'sverker/hipe-binmatch-heap-corrupt' into devSverker Eriksson
* sverker/hipe-binmatch-heap-corrupt: Fix hipe bug in convert_matchstate, bignum-padding one word too long OTP-9182
2011-04-01Merge branch 'sb/make-files-like-erlc' into devHenrik Nord
* sb/make-files-like-erlc: Change make:files to behave more like erlc OTP-9179
2011-04-01Fix mistake in blowfish_ebc_en/decrypt docsBernard Duggan
2011-04-01Compile fixes for earlier documentation fixesBernard Duggan
Fixed a couple of compilation errors. Also backed out a tiny change that had already been added by Tuncer Ayaz in his binary-part-typo branch.
2011-04-01Various small documentation fixesBernard Duggan
This change fixes a bunch of small (and a few less small) typos and other errors in various modules that I've spotted throughout my travels.
2011-04-01Merge branch 'hb/syntax_tools/bug_erl_recomment/OTP-9180' into devHans Bolinder
* hb/syntax_tools/bug_erl_recomment/OTP-9180: Fix a bug in erl_recomment
2011-04-01Fix a bug in erl_recommentHans Bolinder
In a file containing declarations and comments without any empty lines between them, the recomment_forms() function would associate a multi-line comment with the declaration above it rather than the one following it. (Thanks to Richard Carlsson.) This bug has been reported several times. It was corrected by Kostis Sagonas, but the fix didn't make into the R14B02 release.
2011-03-31Merge branch 'siri/sasl/no-default-module-test/OTP-9146' into devSiri Hansen
* siri/sasl/no-default-module-test/OTP-9146: Change default behaviour to not check src code when creating release
2011-03-31Merge branch 'mc/disjoint-plt-msg' into devHenrik Nord
* mc/disjoint-plt-msg: Fix the name of an error function OTP-9175
2011-03-31Merge branch 'ta/typer-add-pa-pz' into devHenrik Nord
* ta/typer-add-pa-pz: Add options -pa Dir and -pz Dir to TypEr OTP-9173
2011-03-30Remove gratuitous paren in driver_entryTuncer Ayaz
2011-03-30Merge branch 'hw/call-chmod-without-f' into devHenrik Nord
* hw/call-chmod-without-f: Call chmod without the "-f" flag Conflicts: erts/emulator/test/Makefile lib/asn1/test/Makefile lib/crypto/test/Makefile lib/debugger/test/Makefile lib/docbuilder/test/Makefile lib/edoc/test/Makefile lib/erl_interface/test/Makefile lib/inviso/test/Makefile lib/parsetools/test/Makefile lib/percept/test/Makefile lib/ssl/test/Makefile lib/syntax_tools/test/Makefile lib/test_server/test/Makefile lib/tools/test/Makefile OTP-9170
2011-03-30Change default behaviour to not check src code when creating releaseSiri Hansen
Add new option <c>src_tests</c> to systools:make_script and systools:make_tar. The old option <c>no_module_tests</c> is now ignored as this is the default behaviour.
2011-03-30Update primary bootstrapBjörn Gustavsson
2011-03-30Merge branch 'bjorn/erts/fix-duplicate-stack-entry/OTP-9163' into devBjörn Gustavsson
* bjorn/erts/fix-duplicate-stack-entry/OTP-9163: Fix duplicate entries in stacktraces after calling certain BIFs BEAM loader: Simplify handling of the func_info/3 instruction
2011-03-30Merge branch 'bjorn/compiler/beam_dict-cleanups' into devBjörn Gustavsson
* bjorn/compiler/beam_dict-cleanups: beam_dict: Eliminate the redundant next_atom record element beam_dict: Fix typo in comment
2011-03-30Merge branch 'rc/rpc_pmap-typo' into devHenrik Nord
* rc/rpc_pmap-typo: Fix typo in doc of rpc:pmap/3 OTP-9168
2011-03-29Fix the name of an error functionMaria Christakis
2011-03-29Fix race in pipe creation. Two simultaneous node starts caused failurePatrik Nyblom
2011-03-29Merge branch 'tv/edoc-loop-fix' into devHenrik Nord
* tv/edoc-loop-fix: Fix infinite loop for malformed edoc input OTP-9165
2011-03-29beam_dict: Eliminate the redundant next_atom record elementBjörn Gustavsson
It is not needed because it can be trivially calculated using gb_trees:size/1.
2011-03-29beam_dict: Fix typo in commentBjörn Gustavsson
2011-03-29Fix duplicate entries in stacktraces after calling certain BIFsBjörn Gustavsson
Calling a BIF thaf is called as a function (such as process_info/{1,2}) would leave a non-zero value in c_p->cp, which would lead to duplicate entries in the stacktrace.
2011-03-29BEAM loader: Simplify handling of the func_info/3 instructionBjörn Gustavsson
For some historical reason, the transformation of a func_info/3 instruction to the internal i_func_info/4 instruction is more involved than it needs to be. Remove the gen_func_info() function in the loader and use a simple transformation.
2011-03-29Merge branch 'bjorn/compiler/eliminate-warning/OTP-9152' into devBjörn Gustavsson
* bjorn/compiler/eliminate-warning/OTP-9152: sys_core_fold: Eliminate incorrect warning sys_core_fold: Be careful to preserve annotations while optimizing
2011-03-28Merge branch 'siri/stdlib/log_mf_h-write-index-atomically/OTP-9148' into devSiri Hansen
* siri/stdlib/log_mf_h-write-index-atomically/OTP-9148: Update index file atomically
2011-03-25Merge branch 'pan/valgrind_xml_log' into devPatrik Nyblom
* pan/valgrind_xml_log: Make xml valgrind messages end up in xml log OTP-9079
2011-03-25Merge branch 'pan/tcp_send_timeout/OTP-9145' into devPatrik Nyblom
* pan/tcp_send_timeout/OTP-9145: Add testcase Teach tcp_recv not to cancel send timer
2011-03-25Merge branch 'pan/system_info_procs_crash/OTP-9140' into devPatrik Nyblom
* pan/system_info_procs_crash/OTP-9140: Make erts_printf %T not recurse on C stack Corrected fd_driver and cleaned up some really old code in win32/sys.[ch]
2011-03-25Merge branch 'pan/win_init_restart_oldshell/OTP-9139' into devPatrik Nyblom
* pan/win_init_restart_oldshell/OTP-9139: Add testcase Teach win32/sys.c (fd-driver) not to leak readers causing init:restart to fail Make Erlang build with Latest MS SDK, 7.1 (and VStudio 2010)
2011-03-25Merge branch 'pan/tcp_send_timeout/OTP-9145' of super:pan_otp into ↵Patrik Nyblom
pan/valgrind_xml_log
2011-03-25Merge branch 'ta/doc-fixes' into devHenrik Nord
* ta/doc-fixes: Fix two typos in erlsrv log messages Fix typo in epmd help Fix typo in binary:part/2 example Fix typos in efficiency guide erts: Fix doc typos, duplication and readability Fix inet:port/1 doc to match implementation/spec Fix typos in zip manpage
2011-03-25Fix two typos in erlsrv log messagesTuncer Ayaz
2011-03-25Fix typo in epmd helpTuncer Ayaz