Skip to content
  1. Jul 03, 2017
    • Johannes Schindelin's avatar
      gtls: fix build when sizeof(long) < sizeof(void *) · c0cdc68c
      Johannes Schindelin authored
      
      
      - Change gnutls pointer/int macros to pointer/curl_socket_t.
        Prior to this change they used long type as well.
      
      The size of the `long` data type can be shorter than that of pointer
      types. This is the case most notably on Windows.
      
      If C99 were acceptable, we could simply use `intptr_t` here. But we
      want to retain C89 compatibility.
      
      Simply use the trick of performing pointer arithmetic with the NULL
      pointer: to convert an integer `i` to a pointer, simply take the
      address of the `i`th element of a hypothetical character array
      starting at address NULL. To convert back, simply cast the pointer
      difference.
      
      Thanks to Jay Satiro for the initial modification to use curl_socket_t
      instead of int/long.
      
      Closes #1617
      
      Signed-off-by: default avatarJohannes Schindelin <johannes.schindelin@gmx.de>
      c0cdc68c
    • Ryan Winograd's avatar
      unit1399: fix integer overflow · 3a48a132
      Ryan Winograd authored
      Bug: #1616
      Closes #1633
      3a48a132
  2. Jul 01, 2017
  3. Jun 30, 2017
  4. Jun 28, 2017
  5. Jun 27, 2017
    • Daniel Stenberg's avatar
      libtest/make: generate lib1521.c · 467da3af
      Daniel Stenberg authored
      ... instead of having the generated code checked in. This saves space in
      the tarball but primarily automatically adapts to newly added options.
      
      Closes #1614
      467da3af
  6. Jun 26, 2017
  7. Jun 25, 2017
  8. Jun 24, 2017
  9. Jun 23, 2017
  10. Jun 22, 2017
  11. Jun 21, 2017
  12. Jun 20, 2017