You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Roger Meier <ro...@bufferoverflow.ch> on 2013/08/28 22:27:37 UTC

AW: git commit: THRIFT-2023: gettimeofday implementation in Windows errors when no time zone is passed in Client: cpp Patch: Ben Craig

Welcome Ben!

;-r

> -----Ursprüngliche Nachricht-----
> Von: bencraig@apache.org [mailto:bencraig@apache.org]
> Gesendet: Mittwoch, 28. August 2013 22:14
> An: commits@thrift.apache.org
> Betreff: git commit: THRIFT-2023: gettimeofday implementation in Windows
> errors when no time zone is passed in Client: cpp Patch: Ben Craig
> 
> Updated Branches:
>   refs/heads/master 452dd5b42 -> 9df014012
> 
> 
> THRIFT-2023: gettimeofday implementation in Windows errors when no time
> zone is passed in
> Client: cpp
> Patch: Ben Craig
> 
> 
> Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
> Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/9df01401
> Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/9df01401
> Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/9df01401
> 
> Branch: refs/heads/master
> Commit: 9df014012e6fb2f831a49b6f7431380566483048
> Parents: 452dd5b
> Author: Ben Craig <be...@apache.org>
> Authored: Wed Aug 28 15:08:23 2013 -0500
> Committer: Ben Craig <be...@apache.org>
> Committed: Wed Aug 28 15:08:23 2013 -0500
> 
> ----------------------------------------------------------------------
>  lib/cpp/src/thrift/windows/GetTimeOfDay.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> ----------------------------------------------------------------------
> 
> 
> http://git-wip-
> us.apache.org/repos/asf/thrift/blob/9df01401/lib/cpp/src/thrift/windows/G
> etTimeOfDay.cpp
> ----------------------------------------------------------------------
> diff --git a/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
> b/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
> index 1906302..c5667e4 100644
> --- a/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
> +++ b/lib/cpp/src/thrift/windows/GetTimeOfDay.cpp
> @@ -88,7 +88,7 @@ int thrift_gettimeofday(struct timeval * tv, struct
> timezone * tz)
>          }
>      }
> 
> -    return -1;
> +    return 0;
>  }
> 
>  int thrift_sleep(unsigned int seconds)
>