Skip to content

Commit

Permalink
fix eacces spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
mikpe committed Dec 2, 2014
1 parent ee17dd9 commit a8377a4
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion erts/doc/src/erlang.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2840,7 +2840,7 @@ os_prompt% </pre>
raised. The error reason may differ between operating
systems. Typically the error <c>enoent</c> is raised
when one tries to run a program that is not found and
<c>eaccess</c> is raised when the given file is not
<c>eacces</c> is raised when the given file is not
executable.</p>
</item>
<tag><c>{fd, <anno>In</anno>, <anno>Out</anno>}</c></tag>
Expand Down
8 changes: 4 additions & 4 deletions lib/inets/doc/src/httpd_conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@
<v>FilePath = string()</v>
<v>Result = {ok,Directory} | {error,Reason}</v>
<v>Directory = string()</v>
<v>Reason = string() | enoent | eaccess | enotdir | FileInfo</v>
<v>Reason = string() | enoent | eacces | enotdir | FileInfo</v>
<v>FileInfo = File info record</v>
</type>
<desc>
<marker id="is_directory"></marker>
<p><c>is_directory/1</c> checks if <c>FilePath</c> is a
directory in which case it is returned. Please read
<c>file(3)</c> for a description of <c>enoent</c>,
<c>eaccess</c> and <c>enotdir</c>. The definition of
<c>eacces</c> and <c>enotdir</c>. The definition of
the file info record can be found by including <c>file.hrl</c>
from the kernel application, see file(3).</p>

Expand All @@ -120,14 +120,14 @@
<v>FilePath = string()</v>
<v>Result = {ok,File} | {error,Reason}</v>
<v>File = string()</v>
<v>Reason = string() | enoent | eaccess | enotdir | FileInfo</v>
<v>Reason = string() | enoent | eacces | enotdir | FileInfo</v>
<v>FileInfo = File info record</v>
</type>
<desc>
<marker id="is_file"></marker>
<p><c>is_file/1</c> checks if <c>FilePath</c> is a regular
file in which case it is returned. Read <c>file(3)</c> for a
description of <c>enoent</c>, <c>eaccess</c> and
description of <c>enoent</c>, <c>eacces</c> and
<c>enotdir</c>. The definition of the file info record can be
found by including <c>file.hrl</c> from the kernel application,
see file(3).</p>
Expand Down
4 changes: 2 additions & 2 deletions lib/inets/src/http_server/httpd_conf.erl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
%% FilePath = string()
%% Result = {ok,Directory} | {error,Reason}
%% Directory = string()
%% Reason = string() | enoent | eaccess | enotdir | FileInfo
%% Reason = string() | enoent | eacces | enotdir | FileInfo
%% FileInfo = File info record
%%
%% Description: Checks if FilePath is a directory in which case it is
Expand All @@ -71,7 +71,7 @@ is_directory(_Type,_Access,FileInfo,_Directory) ->
%% FilePath = string()
%% Result = {ok,File} | {error,Reason}
%% File = string()
%% Reason = string() | enoent | eaccess | enotdir | FileInfo
%% Reason = string() | enoent | eacces | enotdir | FileInfo
%% FileInfo = File info record
%%
%% Description: Checks if FilePath is a regular file in which case it
Expand Down
2 changes: 1 addition & 1 deletion lib/kernel/test/file_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ make_del_dir(Config) when is_list(Config) ->
?line ok = ?FILE_MODULE:del_dir(NewDir),
?line {error, enoent} = ?FILE_MODULE:del_dir(NewDir),
% Make sure we are not in a directory directly under test_server
% as that would result in eacess errors when trying to delere '..',
% as that would result in eacces errors when trying to delete '..',
% because there are processes having that directory as current.
?line ok = ?FILE_MODULE:make_dir(NewDir),
?line {ok,CurrentDir} = file:get_cwd(),
Expand Down
2 changes: 1 addition & 1 deletion lib/kernel/test/prim_file_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ make_del_dir(Config, Handle, Suffix) ->
?line {error, enoent} = ?PRIM_FILE_call(del_dir, Handle, [NewDir]),

% Make sure we are not in a directory directly under test_server
% as that would result in eacess errors when trying to delere '..',
% as that would result in eacces errors when trying to delete '..',
% because there are processes having that directory as current.
?line ok = ?PRIM_FILE_call(make_dir, Handle, [NewDir]),
?line {ok, CurrentDir} = ?PRIM_FILE_call(get_cwd, Handle, []),
Expand Down

0 comments on commit a8377a4

Please sign in to comment.