Skip to content

Commit 433c00b

Browse files
[skip ci] tree: Fix various typos (php#19366)
1 parent cd80ed6 commit 433c00b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

ext/gettext/gettext.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ PHP_FUNCTION(bindtextdomain)
194194
btd_result = bindtextdomain(ZSTR_VAL(domain), NULL);
195195
if (btd_result == NULL) {
196196
/* POSIX-compliant implementations can return
197-
* NULL if an error occured. On musl you will
197+
* NULL if an error occurred. On musl you will
198198
* also get NULL if the domain is not yet
199199
* bound, because musl has no default directory
200200
* to return in that case. */

ext/opcache/shared_alloc_mmap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
#endif
5353

5454
#if defined(HAVE_JIT) && (defined(__linux__) || defined(__FreeBSD__)) && (defined(__x86_64__) || defined (__aarch64__)) && !defined(__SANITIZE_ADDRESS__)
55-
static void *find_prefered_mmap_base(size_t requested_size)
55+
static void *find_preferred_mmap_base(size_t requested_size)
5656
{
5757
size_t huge_page_size = 2 * 1024 * 1024;
5858
uintptr_t last_free_addr = huge_page_size;
@@ -204,7 +204,7 @@ static int create_segments(size_t requested_size, zend_shared_segment ***shared_
204204
void *hint;
205205
if (JIT_G(enabled) && JIT_G(buffer_size)
206206
&& zend_jit_check_support() == SUCCESS) {
207-
hint = find_prefered_mmap_base(requested_size);
207+
hint = find_preferred_mmap_base(requested_size);
208208
} else {
209209
/* Do not use a hint if JIT is not enabled, as this profits only JIT and
210210
* this is potentially unsafe when the only suitable candidate is just

ext/pdo_mysql/php_pdo_mysql_int.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ZEND_BEGIN_MODULE_GLOBALS(pdo_mysql)
7878
/* dummy member so we get at least one member in the struct
7979
* and avoids build errors.
8080
*/
81-
void *dummymemmber;
81+
void *dummymember;
8282
#endif
8383
ZEND_END_MODULE_GLOBALS(pdo_mysql)
8484

sapi/phpdbg/phpdbg_watch.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1481,7 +1481,7 @@ void phpdbg_setup_watchpoints(void) {
14811481
#ifdef HAVE_USERFAULTFD_WRITEFAULT
14821482
int flags = O_CLOEXEC;
14831483
#ifdef UFFD_USER_MODE_ONLY
1484-
// unpriviliged userfaultfd are disabled by default,
1484+
// unprivileged userfaultfd are disabled by default,
14851485
// with this flag it allows ranges from the user space
14861486
// being reported.
14871487
flags |= UFFD_USER_MODE_ONLY;

0 commit comments

Comments
 (0)