From de2fb97f15ac98aa1d1c5533aacca378334f4778 Mon Sep 17 00:00:00 2001
From: Anthony Ramine
Date: Tue, 1 Jul 2014 00:58:26 +0200
Subject: Fix handling of broken symlinks in filelib
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
---
erts/doc/src/erl_prim_loader.xml | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
(limited to 'erts/doc/src')
diff --git a/erts/doc/src/erl_prim_loader.xml b/erts/doc/src/erl_prim_loader.xml
index 6751deda4d..171f84decc 100644
--- a/erts/doc/src/erl_prim_loader.xml
+++ b/erts/doc/src/erl_prim_loader.xml
@@ -147,6 +147,22 @@
See code(3) about archive files.
+
+
+ Get information about a link or file
+
+ This function works like
+ read_file_info/1
+ except that if Filename is a symbolic link,
+ information about the link will be returned in the file_info
+ record and the type field of the record will be set to
+ symlink.
+ If Filename is not a symbolic link, this function
+ returns exactly the same result as read_file_info/1.
+ On platforms that do not support symbolic links, this function
+ is always equivalent to read_file_info/1.
+
+
Set the path of the loader
--
cgit v1.2.3
From 41d2dc56d5d2a3be1ba59c6999e1003360b1e308 Mon Sep 17 00:00:00 2001
From: Erlang/OTP
Date: Thu, 10 Jul 2014 10:45:27 +0200
Subject: Prepare release
---
erts/doc/src/notes.xml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
(limited to 'erts/doc/src')
diff --git a/erts/doc/src/notes.xml b/erts/doc/src/notes.xml
index 5f39822712..086d29c668 100644
--- a/erts/doc/src/notes.xml
+++ b/erts/doc/src/notes.xml
@@ -30,6 +30,25 @@
This document describes the changes made to the ERTS application.
+Erts 6.1.2
+
+ Fixed Bugs and Malfunctions
+
+ -
+
+ OTP-11850 fixed filelib:wildcard/1 to work with broken
+ symlinks. This correction, however, introduced problems
+ since symlinks were no longer followed for functions like
+ filelib:ensure_dir/1, filelib:is_dir/1,
+ filelib:file_size/1, etc. This is now corrected.
+
+ Own Id: OTP-12054 Aux Id: seq12660
+
+
+
+
+
+
Erts 6.1.1
Fixed Bugs and Malfunctions
--
cgit v1.2.3