1. 20 Feb, 2007 4 commits
    • Yang Tse's avatar
      curl tool was using functions curlx_tvnow and curlx_tvdiff which are not · e268e855
      Yang Tse authored
      part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx
      The documented way of using them would be to use timeval.c as a source code file.
      
      The above described method works very well when statically linking libcurl and
      apps, curl tool, but has several drawbacks when you build a true shared
      libcurl (i.e. Name space clash at linkage stage as functions are defined more
      than once. Windows makefiles are not capable of handling this system of
      source-level sharing)
      
      So...
      
      Now curlutil.h and curlutil.c define and implement cutil_tvnow and cutil_tvdiff
      which replace curlx_tvnow and curlx_tvdiff for the curl tool. Doing this we
      avoid the above described problems.
      e268e855
    • Yang Tse's avatar
      Move header file inclusion logic and definition of timeval · 29bb6f65
      Yang Tse authored
      struct for platforms that don't have it to setup_once.h
      29bb6f65
    • Yang Tse's avatar
      Several corrections & changes to what has been stated in revision 1.45 · 37f07a54
      Yang Tse authored
      1) The maketgz script does not insert the timestamp in curlver.h,
         it actually updates it. For CVS versions it is the "CVS" string.
      
      2) testcurl.pl will always print the "date" string which represents
         the moment the test build is run.
      
      3) testcurl.pl may not print the "timestamp" string since the script
         may end before it is printed out. (i.e. unable to update from CVS)
      
      4) The "timestamp" string printed will be the same as the "date" one
         unless one of the following conditions is met.
      
         *) It is a tarball-based build. Timestamp will be creation time.
      
         *) CVS update has been done. Timestamp will be end of CVS update.
      37f07a54
    • Yang Tse's avatar
      add tutil_tvdiff_secs() for completeness · da8c666e
      Yang Tse authored
      da8c666e
  2. 19 Feb, 2007 16 commits
  3. 18 Feb, 2007 3 commits
  4. 17 Feb, 2007 10 commits
  5. 16 Feb, 2007 7 commits