History log of /php-src/Zend/zend_alloc.c (Results 101 – 125 of 521)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b25bc917 17-Sep-2018 Dmitry Stogov

Allow switching back to Zend MM heap.

# ac03b15e 17-Sep-2018 Nikita Popov

Remove __USE_GNU defines

This is an internal glibc macro, it should not be necessary to use
it if we already define _GNU_SOURCE (we do through
AC_USE_SYSTEM_EXTENSIONS). Needing to u

Remove __USE_GNU defines

This is an internal glibc macro, it should not be necessary to use
it if we already define _GNU_SOURCE (we do through
AC_USE_SYSTEM_EXTENSIONS). Needing to use __USE_GNU generally
indicates an inclusion order problem (libc header included before
config.h).

show more ...

# 5776b445 17-Sep-2018 Nikita Popov

Remove unused MREMAP_MAYMOVE compatibility define

# 321c0cc3 17-Sep-2018 Anatol Belski

Fix localized error messages and memory leaks

The FormatMessage API needs to LocalFree the delivered error messages.
In cases where messages are delivered in non ASCII compatible encodin

Fix localized error messages and memory leaks

The FormatMessage API needs to LocalFree the delivered error messages.
In cases where messages are delivered in non ASCII compatible encoding,
the messages might be unreadable. This aligns the error message encoding
with the encoding settings in PHP, the focus is UTF-8 as default.

Initialize error buffer

Avoid code duplication

show more ...

Revision tags: php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32
# 100733f8 07-Sep-2018 Nikita Popov

Merge branch 'PHP-7.3'


# f7b573b4 29-Aug-2018 David Carlier

Support fixed address mmap without replacement

Reapply changes for Zend fixed mapping but only for FreeBSD.
Other BSD might expose some day a similar flag (private
for OpenBSD for th

Support fixed address mmap without replacement

Reapply changes for Zend fixed mapping but only for FreeBSD.
Other BSD might expose some day a similar flag (private
for OpenBSD for the moment for example).
The Linux's part could be brought back but not before 7.4,
at this time, distributions with kernel > 4.17 will be
more widely available.

show more ...

Revision tags: php-7.1.22RC1
# 404a97dd 29-Aug-2018 Remi Collet

Merge branch 'PHP-7.3'

* PHP-7.3:
Revert "Support fixed address mmap without replacement"
Revert "Don't report mmap failure if it is expected"


# a55bcaa1 29-Aug-2018 Remi Collet

Revert "Support fixed address mmap without replacement"

This reverts commit 0f68ff5c92924deb9401ce66458e67f250ccde74.

# 8cc7e2a2 29-Aug-2018 Remi Collet

Revert "Don't report mmap failure if it is expected"

This reverts commit 446b5b15d324dacd30f58313563a9d625fb54ac8.

Revision tags: php-7.3.0beta3, php-7.2.10RC1
# 406b57ed 22-Aug-2018 Nikita Popov

Merge branch 'PHP-7.3'


# 446b5b15 21-Aug-2018 David Carlier

Don't report mmap failure if it is expected

When using mmap with MAP_FIXED_NOREPLACE or MAP_FIXED|MAP_EXCL
an mmap failure is not an error condition, so do not print an
error message

Don't report mmap failure if it is expected

When using mmap with MAP_FIXED_NOREPLACE or MAP_FIXED|MAP_EXCL
an mmap failure is not an error condition, so do not print an
error message in this case.

show more ...

# 09b4b837 21-Aug-2018 Nikita Popov

Merge branch 'PHP-7.3'


# 0f68ff5c 19-Aug-2018 David Carlier

Support fixed address mmap without replacement

We did not use MAP_FIXED here, because it may replace an existing
mapping. This commit adds support for MAP_FIXED_NOREPLACE (available

Support fixed address mmap without replacement

We did not use MAP_FIXED here, because it may replace an existing
mapping. This commit adds support for MAP_FIXED_NOREPLACE (available
on newer Linux kernels) and MAP_FIXED|MAP_EXCL (available on FreeBSD),
which avoid this issue.

show more ...

Revision tags: php-7.1.21, php-7.2.9, php-7.3.0beta2
# 84b195d9 10-Aug-2018 Gabriel Caruso

Fix some misspellings

Revision tags: php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3
# 8d3f8ca1 03-Jul-2018 Peter Kokot

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
use

Remove unused Git attributes ident

The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.

In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.

This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.

show more ...

Revision tags: php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1
# 18bc3afd 05-Jun-2018 Dmitry Stogov

Micro-optimizations

Revision tags: php-7.2.7RC1, php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1
# 4ad9cf46 08-May-2018 Dmitry Stogov

Bit test optimization

# 88069495 07-May-2018 Dmitry Stogov

micro optimisation

Revision tags: php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1, php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1
# d5238b95 15-Jan-2018 Dmitry Stogov

Added missing #if to allow compilation withput ZEND_MM_CUSTOM

Revision tags: php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27
# a6519d05 02-Jan-2018 Xinchen Hui

year++

# 7a7ec01a 02-Jan-2018 Xinchen Hui

year++

Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1, php-7.2.0, php-7.1.12, l, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1
# abd2120c 07-Nov-2017 Dmitry Stogov

Fixed inaccurate condition

# 4da0bfc7 06-Nov-2017 Xinchen Hui

Unused var

# 522cc692 03-Nov-2017 Dmitry Stogov

erealloc() optimization

Revision tags: php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25
# 7045362c 13-Oct-2017 Dmitry Stogov

Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
Fixed bug #75368 (mmap/munmap trashing on unlucky allocations)


12345678910>>...21