]> granicus.if.org Git - php/log
php
11 years agoSupport for CLI process title (https://wiki.php.net/rfc/cli_process_title)
Keyur Govande [Thu, 7 Mar 2013 18:54:34 +0000 (18:54 +0000)]
Support for CLI process title (https://wiki.php.net/rfc/cli_process_title)

A new commit into branch 5.5

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Dmitry Stogov [Mon, 18 Feb 2013 12:20:49 +0000 (16:20 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #64070 (Inheritance with Traits failed with error)

Conflicts:
NEWS
Zend/zend_compile.c

11 years agoFixed bug #64070 (Inheritance with Traits failed with error)
Dmitry Stogov [Mon, 18 Feb 2013 12:07:51 +0000 (16:07 +0400)]
Fixed bug #64070 (Inheritance with Traits failed with error)

11 years agoCleanup some multicast code; fix for mac os x?
Gustavo Lopes [Sun, 17 Feb 2013 12:23:07 +0000 (13:23 +0100)]
Cleanup some multicast code; fix for mac os x?

When I moved some stuff from sockets.c to multicast.c, I did not copy
some conditional defines for systems without the RFC 3678 API.

I moved such defines to multicast.h so both sockets.c and multicast.c
can benefit from them and I prefixed them with PHP_ so that it's less
confusing: now PHP_MCAST_* are defined to either the MCAST_* RFC 3678
APIs or to legacy APIs and MCAST_* always mean the (possibly undefined)
system definitions.

11 years agofix protos
Stanislav Malyshev [Sun, 17 Feb 2013 21:33:48 +0000 (13:33 -0800)]
fix protos

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 17 Feb 2013 21:29:34 +0000 (13:29 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  fix bug #61930: openssl corrupts ssl key resource when using openssl_get_publickey()

11 years agofix bug #61930: openssl corrupts ssl key resource when using openssl_get_publickey()
Stanislav Malyshev [Sun, 17 Feb 2013 21:28:42 +0000 (13:28 -0800)]
fix bug #61930: openssl corrupts ssl key resource when using openssl_get_publickey()

11 years agofix free vs. curl_free
Anatol Belski [Sun, 17 Feb 2013 19:29:20 +0000 (20:29 +0100)]
fix free vs. curl_free

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 17 Feb 2013 10:38:25 +0000 (02:38 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  update NEWS

11 years agoupdate NEWS
Stanislav Malyshev [Sun, 17 Feb 2013 10:37:58 +0000 (02:37 -0800)]
update NEWS

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Stanislav Malyshev [Sun, 17 Feb 2013 09:19:08 +0000 (01:19 -0800)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Added HTTP codes as of RFC 6585

11 years agoAdded HTTP codes as of RFC 6585
Jonh Wendell [Fri, 8 Feb 2013 16:09:11 +0000 (14:09 -0200)]
Added HTTP codes as of RFC 6585

Added descriptions for the new HTTP codes:

- 428 Precondition Required
- 429 Too Many Requests
- 431 Request Header Fields Too Large
- 511 Network Authentication Required

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Sun, 17 Feb 2013 03:06:33 +0000 (11:06 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Xinchen Hui [Sun, 17 Feb 2013 03:05:34 +0000 (11:05 +0800)]
Merge branch 'PHP-5.3' into PHP-5.4

11 years agoFixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS)
Xinchen Hui [Sun, 17 Feb 2013 03:04:36 +0000 (11:04 +0800)]
Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Xinchen Hui [Sat, 16 Feb 2013 14:29:14 +0000 (22:29 +0800)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoFix test failed after 0ea83ff8478d867ebf1603a43cd5d3432022cee7
Xinchen Hui [Sat, 16 Feb 2013 14:28:28 +0000 (22:28 +0800)]
Fix test failed after 0ea83ff8478d867ebf1603a43cd5d3432022cee7

11 years agoExceptions triggered by undefined variable should be handled before FATAL error
Xinchen Hui [Sat, 16 Feb 2013 14:22:22 +0000 (22:22 +0800)]
Exceptions triggered by undefined variable should be handled before FATAL error

this is a enhancement of the fix for bug #64135

11 years agoFixed bug #64124 (IPv6 malformed)
Boris Lytochkin [Thu, 14 Feb 2013 19:12:53 +0000 (23:12 +0400)]
Fixed bug #64124 (IPv6 malformed)

11 years ago+Fixed bug #64124 (IPv6 malformed). (Boris Lytochkin)
Boris Lytochkin [Thu, 14 Feb 2013 19:08:08 +0000 (23:08 +0400)]
+Fixed bug #64124 (IPv6 malformed). (Boris Lytochkin)

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Dmitry Stogov [Wed, 13 Feb 2013 18:07:57 +0000 (22:07 +0400)]
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Proper bit reset code

11 years agoMerge branch 'PHP-5.3' into PHP-5.4
Dmitry Stogov [Wed, 13 Feb 2013 18:07:21 +0000 (22:07 +0400)]
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Proper bit reset code

11 years agoProper bit reset code
Dmitry Stogov [Wed, 13 Feb 2013 18:06:37 +0000 (22:06 +0400)]
Proper bit reset code

11 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ard Biesheuvel [Wed, 13 Feb 2013 12:50:53 +0000 (13:50 +0100)]
Merge branch 'PHP-5.4' into PHP-5.5

11 years agoFixed bug #64197 (_Offsetof() macro used but not defined on ARM/Clang)
Ard Biesheuvel [Wed, 13 Feb 2013 11:22:50 +0000 (12:22 +0100)]
Fixed bug #64197 (_Offsetof() macro used but not defined on ARM/Clang)

Updated the code to test for __ARMCC_VERSION instead of __arm, as
that is a more reliable indicator of whether the ARMCC compiler is
being used.

12 years agoUpdate config.sub/config.guess to latest GPLv2 upstream version
Ard Biesheuvel [Fri, 18 Jan 2013 09:13:10 +0000 (10:13 +0100)]
Update config.sub/config.guess to latest GPLv2 upstream version

This adds the ability to configure/build for/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 agoNEWS update
Ard Biesheuvel [Mon, 11 Feb 2013 14:54:59 +0000 (15:54 +0100)]
NEWS update

12 years agoLow-level ARM optimizations
Ard Biesheuvel [Mon, 11 Feb 2013 13:36:58 +0000 (14:36 +0100)]
Low-level ARM optimizations

- added ARM versions of zend_mm_high_bit()/zend_mm_low_bit()
- improved safe_address()

12 years agoImprove x86 inline assembler
Ard Biesheuvel [Mon, 11 Feb 2013 12:53:27 +0000 (13:53 +0100)]
Improve x86 inline assembler

- added cc annotation to inline asm that clobbers the condition
  flags
- remove hardcoded constants (IS_LONG,IS_DOUBLE)
- remove hardcoded offsets (zval->value, zval->type)

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

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.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 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 agoupdate test case
Andrey Hristov [Fri, 8 Feb 2013 17:28:22 +0000 (18:28 +0100)]
update test case

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 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 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 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 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 agoExport new calls
Andrey Hristov [Thu, 7 Feb 2013 17:29:19 +0000 (18:29 +0100)]
Export new calls

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' 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 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 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.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.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.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 agomake libvpx optional
Anatoliy Belsky [Wed, 6 Feb 2013 15:22:27 +0000 (16:22 +0100)]
make libvpx optional

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 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.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 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 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 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 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 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.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

12 years agoRefactoring: move stuff to new conversions.c
Gustavo Lopes [Sun, 11 Nov 2012 23:40:38 +0000 (00:40 +0100)]
Refactoring: move stuff to new conversions.c

12 years agoSupport sticky IPV6_PKTINFO
Gustavo Lopes [Tue, 6 Nov 2012 16:27:08 +0000 (17:27 +0100)]
Support sticky IPV6_PKTINFO

12 years agoRename some functions for consistency
Gustavo Lopes [Tue, 6 Nov 2012 12:38:57 +0000 (13:38 +0100)]
Rename some functions for consistency

12 years agoDestroy ancillary registry on shutdown
Gustavo Lopes [Tue, 6 Nov 2012 12:36:40 +0000 (13:36 +0100)]
Destroy ancillary registry on shutdown

12 years agoMove some multicast stuff to multicast.c
Gustavo Lopes [Tue, 6 Nov 2012 11:48:47 +0000 (12:48 +0100)]
Move some multicast stuff to multicast.c

12 years agoFix mcast_ipv6_send test
Gustavo Lopes [Tue, 6 Nov 2012 10:25:23 +0000 (11:25 +0100)]
Fix mcast_ipv6_send test