From 4b9535341addcdeaf44002e323733864325b30ab Mon Sep 17 00:00:00 2001 From: Veres Lajos Date: Wed, 19 Nov 2014 19:59:31 +0000 Subject: typo fixes - https://github.com/vlajos/misspell_fixer --- main/main.c | 2 +- main/snprintf.h | 2 +- main/streams/streams.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'main') diff --git a/main/main.c b/main/main.c index 5b969a930c..41e84a79f7 100644 --- a/main/main.c +++ b/main/main.c @@ -2278,7 +2278,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod /* load and startup extensions compiled as shared objects (aka DLLs) as requested by php.ini entries - theese are loaded after initialization of internal extensions + these are loaded after initialization of internal extensions as extensions *might* rely on things from ext/standard which is always an internal extension and to be initialized ahead of all other internals diff --git a/main/snprintf.h b/main/snprintf.h index 789ab7d41a..115a15aa58 100644 --- a/main/snprintf.h +++ b/main/snprintf.h @@ -31,7 +31,7 @@ sprintf offers the ability to make a lot of failures since it does not know snprintf knows the buffers size and will not write behind it. But you will have to use either a static buffer or allocate a dynamic buffer - before beeing able to call the function. In other words you must + before being able to call the function. In other words you must be sure that you really know the maximum size of the buffer required. A bad thing is having a big maximum while in most cases you would only need a small buffer. If the size of the resulting string is diff --git a/main/streams/streams.c b/main/streams/streams.c index 13af362681..c6420dc0d0 100644 --- a/main/streams/streams.c +++ b/main/streams/streams.c @@ -1066,7 +1066,7 @@ PHPAPI zend_string *php_stream_get_record(php_stream *stream, size_t maxlen, con * searched for the delimiter. * The left part of the delimiter may still remain in the buffer, * so subtract up to from buffered_len, which is - * the ammount of data we skip on this search as an optimization + * the amount of data we skip on this search as an optimization */ found_delim = _php_stream_search_delim( stream, maxlen, -- cgit v1.2.1