Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
This commit complements 769996c0cd4cb68c157e39de725642f209ed7423 and
adds tests for the following problems introduced by
f11aabdc9fec593c31e6c4f3fa25c1707e9c35df:
Given the symlink 'dirlink' pointing to an existing dir, then
- filelib:is_regular("dirlink") -> false
- filelib:is_dir("dirlink") -> false
Given the symlink 'filelink' pointing to an existing file, then
- filelib:is_regular("filelink") -> false
- filelib:is_file("filelink") -> false
- filelib:last_modified("filelink") and filelib:filesize("filelink")
return the info of the link and not the file
Given the symlink "broken_symlink" pointing to a non-existing file, then
- filelib:wildcard("broken_symlink",File) -> []
|
|
This fixes a bug introduced in f11aabdc9fec593c31e6c4f3fa25c1707e9c35df where
filelib:eval_read_file_info/2 was made to use file:read_link_info/1 to never
follow symlinks. This fixed wildcard/1 but broke every other function using
eval_read_file_info/2.
Reported-by: Louis-Philippe Gauthier
Reported-by: Danil Zagoskin
|
|
|
|
OTP-12053
* weisslj/disksup-posix-only:
Add 'disksup_posix_only' parameter to disksup
|
|
|
|
OTP-12052
* legoscia/patch-7:
erlang:statistics(runtime) returns milliseconds
|
|
|
|
OTP-12051
* lucafavatella/refactor-eunit-check_arity:
Refactor function in eunit using is_function/2
|
|
|
|
OTP-12050
* nox/fix-javadoc:
Fix a few javadoc errors
|
|
|
|
OTP-12049
* vladdu/jinterface_stream_exceptions:
jinterface: OtpInputStream exceptions show useless value
|
|
* dgud/ssl/simple-bench:
ssl: Bench use two nodes
ssl: Add simple benchmarks
|
|
|
|
* dnet/parse_sni:
added SNI decode test to SSL handshake suite
ssl: parse SNI in received client hello records
OTP-12048
|
|
|
|
* nevar/patch-1:
Fix typo in Advanced chapter
|
|
|
|
* mururu/fix-typo:
Fix typo in erl_eval:exprs comments
|
|
|
|
* nox/io_lib_format-width-too-small:
Properly handle fields too short in io_lib_format
OTP-12041
|
|
|
|
* siri/master-cuddle-with-tests:
[ct] Add test with netconf server on remote node
|
|
* siri/sync-stop-gen/OTP-11173:
Fix man page warning in proc_lib.xml
|
|
The argument FormFunc is sys:handle_debug/4war erronously specified as
dbg_fun(), which is a debug function. This has now been corrected by
adding a new type, format_fun().
|
|
Specify in the documentation that erlang:statistics(runtime) returns milliseconds.
|
|
is_function/2 looks present since at least OTP R13B03, so the change
shall not undermine running eunit on older versions of Erlang.
This commit is only refactoring - it contains no functional changes.
|
|
|
|
* wmalik/processes-doc:
rephrase sentence in process links doc
|
|
|
|
|
|
|
|
|
|
probably a copy&paste error from maps:keys()
|
|
|
|
|
|
* egil/fix-ethr-force-inline/OTP-12010:
vxworks: Fix SYSTEMD_DAEMON_LIBS in configure
erts: Separate ethread inlining from ethread.h
|
|
* hb/edoc/latin1_fix/OTP-12008:
edoc, syntax_tools: Don't fail on invalid UTF-8
|
|
The new test is related to support sequence seq12645. It tests that
the netconf client process dies if the node hosting the netconf
server terminates.
|
|
* maint:
stdlib: Correct documentation of dets:insert/2
|
|
* hb/stdlib/dets_insert_new/OTP-12024:
stdlib: Correct documentation of dets:insert/2
|
|
Reported-by: Danil Zagoskin
|
|
On embedded (Linux) systems the "df" program is very often provided by
the Busybox (or Toolbox) project. This version does not provide the "-l"
option (for displaying only local filesystems) used in disksup.erl.
To make disksup work on these embedded platforms, this patch adds a new
application parameter 'disksup_posix_only', to make diskup use only
options defined in the POSIX standard:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/df.html
|
|
|
|
The commit adb5dc0090bc419e2c4c1250653badbddeb6263b (ETHR_FORCE_INLINE)
broke some platforms without adequate thread support.
|
|
* maint:
hipe: Correct pretty-printing of bitstrings
|