diff options
author | Björn Gustavsson <[email protected]> | 2014-05-08 10:49:54 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-05-08 10:49:54 +0200 |
commit | 6bf1835ac2d6f4db6c266b2df6167f8a10e95c92 (patch) | |
tree | 5b8151cfc171e1d3d460063264acfb561289dca5 /lib/stdlib/src | |
parent | 57625b3220ed23935c2e8154a7f199e294d0741d (diff) | |
parent | f11aabdc9fec593c31e6c4f3fa25c1707e9c35df (diff) | |
download | otp-6bf1835ac2d6f4db6c266b2df6167f8a10e95c92.tar.gz otp-6bf1835ac2d6f4db6c266b2df6167f8a10e95c92.tar.bz2 otp-6bf1835ac2d6f4db6c266b2df6167f8a10e95c92.zip |
Merge branch 'bjorn/stdlib/file_lib-wildcard/OTP-11850' into maint
* bjorn/stdlib/file_lib-wildcard/OTP-11850:
filelib:wildcard() should show broken symlinks
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r-- | lib/stdlib/src/filelib.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/filelib.erl b/lib/stdlib/src/filelib.erl index a266daa084..c0921e4cf1 100644 --- a/lib/stdlib/src/filelib.erl +++ b/lib/stdlib/src/filelib.erl @@ -488,7 +488,7 @@ badpattern(Reason) -> error({badpattern,Reason}). eval_read_file_info(File, file) -> - file:read_file_info(File); + file:read_link_info(File); eval_read_file_info(File, erl_prim_loader) -> case erl_prim_loader:read_file_info(File) of error -> {error, erl_prim_loader}; |