]> granicus.if.org Git - php/log
php
11 years ago5.5.9 RC1 php-5.5.9RC1
Julien Pauli [Wed, 22 Jan 2014 17:19:43 +0000 (18:19 +0100)]
5.5.9 RC1

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Wed, 22 Jan 2014 14:40:19 +0000 (15:40 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed test

11 years agofixed test
Anatol Belski [Wed, 22 Jan 2014 14:39:49 +0000 (15:39 +0100)]
fixed test

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Wed, 22 Jan 2014 11:04:25 +0000 (12:04 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix zts

11 years agofix zts
Anatol Belski [Wed, 22 Jan 2014 11:03:54 +0000 (12:03 +0100)]
fix zts

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Wed, 22 Jan 2014 10:53:32 +0000 (11:53 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed missing usleep() prototype in pgsql

11 years agofixed missing usleep() prototype in pgsql
Anatol Belski [Wed, 22 Jan 2014 10:52:52 +0000 (11:52 +0100)]
fixed missing usleep() prototype in pgsql

11 years agoFixed previous commit may delete unwanted cookies.
Yasuo Ohgaki [Wed, 22 Jan 2014 10:23:01 +0000 (19:23 +0900)]
Fixed previous commit may delete unwanted cookies.

11 years agoFixed previous commit may delete unwanted cookies. Sync tests from upper branches.
Yasuo Ohgaki [Wed, 22 Jan 2014 10:21:25 +0000 (19:21 +0900)]
Fixed previous commit may delete unwanted cookies. Sync tests from upper branches.

11 years agoRe-fixed bug #66469
Yasuo Ohgaki [Wed, 22 Jan 2014 04:46:59 +0000 (13:46 +0900)]
Re-fixed bug #66469

11 years agoRe-fixed bug #66469
Yasuo Ohgaki [Wed, 22 Jan 2014 04:40:58 +0000 (13:40 +0900)]
Re-fixed bug #66469

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Tue, 21 Jan 2014 21:28:03 +0000 (13:28 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix CVE ref for bug #66060
  5.4.26 next
  fix news

Conflicts:
configure.in
main/php_version.h

11 years agofix CVE ref for bug #66060
Stanislav Malyshev [Tue, 21 Jan 2014 21:27:18 +0000 (13:27 -0800)]
fix CVE ref for bug #66060

11 years agofix CVE ref for bug #66060
Stanislav Malyshev [Tue, 21 Jan 2014 21:26:56 +0000 (13:26 -0800)]
fix CVE ref for bug #66060

11 years agofix buglet in makedist
Stanislav Malyshev [Tue, 21 Jan 2014 21:24:52 +0000 (13:24 -0800)]
fix buglet in makedist

11 years ago5.4.26 next
Stanislav Malyshev [Tue, 21 Jan 2014 20:13:42 +0000 (12:13 -0800)]
5.4.26 next

11 years agofix news
Stanislav Malyshev [Tue, 21 Jan 2014 20:11:59 +0000 (12:11 -0800)]
fix news

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Tue, 21 Jan 2014 16:14:32 +0000 (17:14 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed post deactivate signature in ext\libxml

11 years agofixed post deactivate signature in ext\libxml
Anatol Belski [Tue, 21 Jan 2014 16:08:59 +0000 (17:08 +0100)]
fixed post deactivate signature in ext\libxml

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Johannes Schlüter [Tue, 21 Jan 2014 15:37:02 +0000 (16:37 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agofix NEWS formatting
Johannes Schlüter [Tue, 21 Jan 2014 15:35:51 +0000 (16:35 +0100)]
fix NEWS formatting

11 years agoFix bug #66283 (Segmentation fault after memory_limit)
Johannes Schlüter [Tue, 21 Jan 2014 15:28:30 +0000 (16:28 +0100)]
Fix bug #66283 (Segmentation fault after memory_limit)

There are situations where mysqlnd dupliates zvals while freeing result
sets. If the memory_limit is reached during this operation the engine
will bailout. This patch makes sure that a later attempt (during
RSHIUTDOWN) won't cause a double free, instead we rely on the engine to
free emalloc()ed memory after bailout.

11 years agoChange automaticaly to automatically
Carson McDonald [Thu, 19 Dec 2013 18:57:26 +0000 (13:57 -0500)]
Change automaticaly to automatically

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ferenc Kovacs [Tue, 21 Jan 2014 01:28:32 +0000 (02:28 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix these tests so they properly clean up after themselves.

11 years agoUpdating NEWS with PDO change
Will Fitch [Mon, 20 Jan 2014 17:19:42 +0000 (12:19 -0500)]
Updating NEWS with PDO change

11 years agofix these tests so they properly clean up after themselves.
Ferenc Kovacs [Mon, 20 Jan 2014 17:04:35 +0000 (18:04 +0100)]
fix these tests so they properly clean up after themselves.

11 years agoSkip those test which fails on ARM architecture
Remi Collet [Mon, 20 Jan 2014 13:42:28 +0000 (14:42 +0100)]
Skip those test which fails on ARM architecture

Add minimal tests for all arch.

11 years agodos2unix
Remi Collet [Mon, 20 Jan 2014 13:39:05 +0000 (14:39 +0100)]
dos2unix

11 years agorelease 7.0.3
Xinchen Hui [Mon, 20 Jan 2014 13:23:23 +0000 (21:23 +0800)]
release 7.0.3

11 years agoSkip readline tests which fail with libedit
Remi Collet [Mon, 20 Jan 2014 08:38:34 +0000 (09:38 +0100)]
Skip readline tests which fail with libedit
Add specific libedit test (output slightly differs)

11 years agoFixed Bug #66412 readline_clear_history() with libedit causes segfault after #65714
Remi Collet [Mon, 20 Jan 2014 07:38:53 +0000 (08:38 +0100)]
Fixed Bug #66412 readline_clear_history() with libedit causes segfault after #65714

Checking all libedit functions, this check is done in each functions (add_history,
read_history, write_history, ...) but is missing in clear_history.

Test coverage: readline_clear_history_001.phpt

11 years agoUpdate NEWS for bug fix #62479
Will Fitch [Sun, 19 Jan 2014 18:12:06 +0000 (13:12 -0500)]
Update NEWS for bug fix #62479

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Yasuo Ohgaki [Sun, 19 Jan 2014 04:31:50 +0000 (13:31 +0900)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Enable zend.multibyte tests. Tipcal configuration works, but most tests fail.

11 years agoEnable zend.multibyte tests. Tipcal configuration works, but most tests fail.
Yasuo Ohgaki [Sun, 19 Jan 2014 04:28:48 +0000 (13:28 +0900)]
Enable zend.multibyte tests. Tipcal configuration works, but most tests fail.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Will Fitch [Sun, 19 Jan 2014 00:40:54 +0000 (19:40 -0500)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix #62479: Some chars not parsed in passwords

11 years agoFix #62479: Some chars not parsed in passwords
Will Fitch [Sun, 19 Jan 2014 00:24:22 +0000 (19:24 -0500)]
Fix #62479: Some chars not parsed in passwords

This fixes an issue where backslashes and spaces aren't
correctly parsed for passwords.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Will Fitch [Sat, 18 Jan 2014 16:39:32 +0000 (11:39 -0500)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #66509: copy() arginfo incorrect since 5.4

Conflicts:
NEWS

11 years agoFix bug #66509: copy() arginfo incorrect since 5.4
Will Fitch [Sat, 18 Jan 2014 16:25:53 +0000 (11:25 -0500)]
Fix bug #66509: copy() arginfo incorrect since 5.4

Since 5.4, the ZEND_BEGIN_ARG_INFO_EX was replaced
by non _EX, causing Reflection to assume the
$context parameter is required.

11 years agoadded appropriate exception handling flag to ext\intl
Anatol Belski [Fri, 17 Jan 2014 10:03:40 +0000 (11:03 +0100)]
added appropriate exception handling flag to ext\intl

According to the doc page
http://msdn.microsoft.com/en-us/library/1deeycx5.aspx
it's appropriate as none of the extern C functions do throw
exceptions. This also fixes the warning C4530.

11 years agoUpdate NEWS
Yasuo Ohgaki [Fri, 17 Jan 2014 03:34:23 +0000 (12:34 +0900)]
Update NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Fri, 17 Jan 2014 02:31:38 +0000 (03:31 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  forked the test for bug #66481

11 years agoforked the test for bug #66481
Anatol Belski [Fri, 17 Jan 2014 02:30:42 +0000 (03:30 +0100)]
forked the test for bug #66481

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Thu, 16 Jan 2014 06:41:52 +0000 (14:41 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoRe-fixed Bug #66481 (Calls to session_name() segfault when session.name is null)
Xinchen Hui [Thu, 16 Jan 2014 06:41:12 +0000 (14:41 +0800)]
Re-fixed Bug #66481 (Calls to session_name() segfault when session.name is null)

11 years agoRevert "Bug #66481 Segfaults on session_name()"
Xinchen Hui [Thu, 16 Jan 2014 06:38:35 +0000 (14:38 +0800)]
Revert "Bug #66481 Segfaults on session_name()"

This reverts commit 5662ffb295c6f9cb10768d8246f2656aae6b8abb.

11 years agoRevert "Update NEWS"
Xinchen Hui [Thu, 16 Jan 2014 06:38:22 +0000 (14:38 +0800)]
Revert "Update NEWS"

This reverts commit 8f5de8ddcf5fea43928cf2358b95f3de1ab5ade9.

11 years agoUpdate NEWS
Yasuo Ohgaki [Thu, 16 Jan 2014 02:41:30 +0000 (11:41 +0900)]
Update NEWS

11 years agoUpdate NEWS
Yasuo Ohgaki [Thu, 16 Jan 2014 02:40:33 +0000 (11:40 +0900)]
Update NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Yasuo Ohgaki [Thu, 16 Jan 2014 02:34:31 +0000 (11:34 +0900)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Bug #66481 Segfaults on session_name()

11 years agoBug #66481 Segfaults on session_name()
Conor McDermottroe [Tue, 14 Jan 2014 02:08:13 +0000 (02:08 +0000)]
Bug #66481 Segfaults on session_name()

If the previous value of session.name was NULL then any call to
session_name($string) would result in a segmentation fault.

This changes the behaviour to set the value of session.name to
"PHPSESSID" if a blank value is given in php.ini or via -d on the
command line. There is already protection against setting it to NULL via
session_name() or ini_set().

11 years agoLog information about cached scripts and keys
Dmitry Stogov [Wed, 15 Jan 2014 08:12:22 +0000 (12:12 +0400)]
Log information about cached scripts and keys

11 years agoFixed session module is sending multiple set-cookie headers when session.use_strict_m...
Yasuo Ohgaki [Wed, 15 Jan 2014 02:03:07 +0000 (11:03 +0900)]
Fixed session module is sending multiple set-cookie headers when session.use_strict_mode=1

11 years agoFixed ZTS build
Dmitry Stogov [Mon, 13 Jan 2014 19:09:59 +0000 (23:09 +0400)]
Fixed ZTS build

11 years agoforked test for win32
Anatol Belski [Mon, 13 Jan 2014 16:12:14 +0000 (17:12 +0100)]
forked test for win32

11 years agoFixed bug #66461 (PHP crashes if opcache.interned_strings_buffer=0)
Dmitry Stogov [Mon, 13 Jan 2014 14:05:21 +0000 (18:05 +0400)]
Fixed bug #66461 (PHP crashes if opcache.interned_strings_buffer=0)

11 years agoFixed bug #66474 (Optimizer bug in constant string to boolean conversion)
Dmitry Stogov [Mon, 13 Jan 2014 08:06:19 +0000 (12:06 +0400)]
Fixed bug #66474 (Optimizer bug in constant string to boolean conversion)

11 years agofix encoding
Johannes Schlüter [Fri, 10 Jan 2014 14:57:40 +0000 (15:57 +0100)]
fix encoding

11 years ago5.5.9-dev now
Julien Pauli [Fri, 10 Jan 2014 09:01:30 +0000 (10:01 +0100)]
5.5.9-dev now

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Thu, 9 Jan 2014 14:28:09 +0000 (15:28 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fixed EOL in the test

11 years agofixed EOL in the test
Anatol Belski [Thu, 9 Jan 2014 14:27:26 +0000 (15:27 +0100)]
fixed EOL in the test

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Thu, 9 Jan 2014 14:24:31 +0000 (15:24 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  added testcase from bug #65371

11 years agoadded testcase from bug #65371
Anatol Belski [Thu, 9 Jan 2014 14:23:49 +0000 (15:23 +0100)]
added testcase from bug #65371

11 years agoFixed ADD_INTERNED_STRING() logic to support strings that are already interned. ...
Dmitry Stogov [Thu, 9 Jan 2014 09:48:08 +0000 (13:48 +0400)]
Fixed ADD_INTERNED_STRING() logic to support strings that are already interned. (Terry)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Sun, 5 Jan 2014 18:21:27 +0000 (19:21 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  one more extension for the basename test

11 years agoone more extension for the basename test
Anatol Belski [Sun, 5 Jan 2014 18:19:54 +0000 (19:19 +0100)]
one more extension for the basename test

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Sun, 5 Jan 2014 18:12:52 +0000 (19:12 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  improved the fix for bug #66395

11 years agoimproved the fix for bug #66395
Anatol Belski [Sun, 5 Jan 2014 18:05:04 +0000 (19:05 +0100)]
improved the fix for bug #66395

- fixed the traverse vulnerability in case like c:d:file.txt
- ensure paths containing NTFS streams are still worky

11 years agoupdated NEWS
Anatol Belski [Fri, 3 Jan 2014 23:59:03 +0000 (00:59 +0100)]
updated NEWS

11 years agoFixed bug #66009 Failed compilation of PHP extension with C++ std library using VS...
Anatol Belski [Fri, 3 Jan 2014 23:47:10 +0000 (00:47 +0100)]
Fixed bug #66009 Failed compilation of PHP extension with C++ std library using VS 2012

Visual Studio 2012 includes sanity checks for C++11 features, see
http://msdn.microsoft.com/en-us/library/vstudio/bb531344(v=vs.110).aspx
To fix the 'inline' keyword redefinition for C++ in debug mode, the
new macros ZEND_WIN32_KEEP_INLINE is introduced, ZEND_WIN32_FORCE_INLINE is
automatically appended in release mode.

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Nikita Popov [Sat, 4 Jan 2014 00:24:54 +0000 (01:24 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoFix bug #66286: Incorrect object comparison with inheritance
Nikita Popov [Sat, 4 Jan 2014 00:22:14 +0000 (01:22 +0100)]
Fix bug #66286: Incorrect object comparison with inheritance

std_compare_objects immidiately returned 0 if the property tables
of both objects contain NULL at some index. Thus it would report
objects as equal even though properties following after that
differ.

11 years agoupdated NEWS
Anatol Belski [Fri, 3 Jan 2014 21:42:38 +0000 (22:42 +0100)]
updated NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Fri, 3 Jan 2014 21:32:39 +0000 (22:32 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #66395 basename function doesn't remove drive letter

11 years agoFixed bug #66395 basename function doesn't remove drive letter
Anatol Belski [Fri, 3 Jan 2014 21:25:58 +0000 (22:25 +0100)]
Fixed bug #66395 basename function doesn't remove drive letter

11 years agoBump year
Xinchen Hui [Fri, 3 Jan 2014 03:06:16 +0000 (11:06 +0800)]
Bump year

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Fri, 3 Jan 2014 03:06:12 +0000 (11:06 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoBump year
Xinchen Hui [Fri, 3 Jan 2014 03:04:26 +0000 (11:04 +0800)]
Bump year

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Derick Rethans [Thu, 2 Jan 2014 12:52:08 +0000 (12:52 +0000)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoFixed (some of) add/sub.
Derick Rethans [Thu, 2 Jan 2014 12:45:48 +0000 (12:45 +0000)]
Fixed (some of) add/sub.

This worked in PHP 5.4 already, but with the introduction of DateTimeImmutable
this code was not correctly merged.

11 years agoMerge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4
Derick Rethans [Thu, 2 Jan 2014 10:57:46 +0000 (10:57 +0000)]
Merge branch 'PHP-5.4' of git.php.net:php-src into PHP-5.4

11 years ago- BFN
Felipe Pena [Thu, 2 Jan 2014 00:33:12 +0000 (22:33 -0200)]
- BFN

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
krakjoe [Wed, 1 Jan 2014 13:00:29 +0000 (13:00 +0000)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix #66375 bad logic in sapi header callback routine

11 years agofix #66375 bad logic in sapi header callback routine
krakjoe [Wed, 1 Jan 2014 12:58:18 +0000 (12:58 +0000)]
fix #66375 bad logic in sapi header callback routine

11 years agoMerge branch 'PHP-5.5' of git.php.net:/php-src into PHP-5.5
Felipe Pena [Wed, 1 Jan 2014 11:56:31 +0000 (09:56 -0200)]
Merge branch 'PHP-5.5' of git.php.net:/php-src into PHP-5.5

11 years ago- Fixed bug #66381 (__ss_family was changed on AIX 5.3)
Felipe Pena [Wed, 1 Jan 2014 11:55:14 +0000 (09:55 -0200)]
- Fixed bug #66381 (__ss_family was changed on AIX 5.3)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Nikita Popov [Mon, 30 Dec 2013 12:54:58 +0000 (13:54 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoFix leak caused by fix to bug #65667
Nikita Popov [Mon, 30 Dec 2013 12:46:55 +0000 (13:46 +0100)]
Fix leak caused by fix to bug #65667

ftp->stream is now closed in the ftp resource dtor.

11 years agoFix test fail
Xinchen Hui [Mon, 30 Dec 2013 03:07:25 +0000 (11:07 +0800)]
Fix test fail

11 years agoFix dos style eol in phpts
Xinchen Hui [Mon, 30 Dec 2013 02:58:01 +0000 (10:58 +0800)]
Fix dos style eol in phpts

11 years agoFixed bug #66298 (ext/opcache/Optimizer/zend_optimizer.c has dos-style ^M as lineend)
Xinchen Hui [Mon, 30 Dec 2013 02:50:46 +0000 (10:50 +0800)]
Fixed bug #66298 (ext/opcache/Optimizer/zend_optimizer.c has dos-style ^M as lineend)

Use git blame -w to ingore the space changes

11 years agominor fix on previous
Remi Collet [Sat, 28 Dec 2013 13:29:14 +0000 (14:29 +0100)]
minor fix on previous

11 years agoFixed bug #66356 (Heap Overflow Vulnerability in imagecrop())
Remi Collet [Sat, 28 Dec 2013 13:22:13 +0000 (14:22 +0100)]
Fixed bug #66356 (Heap Overflow Vulnerability in imagecrop())

Initial fix was PHP stuff
This one is libgd fix.

- filter invalid crop size
- dont try to copy on invalid position
- fix crop size when out of src image
- fix possible NULL deref
- fix possible integer overfloow

11 years agoRevert accidented committed php_version.h
Xinchen Hui [Fri, 27 Dec 2013 06:10:55 +0000 (14:10 +0800)]
Revert accidented committed php_version.h

11 years agoFixed bug #66356 (Heap Overflow Vulnerability in imagecrop())
Xinchen Hui [Fri, 27 Dec 2013 06:04:59 +0000 (14:04 +0800)]
Fixed bug #66356 (Heap Overflow Vulnerability in imagecrop())

And also fixed the bug: arguments are altered after some calls

11 years agoFixed ZEND_MM_MEM_TYPE=mmap_zero
Dmitry Stogov [Thu, 26 Dec 2013 07:51:32 +0000 (11:51 +0400)]
Fixed ZEND_MM_MEM_TYPE=mmap_zero

11 years agobrought the ext/sybase_ct/config.w32 up to date
Anatol Belski [Wed, 25 Dec 2013 22:29:42 +0000 (23:29 +0100)]
brought the ext/sybase_ct/config.w32 up to date

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Wed, 25 Dec 2013 06:23:24 +0000 (22:23 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  5.4.25 next

Conflicts:
configure.in
main/php_version.h

11 years ago5.4.25 next
Stanislav Malyshev [Wed, 25 Dec 2013 06:22:04 +0000 (22:22 -0800)]
5.4.25 next

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Anatol Belski [Mon, 23 Dec 2013 11:00:49 +0000 (12:00 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  removed outdated IsDebuggerPresent declaration

11 years agoremoved outdated IsDebuggerPresent declaration
Anatol Belski [Mon, 23 Dec 2013 10:53:47 +0000 (11:53 +0100)]
removed outdated IsDebuggerPresent declaration

This piece of code seems to retain compatibility with some windows
versions before 2000. Today it's not relevant anymore and only
produces a warning C4273 because of the conflicting prototype. In
VC9 the declaration is present in winbase.h:4142, but available
is it already in winxp. Here's the doc link
http://msdn.microsoft.com/en-us/library/windows/desktop/ms680345(v=vs.85).aspx