Skip to content
  1. Jun 06, 2018
    • Stephan Mühlstrasser's avatar
      system.h: add support for IBM xlc C compiler · f8045799
      Stephan Mühlstrasser authored
      Added a section to system.h guarded with __xlc__ for the IBM xml C
      compiler. Before this change the section titled 'generic "safe guess" on
      old 32 bit style' was used, which resulted in a wrong definition of
      CURL_TYPEOF_CURL_SOCKLEN_T, and for 64-bit also CURL_TYPEOF_CURL_OFF_T
      was wrong.
      
      Compilation warnings fixed with this change:
      
        CC       libcurl_la-ftp.lo
      "ftp.c", line 290.55: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
      "ftp.c", line 293.48: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
      "ftp.c", line 1070.49: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
      "ftp.c", line 1154.53: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
      "ftp.c", line 1187.51: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
        CC       libcurl_la-connect.lo
      "connect.c", line 448.56: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
      "connect.c", line 516.66: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
      "connect.c", line 687.55: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
      "connect.c", line 696.55: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
        CC       libcurl_la-tftp.lo
      "tftp.c", line 1115.33: 1506-280 (W) Function argument assignment between types "unsigned long* restrict" and "int*" is not allowed.
      
      Closes #2637
      f8045799
  2. Jun 05, 2018
  3. Jun 03, 2018
    • Viktor Szakats's avatar
      spelling fixes · 4bd91bc4
      Viktor Szakats authored
      Detected using the `codespell` tool (version 1.13.0).
      
      Also secure and fix an URL.
      4bd91bc4
  4. Jun 02, 2018
  5. Jun 01, 2018
  6. May 31, 2018
  7. May 30, 2018
    • Viktor Szakats's avatar
      curl.rc: embed manifest for correct Windows version detection · ebd21327
      Viktor Szakats authored
      * enable it in `src/Makefile.m32`
      * enable it in `winbuild/MakefileBuild.vc` if a custom manifest is
        _not_ enabled via the existing `EMBED_MANIFEST` option
      * enable it for all Windows CMake builds (also disable the built-in
        minimal manifest, added by CMake by default.)
      
      For other build systems, add the `-DCURL_EMBED_MANIFEST` option to
      the list of RC (Resource Compiler) flags to enable the manifest
      included in `src/curl.rc`. This may require to disable whatever
      automatic or other means in which way another manifest is added to
      `curl.exe`.
      
      Notice that Borland C doesn't support this method due to a
      long-pending resource compiler bug. Watcom C may also not handle
      it correctly when the `-zm` `wrc` option is used (this option may
      be unnecessary though) and regardless of options in certain earlier
      revisions of the 2.0 beta version.
      
      Closes https://github.com/curl/curl/pull/1221
      Fixes https://github.com/curl/curl/issues/2591
      ebd21327
  8. May 29, 2018
  9. May 28, 2018
  10. May 27, 2018