aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-03-26Merge branch 'raimo/type-posix-0-overhaul/ERL_550/OTP-14019'Raimo Niskanen
* raimo/type-posix-0-overhaul/ERL_550/OTP-14019: Update types for posix error codes
2018-03-26Update types for posix error codesRaimo Niskanen
I have read the man pages for most socket and file operations on recent Linux, FreeBSD, OpenBSD and Solaris 10 and noted the possible error codes. Which error codes that are possible for file operations have been updated in file:posix/0. Error codes for socket operations in inet:posix/0. The latter refers to the former so it is a superset, assuming that e.g sendfile and AF_UNIX socket operations could cause socket operations to return any file error code. That is not entirely true, but could be, especially in the future. Added to file:posix/0 are: ebadmsg edeadlk edeadlock eftype emultihop enobufs enolck enolink enosr enostr enosys eopnotsupp eoverflow erange etxtbsy Added to inet:posix/0 are all but: exbadport exbadseq file:posix() These are still possible according to erl_posix_str.c, but are not in file:posix/0 nor in inet:posix/0, and many of them are not file nor inet related, but some might be: e2big eadv ealign ebade ebadfd ebadr ebadrpc ebadrqc ebadslt ebfont echild echrng ecomm edirty edom edotdot eduppkg eidrm einit eisnam elbin el2hlt el2nsync el3hlt el3rst elibacc elibbad elibexec elibmax elibscn elnrng enavail enet enoano enocsi enodata enoexec enonet enosym enotempty enotnam enotuniq eproclim eprocunavail eprogmismatch eprogunavail erefused eremchg eremdev eremote eremoteio eremoterelease erpcmismatch erremote eshutdown esrmnt esuccesss etime etoomanyrefs euclean eunatch eusers eversion exfull sysnotready vernotsupported ediscon enomore ecancelled einvalidproctable einvalidprovider eproviderfailedinit syscallfailure service_not_found type_not_found e_no_more e_cancelled unknown
2018-03-26Merge pull request #1703 from juhlig/masterHans Bolinder
[ERL-557] add is_empty/1 to sets and ordsets OTP-14996, ERL-557, PR-1703
2018-03-23tests for is_empty/1j.uhlig
2018-03-23Merge branch 'rickard/signals/OTP-14589'Rickard Green
* rickard/signals/OTP-14589: Fix VM probes compilation Fix lock counting Fix signal order for is_process_alive Fix signal handling priority elevation
2018-03-23Fix VM probes compilationJohn Högberg
2018-03-23Merge pull request #1756 from zimmer7/xmerl_xsd_doc_typoLars Thorsén
Fix a simple typo in xmerl documentation
2018-03-23Merge branch 'hans/ssh/exec_fun_mfa/OTP-14851'Hans Nilsson
* hans/ssh/exec_fun_mfa/OTP-14851: ssh: Document the exec option ssh: Simplification of using fun:s as exec subsystems
2018-03-23ssh: Document the exec optionHans Nilsson
2018-03-23Merge branch 'hans/ssh/doc_fix_shell_return/OTP-14880'Hans Nilsson
* hans/ssh/doc_fix_shell_return/OTP-14880: ssh: Doc fix
2018-03-23ssh: Doc fixHans Nilsson
2018-03-23Merge branch 'john/erts/async-thread-defaults/OTP-14928'John Högberg
* john/erts/async-thread-defaults/OTP-14928: Change default async thread count to 1
2018-03-23Merge branch 'john/erts/nif-map-from-array/OTP-14954'John Högberg
* john/erts/nif-map-from-array/OTP-14954: Add enif_make_map_from_arrays
2018-03-23Merge branch 'john/erts/list-installed-nifs/OTP-14965'John Högberg
* john/erts/list-installed-nifs/OTP-14965: Add an option to ?MODULE:module_info/1 for listing NIFs Fix a misleading comment
2018-03-23Add enif_make_map_from_arraysJohn Högberg
2018-03-22Fix lock countingRickard Green
2018-03-22Merge branch 'maint'Sverker Eriksson
2018-03-22Merge branch 'maint-19' into maintSverker Eriksson
Dummy merge (almost). os:cmd/2 already in OTP-20.
2018-03-22Merge branch 'sverker/enif-name-funcs/OTP-14994'Sverker Eriksson
2018-03-22crypto: Improve load error messageSverker Eriksson
to only suggest missing OpenSSL if dlopen fails (load_failed).
2018-03-22erts: Improve NIF load incompatibility errorsSverker Eriksson
2018-03-22erts: Remove const from ErlNifResourceDown docSverker Eriksson
to conform with erl_nif.h
2018-03-22erts: Add statement about errno to enif_*printf docsSverker Eriksson
2018-03-22erts: Add enif_vfprintf and enif_vsnprintfSverker Eriksson
2018-03-22erts: Add enif_*_name functionsSverker Eriksson
2018-03-22Fix signal order for is_process_aliveRickard Green
2018-03-22Fix signal handling priority elevationRickard Green
2018-03-22Merge branch 'sverker/test-chmod-restore'Sverker Eriksson
2018-03-22Merge branch 'bjorn/erts/eliminate-get_stacktrace'Björn Gustavsson
* bjorn/erts/eliminate-get_stacktrace: Eliminate use of erlang:get_stacktrace/0 in preloaded modules
2018-03-22Merge pull request #1755 from bjorng/bjorn/compiler/lc/ERL-572/OTP-14992Björn Gustavsson
Point out the correct line in an exception for a bad generator
2018-03-22Update OTP_VERSIONRaimo Niskanen
2018-03-22ssh: Simplification of using fun:s as exec subsystemsHans Nilsson
2018-03-22Merge branch 'maint'Raimo Niskanen
* maint: Updated OTP version Update release notes Update version numbers ssh: Fix bad spec for double_algs() in ssh.hrl Test event insert from init Fix init to allow all actions Conflicts: OTP_VERSION
2018-03-22Merge remote-tracking branch 'origin/hasse/stdlib/fix_benchmark'Hans Bolinder
* origin/hasse/stdlib/fix_benchmark: stdlib: Make benchmarks more robust
2018-03-21Merge branch 'sverker/inline-sys_memcpy' againSverker Eriksson
* sverker/inline-sys_memcpy: erts: Fix some zero size sys_memcpy
2018-03-21kernel: Restore x-permission of test directoriesSverker Eriksson
just to make it easier to do "rm -rf"
2018-03-21Updated OTP versionOTP-20.3.2Erlang/OTP
2018-03-21Update release notesErlang/OTP
2018-03-21Update version numbersErlang/OTP
2018-03-21Merge branch 'hans/ssh/spec_double_algs/OTP-14990' into maint-20Erlang/OTP
* hans/ssh/spec_double_algs/OTP-14990: ssh: Fix bad spec for double_algs() in ssh.hrl
2018-03-21Merge branch 'raimo/stdlib/fix-gen_statem-init-actions-check/OTP-13995' into ↵Erlang/OTP
maint-20 * raimo/stdlib/fix-gen_statem-init-actions-check/OTP-13995: Test event insert from init Fix init to allow all actions
2018-03-21Updated OTP versionOTP-19.3.6.7Erlang/OTP
2018-03-21Prepare releaseErlang/OTP
2018-03-21Merge branch 'sverker/maint-19/os-cmd-2/OTP-14823' into maint-19Erlang/OTP
* sverker/maint-19/os-cmd-2/OTP-14823: kernel: Fix os_SUITE:max_size_command for OTP-19 kernel: Fix handling of os:cmd option max_size in win kernel: Add os:cmd/2 with max_size option
2018-03-21kernel: Fix os_SUITE:max_size_command for OTP-19Sverker Eriksson
where string:trim does not exist.
2018-03-21kernel: Fix handling of os:cmd option max_size in winLukas Larsson
git cherry-pick 75b0f73f72e1783d4ace976cdd2b5f23bdc3ebae
2018-03-21kernel: Add os:cmd/2 with max_size optionLukas Larsson
git cherry-pick 55e929c4ed5cd854038c18697123ea94948ebf35
2018-03-21Fix a simple typo in xmerl documentationAndreas Lappe
2018-03-21Point out the correct line in an exception for a bad generatorBjörn Gustavsson
When a generator in a list comprehension was given some other term than a list, the wrong line could be pointed out in the exception. Here is an example: bad_generator() -> [I || %%This line would be pointed out. I <- not_a_list]. https://bugs.erlang.org/browse/ERL-572
2018-03-21stdlib: Make benchmarks more robustHans Bolinder
statistics(runtime) does not seem to work on some virtual machines.