Age | Commit message (Collapse) | Author |
|
The functions io:columns() and io:rows() only worked correctly inside
interactive erlang shells before this fix. These functions returned
{error,enotsup} before this fix even if stdout and stdin were
connected to a terminal when they were invoked from an escript or a
program started with e.g., `erl -noshell`.
This commit fixes issue ERL-717.
|
|
* raimo/udp-send-TOS/OTP-15422:
Refine test cases
Remove test code that fails on Windows
|
|
|
|
|
|
Added the (re-) added net module to the application app file.
OTP-15765
|
|
Before:
1> gen_udp:open(0, [local, {ip, {local, "unixdomainfile"}}]).
{ok,#Port<0.6>}
2> inet:i().
** exception error: bad argument
in function integer_to_list/1
called as integer_to_list(<<"unixdomainfile">>)
in call from inet:fmt_port/2 (inet.erl, line 1646)
in call from inet:fmt_addr/2 (inet.erl, line 1642)
in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547)
in call from inet:'-i_line/3-lc$^0/1-0-'/3 (inet.erl, line 1547)
in call from inet:'-info_lines/3-lc$^0/1-0-'/3 (inet.erl, line 1546)
in call from inet:ii/3 (inet.erl, line 1531)
in call from inet:i/0 (inet.erl, line 1515)
After:
Port Module Recv Sent Owner Local Address Foreign Address State Type
4160 local_udp 0 0 <0.1747.0> local:unixdomainfile *:* IDLE DGRAM
|
|
|
|
Also needed to take care of the specs files (in erts and kernel docs).
Also, ifdef'ing the net module adjusted (again).
|
|
Still trying to make --disable-esock to work properly.
Now the primary chore is the doc building.
OTP-15765
|
|
* maint-22:
Updated OTP version
Prepare release
# Conflicts:
# make/otp_version_tickets
|
|
garazdawi/lukas/erts/fix_active_n_close_win32/ERL-960/OTP-15901
Fix {active,N} close race condition on windows
|
|
* maint-21:
Updated OTP version
Prepare release
# Conflicts:
# OTP_VERSION
# erts/doc/src/notes.xml
# erts/vsn.mk
# lib/common_test/doc/src/notes.xml
# lib/common_test/vsn.mk
# lib/kernel/doc/src/notes.xml
# lib/kernel/vsn.mk
# lib/public_key/doc/src/notes.xml
# lib/public_key/vsn.mk
# lib/ssl/doc/src/notes.xml
# lib/ssl/vsn.mk
# lib/stdlib/doc/src/notes.xml
# lib/stdlib/vsn.mk
# make/otp_version_tickets
# otp_versions.table
|
|
|
|
* john/kernel/fix-io-proto-user-drv/OTP-15805:
kernel: Force synchronous port_commands in user/user_drv
|
|
|
|
* ingela/raimo/udp-send-TOS/ERIERL-294/OTP-15747:
Introduce udp send ancillary data argument down to inet_drv
Fix old warnings
|
|
* raimo/incomplete-socket-close/ERIERL-353/OTP-15370:
Copy linger zero flag from listen socket
Test linger zero flag from listen socket
|
|
* john/kernel/fix-io-proto-user-drv/OTP-15805:
kernel: Force synchronous port_commands in user/user_drv
|
|
ingela/merge-294
* ingela/raimo/udp-send-TOS/ERIERL-294/OTP-15747:
Introduce udp send ancillary data argument down to inet_drv
Fix old warnings
|
|
|
|
|
|
|
|
|
|
Renamed the current preloaded net module to prim_net
and removed the deprecated functions (call, cast, ...).
Introduce a "new" net module (in kernel) as an interface
module to the (preloaded) prim_net. This one also contains
the deprecated functions (call, cast, ...).
OTP-15765
|
|
* raimo/incomplete-socket-close/ERIERL-353/OTP-15370:
Copy linger zero flag from listen socket
Test linger zero flag from listen socket
|
|
into maint
* raimo/correct-spec-for-gen_sctp-connect/ERL-947/OTP-15344:
Correct type spec for gen_sctp:connect/4,5
|
|
|
|
* siri/logger/relatve-log-file-path/OTP-15850:
[logger] Store file name as absolute path in logger_std_h
|
|
When a close is detected on windows, we need to keep track of
it as it will not trigger again.
|
|
* maint-21:
Updated OTP version
Prepare release
# Conflicts:
# OTP_VERSION
# erts/doc/src/notes.xml
# erts/vsn.mk
# lib/kernel/doc/src/notes.xml
# lib/kernel/src/kernel.appup.src
# lib/kernel/vsn.mk
# lib/ssl/doc/src/notes.xml
# lib/ssl/vsn.mk
# lib/stdlib/doc/src/notes.xml
# lib/stdlib/src/stdlib.appup.src
# lib/stdlib/vsn.mk
# make/otp_version_tickets
# otp_versions.table
|
|
|
|
'sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849/OTP-15858/OTP-15859' into maint-21
* sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849/OTP-15858/OTP-15859:
erts: Fix faulty spec for seq_trace:set_token/2
erts: Fix seq_trace:print/2 for arbitrary labels
erts: Fix bug in seq_trace:set_token(label,_)
|
|
* sverker/seq-trace-label-old-heap-bug/ERL-700/OTP-15849:
erts: Fix faulty spec for seq_trace:set_token/2
erts: Fix seq_trace:print/2 for arbitrary labels
erts: Fix bug in seq_trace:set_token(label,_)
|
|
* kuroneer/multiple-mode-flags/OTP-15852:
Update preloaded modules
Add comment to doc regarding multiple -mode flags
Extra -mode flags are ignored with a warning
|
|
Returns plain OldVal.
|
|
Would raise badarg if Label was not atom or small integer.
|
|
If internal seq-trace tuple is on old heap
an incorrect ref from old to new heap was made.
|
|
If the log file name was given as a relative path, logger_std_h
erroneously tried to create a new file in a new location if the
current working directory of the node was changed. This is now
corrected.
|
|
Prior to this change, providing multiple -mode flags to erl would start
the code server as 'interactive', regardless of their value ('-mode
embedded -mode embedded' would start erl as in interactive mode).
With this change, the extra -mode flags are ignored, and a warning gets
logged.
|
|
|
|
|
|
Banging data to a local port was always synchronous prior to
Erlang/OTP R16, and these modules relied on that behavior to report
that data had successfully been enqueued on the stdout port. This
would cause data to be silently dropped if the command didn't run
synchronously and the emulator halted before the port received the
data.
This was fairly rare in practice, but could be seen from time to
time on Windows with escripts that ended with a call to
io:format/2, such as the one used by the
escript_SUITE:create_and_extract test.
This is a minimal band-aid to make things reliable again. A more
complete fix would add explicit synchronization with the port.
|
|
* lukas/kernel/inet_db_fix_set_of_non-existing_file/OTP-15806:
kernel: Fix setting of non-existing file as inet_db resolv_conf
|
|
|
|
This was broken in 7c63a98c28d477.
|
|
Add hostname to -remsh if none is given
|
|
* lukas/kernel/double-sname-fix/ERL-912/OTP-15786:
kernel: Multiple -sname or -name would be ignored
|
|
Document type inet:stat_option() to resolve missing anchor
warnings when this type is referenced in other applications.
Change-Id: Ifbf775c2f67b48bcf7d0cf21c39065d3dacc4f55
|
|
The -name option already computes a default
hostname if none is given. This PR adds the
same behaviour to -remsh. Now we can run:
erl -name foo -remsh bar
erl -sname foo -remsh bar
This simplifies deployment scripts as otherwise
they have to compute the hostname by hand or
start an Erlang VM instance only to do so.
|
|
elbrujohalcon/elbrujohalcon-gen_tcp-connect-timeout-docs
Add a note about timeouts on gen_tcp:connect/3,4
|