summaryrefslogtreecommitdiff
path: root/docs/incomplete_types
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2018-08-30 02:46:58 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2018-08-30 02:46:58 +0000
commit929ae45e01c8e6eb12d26a42bdf30f7fe76029d3 (patch)
tree87fcf0c9172ae67640e30583470b9c1b77fa8d11 /docs/incomplete_types
parent1877f9cdd94193d34961cdd264e8e71c493ce8ab (diff)
downloadapr-929ae45e01c8e6eb12d26a42bdf30f7fe76029d3.tar.gz
Spelling corrections in docs;
Pull request #6 docs/APRDesign.html docs/canonical_filenames.html docs/incomplete_types Submitted by: "Bruno P. Kinoshita" <brunodepaulak yahoo.com.br> Pull request #10 misc/unix/errorcodes.c Submitted by: Jimmy Casey <casey.jimmy gmail.com> git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1839622 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/incomplete_types')
-rw-r--r--docs/incomplete_types6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/incomplete_types b/docs/incomplete_types
index cbed77742..08b0c0a52 100644
--- a/docs/incomplete_types
+++ b/docs/incomplete_types
@@ -38,7 +38,7 @@ typedef struct ap_file_t {
#endif
} ap_file_t;
-This captures the essense of what is currently being defined for ap_file_t
+This captures the essence of what is currently being defined for ap_file_t
using incomplete types. However, using this structure leads developers to
believe that they are safe accessing any of the fields in this structure.
This is not true. On some platforms, such as Windows, about half of the
@@ -53,7 +53,7 @@ macros, for example:
#define filetype int
#endif
-And then in the defintion for ap_file_t, we could say:
+And then in the definition for ap_file_t, we could say:
filetype filedes;
This gets rid of some of the complexity, by moving it off to the side, but
@@ -73,7 +73,7 @@ Having said all of that, sometimes incomplete types just don't make sense.
For example, the first implementation of time functions used incomplete types,
which added a layer of complexity that turned out to be unnecessary. If
a platform cannot provide a simple number that represents the number of seconds
-elapsed since a specifed date and time, then APR doesn't really want to
+elapsed since a specified date and time, then APR doesn't really want to
provide support for that platform.
APR is trying hard to provide a balance of incomplete and complete types,