]> granicus.if.org Git - php/log
php
12 years agoMerge branch 'master' of ssh://git.php.net/php-src
Andrey Hristov [Mon, 11 Feb 2013 11:28:55 +0000 (12:28 +0100)]
Merge branch 'master' of ssh://git.php.net/php-src

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Mon, 11 Feb 2013 11:07:55 +0000 (12:07 +0100)]
Merge branch 'PHP-5.5'

Conflicts:
NEWS

12 years agobuild fixes
Andrey Hristov [Mon, 11 Feb 2013 11:07:10 +0000 (12:07 +0100)]
build fixes

12 years agoMerge branch 'PHP-5.5'
Remi Collet [Mon, 11 Feb 2013 08:14:06 +0000 (09:14 +0100)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  NEWS
  Fixed bug #64142 (dval to lval different behavior on ppc64)

12 years agoNEWS
Remi Collet [Mon, 11 Feb 2013 08:13:52 +0000 (09:13 +0100)]
NEWS

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Mon, 11 Feb 2013 08:13:27 +0000 (09:13 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #64142 (dval to lval different behavior on ppc64)

12 years agoFixed bug #64142 (dval to lval different behavior on ppc64)
Remi Collet [Mon, 11 Feb 2013 08:10:51 +0000 (09:10 +0100)]
Fixed bug #64142 (dval to lval different behavior on ppc64)

See discussion on internals
http://marc.info/?t=136042277700003&r=1&w=2

12 years agoMerge branch 'PHP-5.5'
Stanislav Malyshev [Sun, 10 Feb 2013 07:05:58 +0000 (23:05 -0800)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  update NEWS
  mb_split() can now handle empty matches like preg_split() does.
  mb_split() can now handle empty matches like preg_split() does.

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 10 Feb 2013 07:05:35 +0000 (23:05 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update NEWS
  mb_split() can now handle empty matches like preg_split() does.

12 years agoupdate NEWS
Stanislav Malyshev [Sun, 10 Feb 2013 07:02:26 +0000 (23:02 -0800)]
update NEWS

12 years agomb_split() can now handle empty matches like preg_split() does.
Moriyoshi Koizumi [Sun, 10 Feb 2013 06:04:23 +0000 (15:04 +0900)]
mb_split() can now handle empty matches like preg_split() does.

12 years agomb_split() can now handle empty matches like preg_split() does.
Moriyoshi Koizumi [Sun, 10 Feb 2013 06:04:23 +0000 (15:04 +0900)]
mb_split() can now handle empty matches like preg_split() does.

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Fri, 8 Feb 2013 17:34:35 +0000 (18:34 +0100)]
Merge branch 'PHP-5.5'

Conflicts:
NEWS

12 years agonews for mysqli_savepoint and mysql_release_savepoint
Andrey Hristov [Fri, 8 Feb 2013 17:33:45 +0000 (18:33 +0100)]
news for mysqli_savepoint and mysql_release_savepoint

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Fri, 8 Feb 2013 17:28:34 +0000 (18:28 +0100)]
Merge branch 'PHP-5.5'

12 years agoupdate test case
Andrey Hristov [Fri, 8 Feb 2013 17:28:22 +0000 (18:28 +0100)]
update test case

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Fri, 8 Feb 2013 17:10:08 +0000 (18:10 +0100)]
Merge branch 'PHP-5.5'

12 years agomysqli_savepoint()/mysqli_release_savepoint()
Andrey Hristov [Fri, 8 Feb 2013 17:09:50 +0000 (18:09 +0100)]
mysqli_savepoint()/mysqli_release_savepoint()

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Fri, 8 Feb 2013 16:06:05 +0000 (17:06 +0100)]
Merge branch 'PHP-5.5'

12 years agoAdd the constants needed for mysqli_commit(), _rollback() and
Andrey Hristov [Fri, 8 Feb 2013 16:05:25 +0000 (17:05 +0100)]
Add the constants needed for mysqli_commit(), _rollback() and
begin_transaction()

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Fri, 8 Feb 2013 15:36:52 +0000 (16:36 +0100)]
Merge branch 'PHP-5.5'

12 years agoAdd savepoint and rollback to savepoint support
Andrey Hristov [Fri, 8 Feb 2013 15:36:17 +0000 (16:36 +0100)]
Add savepoint and rollback to savepoint support

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Fri, 8 Feb 2013 10:13:45 +0000 (11:13 +0100)]
Merge branch 'PHP-5.5'

Conflicts:
NEWS

12 years agoadd the news about recent commits
Andrey Hristov [Fri, 8 Feb 2013 10:12:54 +0000 (11:12 +0100)]
add the news about recent commits

12 years agoMerge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
Andrey Hristov [Thu, 7 Feb 2013 19:35:30 +0000 (20:35 +0100)]
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5

12 years agoMerge branch 'master' of ssh://git.php.net/php-src
Andrey Hristov [Thu, 7 Feb 2013 19:35:16 +0000 (20:35 +0100)]
Merge branch 'master' of ssh://git.php.net/php-src

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Thu, 7 Feb 2013 17:46:36 +0000 (18:46 +0100)]
Merge branch 'PHP-5.5'

12 years agoAdd support for begin_transaction in libmysql mode.
Andrey Hristov [Thu, 7 Feb 2013 17:45:49 +0000 (18:45 +0100)]
Add support for begin_transaction in libmysql mode.
Add support for flags and name for commit/rollback in libmysql mode

12 years agoMerge branch 'PHP-5.4' of https://git.php.net/push/php-src into PHP-5.4
Boris Lytochkin [Thu, 7 Feb 2013 17:43:37 +0000 (21:43 +0400)]
Merge branch 'PHP-5.4' of https://git.php.net/push/php-src into PHP-5.4

12 years agoMerge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5
Boris Lytochkin [Thu, 7 Feb 2013 17:42:07 +0000 (21:42 +0400)]
Merge branch 'PHP-5.5' of https://git.php.net/push/php-src into PHP-5.5

12 years agoMerge branch 'master' of https://git.php.net/push/php-src
Boris Lytochkin [Thu, 7 Feb 2013 17:36:09 +0000 (21:36 +0400)]
Merge branch 'master' of https://git.php.net/push/php-src

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Thu, 7 Feb 2013 17:30:32 +0000 (18:30 +0100)]
Merge branch 'PHP-5.5'

12 years agoExport new calls
Andrey Hristov [Thu, 7 Feb 2013 17:29:19 +0000 (18:29 +0100)]
Export new calls

12 years agoMerge branch 'PHP-5.5'
Xinchen Hui [Thu, 7 Feb 2013 15:50:35 +0000 (23:50 +0800)]
Merge branch 'PHP-5.5'

12 years agoForgot test script
Xinchen Hui [Thu, 7 Feb 2013 15:49:35 +0000 (23:49 +0800)]
Forgot test script

12 years agoMerge branch 'PHP-5.5'
Xinchen Hui [Thu, 7 Feb 2013 15:46:15 +0000 (23:46 +0800)]
Merge branch 'PHP-5.5'

12 years agoMerge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5
Xinchen Hui [Thu, 7 Feb 2013 15:45:28 +0000 (23:45 +0800)]
Merge branch 'PHP-5.5' of git.php.net:php-src into PHP-5.5

12 years agoFixed bug #64135 (Exceptions from set_error_handler are not always propagated)
Xinchen Hui [Thu, 7 Feb 2013 15:44:46 +0000 (23:44 +0800)]
Fixed bug #64135 (Exceptions from set_error_handler are not always propagated)

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Thu, 7 Feb 2013 15:24:44 +0000 (16:24 +0100)]
Merge branch 'PHP-5.5'

12 years agoAdd the name in a comment at commit/rollback, if provided
Andrey Hristov [Thu, 7 Feb 2013 15:24:08 +0000 (16:24 +0100)]
Add the name in a comment at commit/rollback, if provided

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Thu, 7 Feb 2013 15:06:50 +0000 (16:06 +0100)]
Merge branch 'PHP-5.5'

12 years agoAdd support for commit and rollback options.
Andrey Hristov [Thu, 7 Feb 2013 15:05:27 +0000 (16:05 +0100)]
Add support for commit and rollback options.
Add support for explicitly starting a transaction - modes also available.
Using the API makes the life of load balancer mysqlnd plugins easier/possible.

12 years agoMerge branch 'PHP-5.5'
Dmitry Stogov [Thu, 7 Feb 2013 12:10:20 +0000 (16:10 +0400)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Disabled external entities loading

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
Dmitry Stogov [Thu, 7 Feb 2013 12:09:49 +0000 (16:09 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Disabled external entities loading

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Dmitry Stogov [Thu, 7 Feb 2013 12:09:12 +0000 (16:09 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Disabled external entities loading

12 years agoDisabled external entities loading
Dmitry Stogov [Thu, 7 Feb 2013 12:07:05 +0000 (16:07 +0400)]
Disabled external entities loading

12 years agoMerge branch 'PHP-5.5'
Boris Lytochkin [Thu, 7 Feb 2013 10:50:41 +0000 (14:50 +0400)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  fix bug #64124 (IPv6 malformed)

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
Boris Lytochkin [Thu, 7 Feb 2013 10:49:45 +0000 (14:49 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix bug #64124 (IPv6 malformed)

12 years agofix bug #64124 (IPv6 malformed)
Boris Lytochkin [Thu, 7 Feb 2013 10:48:28 +0000 (14:48 +0400)]
fix bug #64124 (IPv6 malformed)

hostname returned from zend_parse_parameters() was modified in
netsnmp_session_init() that caused imput parameter modification along with
unpredictable changes when parameter is a constant sctring.

One typo in comment was fixed.

12 years agoMerge branch 'PHP-5.5'
Dmitry Stogov [Thu, 7 Feb 2013 09:13:50 +0000 (13:13 +0400)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Check if soap.wsdl_cache_dir confirms to open_basedir

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
Dmitry Stogov [Thu, 7 Feb 2013 09:12:01 +0000 (13:12 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Check if soap.wsdl_cache_dir confirms to open_basedir

12 years agoMerge branch 'PHP-5.3' into PHP-5.4
Dmitry Stogov [Thu, 7 Feb 2013 09:10:04 +0000 (13:10 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Check if soap.wsdl_cache_dir confirms to open_basedir

12 years agoCheck if soap.wsdl_cache_dir confirms to open_basedir
Dmitry Stogov [Thu, 7 Feb 2013 09:04:47 +0000 (13:04 +0400)]
Check if soap.wsdl_cache_dir confirms to open_basedir

12 years agoMerge branch 'PHP-5.5'
Anatoliy Belsky [Wed, 6 Feb 2013 15:23:16 +0000 (16:23 +0100)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  make libvpx optional

12 years agomake libvpx optional
Anatoliy Belsky [Wed, 6 Feb 2013 15:22:27 +0000 (16:22 +0100)]
make libvpx optional

12 years agoMerge branch 'PHP-5.5'
Remi Collet [Tue, 5 Feb 2013 11:29:34 +0000 (12:29 +0100)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  revert
  revert

12 years agorevert
Remi Collet [Tue, 5 Feb 2013 11:29:21 +0000 (12:29 +0100)]
revert

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Tue, 5 Feb 2013 11:29:01 +0000 (12:29 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  revert

12 years agorevert
Remi Collet [Tue, 5 Feb 2013 11:28:47 +0000 (12:28 +0100)]
revert

12 years agoAdd ARM optimized versions of safe_address()
Ard Biesheuvel [Tue, 5 Feb 2013 11:14:55 +0000 (12:14 +0100)]
Add ARM optimized versions of safe_address()

The function safe_address() uses inline assembler to detect
overflow in size/offset calculations, as detecting this in
plain C is a lot more work.

12 years agoUpdate config.guess to latest GPLv2 upstream version
Ard Biesheuvel [Tue, 5 Feb 2013 09:23:35 +0000 (10:23 +0100)]
Update config.guess to latest GPLv2 upstream version

This adds the ability to configure/build *on* 64-bit ARMv8,
which uses the host triplet 'aarch64-linux-gnu'.

Source:
  http://git.savannah.gnu.org/gitweb/?p=config.git;h=306afce

12 years agoMerge branch 'PHP-5.5'
Remi Collet [Mon, 4 Feb 2013 14:27:54 +0000 (15:27 +0100)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  NEWS
  Fixed bug #64142 (dval to lval different behavior on ppc64)

12 years agoNEWS
Remi Collet [Mon, 4 Feb 2013 14:27:43 +0000 (15:27 +0100)]
NEWS

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
Remi Collet [Mon, 4 Feb 2013 14:27:07 +0000 (15:27 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #64142 (dval to lval different behavior on ppc64)

12 years agoFixed bug #64142 (dval to lval different behavior on ppc64)
Remi Collet [Mon, 4 Feb 2013 14:19:32 +0000 (15:19 +0100)]
Fixed bug #64142 (dval to lval different behavior on ppc64)

On x86_64:
(long)(double)9223372036854775807+1 = -9223372036854775808
On ppc64
(long)(double)9223372036854775807-1 = 9223372036854775807

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Mon, 4 Feb 2013 13:34:38 +0000 (14:34 +0100)]
Merge branch 'PHP-5.5'

12 years agoMerge branch 'PHP-5.4' into PHP-5.5
Andrey Hristov [Mon, 4 Feb 2013 13:28:23 +0000 (14:28 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

12 years agocheck the validity of the parameter
Andrey Hristov [Mon, 4 Feb 2013 13:27:56 +0000 (14:27 +0100)]
check the validity of the parameter

12 years agoMerge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4
Andrey Hristov [Mon, 4 Feb 2013 13:15:58 +0000 (14:15 +0100)]
Merge branch 'PHP-5.4' of ssh://git.php.net/php-src into PHP-5.4

12 years agoMerge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5
Andrey Hristov [Mon, 4 Feb 2013 13:15:29 +0000 (14:15 +0100)]
Merge branch 'PHP-5.5' of ssh://git.php.net/php-src into PHP-5.5

12 years agoMerge branch 'master' of ssh://git.php.net/php-src
Andrey Hristov [Mon, 4 Feb 2013 13:15:19 +0000 (14:15 +0100)]
Merge branch 'master' of ssh://git.php.net/php-src

12 years agoMerge branch 'PHP-5.5'
Andrey Hristov [Mon, 4 Feb 2013 12:50:23 +0000 (13:50 +0100)]
Merge branch 'PHP-5.5'

12 years agoMerge branch 'PHP-5.5'
Xinchen Hui [Mon, 4 Feb 2013 06:22:17 +0000 (14:22 +0800)]
Merge branch 'PHP-5.5'

12 years agoimplicit declaration of zend_throw_exception
Xinchen Hui [Mon, 4 Feb 2013 06:20:50 +0000 (14:20 +0800)]
implicit declaration of zend_throw_exception

12 years agoMerge branch 'PHP-5.5'
Felipe Pena [Sun, 3 Feb 2013 13:00:58 +0000 (11:00 -0200)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  - Fixed ZTS build
  News about FR #49180.

12 years ago- Fixed ZTS build
Felipe Pena [Sun, 3 Feb 2013 12:57:31 +0000 (10:57 -0200)]
- Fixed ZTS build

12 years agoNews about FR #49180.
Martin Jansen [Sun, 3 Feb 2013 12:27:36 +0000 (13:27 +0100)]
News about FR #49180.

12 years agoMerge branch 'PHP-5.5'
Martin Jansen [Sun, 3 Feb 2013 12:24:04 +0000 (13:24 +0100)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Add option to specific the expected separator character.
  There is no need to use memchr() for comparisons in these places.
  ext/filter support for validating MAC addresses.

12 years agoAdd option to specific the expected separator character.
Martin Jansen [Sat, 5 Jan 2013 21:46:14 +0000 (22:46 +0100)]
Add option to specific the expected separator character.

12 years agoThere is no need to use memchr() for comparisons in these places.
Martin Jansen [Fri, 28 Dec 2012 14:20:19 +0000 (15:20 +0100)]
There is no need to use memchr() for comparisons in these places.

12 years agoext/filter support for validating MAC addresses.
Martin Jansen [Mon, 24 Dec 2012 13:14:24 +0000 (14:14 +0100)]
ext/filter support for validating MAC addresses.

12 years agoMerge branch 'PHP-5.5'
Gustavo Lopes [Sun, 3 Feb 2013 01:07:08 +0000 (02:07 +0100)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fix test on Windows.
  NEWS/UPGRADING for changes in sockets, intl

12 years agoFix test on Windows.
Gustavo Lopes [Sun, 3 Feb 2013 01:00:48 +0000 (02:00 +0100)]
Fix test on Windows.

Windows complains of invalid parameters because the socket is not bound.
The test expected the error to be EAGAIN/EWOULDBLOCK. Moved the call down,
after the socket is bound.

12 years agoNEWS/UPGRADING for changes in sockets, intl
Gustavo Lopes [Sun, 3 Feb 2013 00:59:35 +0000 (01:59 +0100)]
NEWS/UPGRADING for changes in sockets, intl

12 years agoMerge branch 'PHP-5.5'
Gustavo Lopes [Sun, 3 Feb 2013 00:45:14 +0000 (01:45 +0100)]
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fix bug and hopefully build on WinSDK 6.1

12 years agoFix bug and hopefully build on WinSDK 6.1
Gustavo Lopes [Sun, 3 Feb 2013 00:22:44 +0000 (01:22 +0100)]
Fix bug and hopefully build on WinSDK 6.1

There build was failing on rmtools on the sockets extension for two reasons:

  1. IPV6_TCLASS and IPV6_RECVTCLASS not being defined. These are probably
  recent additions to SDK. Windows 7 doesn't event seem to have complete
  support for IPV6_TCLASS, not accepting in WSASendMsg(). The parts that
  needed this constant were not guarded by #ifdefs. They are now.

  2. The constants EWOULDBLOCK and EINPROGRESS not being defined. These
  were only defined in php_network.h, outside of the extension, and not
  all source files included this header. Nevertheless, a macro defined in
  php_sockets.h needed these constants. When this macro was used in files
  that did not include php_network.h, the compilation would fail.
  Surprisingly, the build did not fail when using the 7.1 Windows SDK
  (more likely, the CRT headers used in VC10), as somehow errno.h was
  being included through some other standard header. This would make the
  constant EWOULDBLOCK defined; however, it would be defined to the wrong
  value. In the winsock context, WSAEWOULDBLOCK should be used instead.
  Because we have difficulty using Windows-only constants in the code, we
  (re)define EWOULDBLOCK to WSAEWOULDBLOCK. This has the obvious
  disavantage we may miss problems like this again in the future.

12 years agoMerge branch 'PHP-5.5'
Gustavo Lopes [Sat, 2 Feb 2013 17:42:01 +0000 (18:42 +0100)]
Merge branch 'PHP-5.5'

* PHP-5.5: (40 commits)
  php_strerror in ext/sockets renamed in 5.5
  Move macro back to .c file
  Fix multicast.c not defining errno on Windows
  Fix non-Windows build
  send/recvmsg() support for Windows
  Remove some pre-vista code
  Revert "Payload of HOPLIMIT/TCLASS are 8-bit"
  Ensure memory is initialized
  Payload of HOPLIMIT/TCLASS are 8-bit
  Fix buf in string -> int conv.
  Build fixes; accept names for if_index
  Refactoring: move stuff to new conversions.c
  Support sticky IPV6_PKTINFO
  Rename some functions for consistency
  Destroy ancillary registry on shutdown
  Move some multicast stuff to multicast.c
  Fix mcast_ipv6_send test
  Check return of fstat()
  Fix build on Mac OS X
  Register extra MSG_* constants
  ...

12 years agoMerge branch 'PHP-5.4' into PHP-5.5 (strategy ours)
Gustavo Lopes [Sat, 2 Feb 2013 17:40:05 +0000 (18:40 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5 (strategy ours)

* PHP-5.4:
  Move macro back to .c file

12 years agophp_strerror in ext/sockets renamed in 5.5
Gustavo Lopes [Sat, 2 Feb 2013 17:39:47 +0000 (18:39 +0100)]
php_strerror in ext/sockets renamed in 5.5

12 years agoMove macro back to .c file
Gustavo Lopes [Sat, 2 Feb 2013 17:32:38 +0000 (18:32 +0100)]
Move macro back to .c file

Because it depends on a static function on that .c file.

12 years agoMerge branch 'sendrecvmsg_rebase_55' into PHP-5.5
Gustavo Lopes [Sat, 2 Feb 2013 15:40:25 +0000 (16:40 +0100)]
Merge branch 'sendrecvmsg_rebase_55' into PHP-5.5

* sendrecvmsg_rebase_55: (31 commits)
  Fix multicast.c not defining errno on Windows
  Fix non-Windows build
  send/recvmsg() support for Windows
  Remove some pre-vista code
  Revert "Payload of HOPLIMIT/TCLASS are 8-bit"
  Ensure memory is initialized
  Payload of HOPLIMIT/TCLASS are 8-bit
  Fix buf in string -> int conv.
  Build fixes; accept names for if_index
  Refactoring: move stuff to new conversions.c
  Support sticky IPV6_PKTINFO
  Rename some functions for consistency
  Destroy ancillary registry on shutdown
  Move some multicast stuff to multicast.c
  Fix mcast_ipv6_send test
  Check return of fstat()
  Fix build on Mac OS X
  Register extra MSG_* constants
  Add test for CMSG_RIGHTS
  Add test for CMSG_CREDENTIALS message
  ...

12 years agoFix multicast.c not defining errno on Windows
Gustavo Lopes [Thu, 31 Jan 2013 15:34:46 +0000 (16:34 +0100)]
Fix multicast.c not defining errno on Windows

Small cleanups in includes as well.

12 years agoFix non-Windows build
Gustavo Lopes [Thu, 31 Jan 2013 15:24:02 +0000 (16:24 +0100)]
Fix non-Windows build

12 years agosend/recvmsg() support for Windows
Gustavo Lopes [Thu, 31 Jan 2013 13:01:31 +0000 (14:01 +0100)]
send/recvmsg() support for Windows

12 years agoRemove some pre-vista code
Gustavo Lopes [Wed, 30 Jan 2013 20:40:45 +0000 (21:40 +0100)]
Remove some pre-vista code

12 years agoRevert "Payload of HOPLIMIT/TCLASS are 8-bit"
Gustavo Lopes [Thu, 31 Jan 2013 14:26:10 +0000 (15:26 +0100)]
Revert "Payload of HOPLIMIT/TCLASS are 8-bit"

This reverts commit 61a5ec7381ba5388a52926779fe3f58af0caea83.

I checked Linux and OpenBSD and both use integers to write the
IPV6_TCLASS messages and they don't force any endianness. This is
despite RFC 3542 explicitly saying the first byte of cmsg_data will
have the result. In any case, it doesn't make any difference in
little-endian archs.

12 years agoEnsure memory is initialized
Gustavo Lopes [Thu, 31 Jan 2013 14:25:55 +0000 (15:25 +0100)]
Ensure memory is initialized

12 years agoPayload of HOPLIMIT/TCLASS are 8-bit
Gustavo Lopes [Wed, 30 Jan 2013 23:59:05 +0000 (00:59 +0100)]
Payload of HOPLIMIT/TCLASS are 8-bit

12 years agoFix buf in string -> int conv.
Gustavo Lopes [Wed, 30 Jan 2013 23:40:17 +0000 (00:40 +0100)]
Fix buf in string -> int conv.

12 years agoBuild fixes; accept names for if_index
Gustavo Lopes [Tue, 1 Jan 2013 22:38:19 +0000 (23:38 +0100)]
Build fixes; accept names for if_index