From a8377a44bb81ab86a694c57f2f10527cf51612d4 Mon Sep 17 00:00:00 2001 From: Mikael Pettersson Date: Tue, 2 Dec 2014 19:13:16 +0100 Subject: fix eacces spelling --- lib/inets/doc/src/httpd_conf.xml | 8 ++++---- lib/inets/src/http_server/httpd_conf.erl | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/inets') diff --git a/lib/inets/doc/src/httpd_conf.xml b/lib/inets/doc/src/httpd_conf.xml index 3ef03966a7..60fc2f135e 100644 --- a/lib/inets/doc/src/httpd_conf.xml +++ b/lib/inets/doc/src/httpd_conf.xml @@ -97,7 +97,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 @@ -105,7 +105,7 @@

is_directory/1 checks if FilePath is a directory in which case it is returned. Please read file(3) for a description of enoent, - eaccess and enotdir. The definition of + eacces and enotdir. The definition of the file info record can be found by including file.hrl from the kernel application, see file(3).

@@ -120,14 +120,14 @@ 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

is_file/1 checks if FilePath is a regular file in which case it is returned. Read file(3) for a - description of enoent, eaccess and + description of enoent, eacces and enotdir. The definition of the file info record can be found by including file.hrl from the kernel application, see file(3).

diff --git a/lib/inets/src/http_server/httpd_conf.erl b/lib/inets/src/http_server/httpd_conf.erl index 27446ca7fe..8f68d9fcd5 100644 --- a/lib/inets/src/http_server/httpd_conf.erl +++ b/lib/inets/src/http_server/httpd_conf.erl @@ -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 @@ -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 -- cgit v1.2.3