Skip to content
Snippets Groups Projects
  1. Nov 16, 2009
  2. Nov 15, 2009
    • Yang Tse's avatar
      · 5b3be2ee
      Yang Tse authored
      getaddrinfo is fully thread safe on solaris versions which
      implement the function even when h_errno is not a macro.
      
      The h_errno macro test now only done on systems for which there
      is no hard coded knowledge about getaddrinfo's thread safeness.
      5b3be2ee
    • Yang Tse's avatar
      · 0e80f0e4
      Yang Tse authored
      Remove files generated on previous buildconf/configure run
      0e80f0e4
    • Yang Tse's avatar
      · 581ce033
      Yang Tse authored
      Remove enable-thread / disable-thread configure option. These were only placebo
      options. The library is always built as thread safe as possible on every system.
      581ce033
  3. Nov 14, 2009
    • Yang Tse's avatar
      · 1cbc93fb
      Yang Tse authored
      Refactor how preprocessor symbol _THREAD_SAFE definition is done.
      1cbc93fb
  4. Nov 13, 2009
    • Yang Tse's avatar
      Assume that getaddrinfo is thread safe, unless hard coded · 5e75817d
      Yang Tse authored
      knowledge says the contrary or h_errno is not defined.
      5e75817d
    • Yang Tse's avatar
      Related with the threadsafe capability of getaddrinfo: · a7e4022d
      Yang Tse authored
      - Constantine Sapuntzakis reported that Darwin 6.0 a.k.a. MAC OS X 10.2
        and newer have a threadsafe getaddrinfo.
      
      - Fix Dragonfly BSD triplet detection.
      
      - In case the hard-coded knowledge says that getaddrinfo is threadsafe,
        an additional check is done to verify that h_errno is also defined.
        If h_errno isn't defined, we finally assume that it isn't threadsafe.
        Jamie Lokier provided the inspiration for this extra check.
      a7e4022d
  5. Nov 12, 2009
  6. Nov 11, 2009
  7. Nov 10, 2009
  8. Nov 09, 2009
  9. Nov 05, 2009
  10. Nov 04, 2009
  11. Nov 02, 2009
  12. Nov 01, 2009
    • Yang Tse's avatar
      · db1281fa
      Yang Tse authored
      Undo old temporary change once used for testing purposes
      db1281fa
  13. Oct 31, 2009
    • Yang Tse's avatar
      Mention many changes · d8884168
      Yang Tse authored
      d8884168
    • Yang Tse's avatar
      Mention --enable-symbol-hiding configure option · 5dd64e9e
      Yang Tse authored
      5dd64e9e
    • Yang Tse's avatar
      · ce6731ba
      Yang Tse authored
      Symbol hiding configure options renamed to the hopefully less ambiguous
      --enable-symbol-hiding and --disable-symbol-hiding as well as related
      macro names and some internal variables used for them.
      
      Related configuration file preprocessor symbols named to
      CARES_SYMBOL_HIDING and CARES_SYMBOL_SCOPE_EXTERN.
      ce6731ba
  14. Oct 30, 2009
    • Yang Tse's avatar
      Header inclusion depending on HAVE_* symbol. · 0a5ac52b
      Yang Tse authored
      Fix two typos.
      0a5ac52b
    • Yang Tse's avatar
      Comparison of the Initial revision of this file with ares_parse_a_reply.c · 8acb3803
      Yang Tse authored
      shows that this one is actually a modified copy of ares_parse_a_reply.c.
      
      In order to comply with ares_parse_a_reply.c's M.I.T. license, the old
      1998 M.I.T. copyright notice is now also preserved in this file the same
      as it is done in other ares_parse_*.c files.
      8acb3803
    • Yang Tse's avatar
      Add CVS Id tag. · ac62a94d
      Yang Tse authored
      Fix identation of some license lines.
      ac62a94d
    • Yang Tse's avatar
      Add CVS Id tag. · 0abcb37e
      Yang Tse authored
      0abcb37e
    • Yang Tse's avatar
      Fix comment · 7da5efd5
      Yang Tse authored
      7da5efd5
    • Yang Tse's avatar
      In no particular order, changed/fixed all of the following in · d4ff44d5
      Yang Tse authored
      ares_parse_txt_reply() current version:
      
      - Fixed a couple of potential double free's.
      
      - Fixed memory leaks upon out of memory condition.
      
      - Fixed pointer arithmetic.
      
      - Setting ntxtreply to zero upon entry for all failure cases.
      
      - Changed data type to size_t for variables substr_len, str_len and
        the length member of ares_txt_reply struct.
      
      - Avoided a couple of memcpy() calls.
      
      - Changed i data type to unsigned int to prevent compiler warnings.
      
      - Adjusted a comment.
      
      - Use ARES_SUCCESS literal for successfull completion.
      
      - Added CVS Id tag.
      d4ff44d5
  15. Oct 29, 2009
Loading