[D-runtime] [D-Programming-Language/druntime] 3f2ff0: Add CMSG_ALIGN and CMSG_LEN for Linux

GitHub via D-runtime d-runtime at puremagic.com
Sun Dec 7 19:08:05 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: 3f2ff007867e4e35e9079da1bd93c086636a038e
      https://github.com/D-Programming-Language/druntime/commit/3f2ff007867e4e35e9079da1bd93c086636a038e
  Author: Paul O'Neil <redballoon36 at gmail.com>
  Date:   2014-11-21 (Fri, 21 Nov 2014)

  Changed paths:
    M src/core/sys/posix/sys/socket.d

  Log Message:
  -----------
  Add CMSG_ALIGN and CMSG_LEN for Linux


  Commit: 3485a3080fbbeb14a17b1dd4bbe87088332ad585
      https://github.com/D-Programming-Language/druntime/commit/3485a3080fbbeb14a17b1dd4bbe87088332ad585
  Author: Paul O'Neil <redballoon36 at gmail.com>
  Date:   2014-11-21 (Fri, 21 Nov 2014)

  Changed paths:
    M src/core/sys/posix/sys/socket.d

  Log Message:
  -----------
  Move the size_t cast inside the comparison so the result of CMSG_FIRSTHDR is a pointer to the first header


  Commit: 0606b1b3c8d1518ed6bb34d70a90fa36a8aac481
      https://github.com/D-Programming-Language/druntime/commit/0606b1b3c8d1518ed6bb34d70a90fa36a8aac481
  Author: Paul O'Neil <redballoon36 at gmail.com>
  Date:   2014-11-21 (Fri, 21 Nov 2014)

  Changed paths:
    M src/core/sys/posix/sys/socket.d

  Log Message:
  -----------
  Note about protection of CMSG_NXTHDR


  Commit: d77ba1f858c672e8c72e0e699467dcf8df658c99
      https://github.com/D-Programming-Language/druntime/commit/d77ba1f858c672e8c72e0e699467dcf8df658c99
  Author: Paul O'Neil <redballoon36 at gmail.com>
  Date:   2014-11-21 (Fri, 21 Nov 2014)

  Changed paths:
    M src/core/sys/posix/sys/socket.d

  Log Message:
  -----------
  Mark at least some of CMSG_* pure, because they are


  Commit: 19b8ff85bcc8a2d67d35b587beb4e75b5f0eaab5
      https://github.com/D-Programming-Language/druntime/commit/19b8ff85bcc8a2d67d35b587beb4e75b5f0eaab5
  Author: Paul O'Neil <redballoon36 at gmail.com>
  Date:   2014-11-21 (Fri, 21 Nov 2014)

  Changed paths:
    M src/core/sys/posix/sys/socket.d

  Log Message:
  -----------
  Add pure nothrow and @nogc annotations


  Commit: 47ffda6224fa6ef9664c6f163e2666a8696a2709
      https://github.com/D-Programming-Language/druntime/commit/47ffda6224fa6ef9664c6f163e2666a8696a2709
  Author: Paul O'Neil <redballoon36 at gmail.com>
  Date:   2014-11-21 (Fri, 21 Nov 2014)

  Changed paths:
    M src/core/sys/posix/sys/socket.d

  Log Message:
  -----------
  Add inout qualifiers to CMSG_* "functions"

These are macros in the C headers, so this functionality matches there.
EXCEPT for CMSG_NXTHDR, which is a function.  It doesn't actually take
const arguments...


  Commit: 4458eb24b267bf11616c6a8b3bbc33d2bbfac08a
      https://github.com/D-Programming-Language/druntime/commit/4458eb24b267bf11616c6a8b3bbc33d2bbfac08a
  Author: Paul O'Neil <redballoon36 at gmail.com>
  Date:   2014-11-21 (Fri, 21 Nov 2014)

  Changed paths:
    M src/core/sys/posix/sys/socket.d

  Log Message:
  -----------
  Add CMSG_SPACE for Linux


  Commit: 0a0bf2dd00ade932eb44b5885d69b05822274b3e
      https://github.com/D-Programming-Language/druntime/commit/0a0bf2dd00ade932eb44b5885d69b05822274b3e
  Author: Paul O'Neil <redballoon36 at gmail.com>
  Date:   2014-11-21 (Fri, 21 Nov 2014)

  Changed paths:
    M src/core/sys/posix/sys/socket.d

  Log Message:
  -----------
  Make CMSG_NXTHDR a function instead of the alias, since the alias target is private


  Commit: 109a604a08c7592687a9b482ac2a8bb8ded80ccc
      https://github.com/D-Programming-Language/druntime/commit/109a604a08c7592687a9b482ac2a8bb8ded80ccc
  Author: Martin Nowak <code at dawg.eu>
  Date:   2014-12-08 (Mon, 08 Dec 2014)

  Changed paths:
    M src/core/sys/posix/sys/socket.d

  Log Message:
  -----------
  Merge pull request #1034 from todayman/sock-pr-1

Fixes & enhancements for Linux CMSG accessors


Compare: https://github.com/D-Programming-Language/druntime/compare/99eae1b50ac1...109a604a08c7


More information about the D-runtime mailing list