Changeset 4023

Show
Ignore:
Timestamp:
04/02/06 23:42:27 (2 years ago)
Author:
morris
Message:

Sync

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trackerd/trunk/config.h.in

    r4017 r4023  
    6464#undef WT_BUGREPORT 
    6565 
    66 /* Host CPU */ 
    67 #undef WT_CPU 
    68  
    6966/* Group name */ 
    7067#undef WT_GROUP 
  • trackerd/trunk/configure

    r4017 r4023  
    14221422cat >>confdefs.h <<\_ACEOF 
    14231423#define WT_BUGREPORT "axel@zankasoftware.com" 
    1424 _ACEOF 
    1425  
    1426  
    1427 cat >>confdefs.h <<_ACEOF 
    1428 #define WT_CPU "$host_cpu" 
    14291424_ACEOF 
    14301425 
  • trackerd/trunk/configure.in

    r4017 r4023  
    1212AC_DEFINE([WT_PROTOCOL_VERSION], ["1.0"], [Protocol version]) 
    1313AC_DEFINE([WT_BUGREPORT], ["AC_PACKAGE_BUGREPORT"], [Maintainer's email address]) 
    14 AC_DEFINE_UNQUOTED([WT_CPU], ["$host_cpu"], [Host CPU]) 
    1514 
    1615# These are used in the Makefile 
  • trackerd/trunk/trackerd/version.c

    r3947 r4023  
    2929#include "config.h" 
    3030 
    31 #include <sys/utsname.h> 
    3231#include <openssl/ssl.h> 
    3332 
     
    4039 
    4140void wt_init_version(void) { 
    42         struct utsname          name; 
    43          
    44         uname(&name); 
    45  
    4641        wt_version_string                       = wi_string_init_with_cstring(wi_string_alloc(), WT_VERSION); 
    4742        wt_protocol_version_string      = wi_string_init_with_cstring(wi_string_alloc(), WT_PROTOCOL_VERSION); 
    48         wt_server_version_string        = wi_string_init_with_format(wi_string_alloc(), WI_STR("Wired Tracker/%@ (%s; %s; %s) (%s)"), 
     43        wt_server_version_string        = wi_string_init_with_format(wi_string_alloc(), WI_STR("Wired Tracker/%@ (%@; %@; %@) (%s)"), 
    4944                wt_version_string, 
    50                 name.sysname
    51                 name.release
    52                 WT_CPU
     45                wi_process_os_name(wi_process())
     46                wi_process_os_release(wi_process())
     47                wi_process_os_arch(wi_process())
    5348                SSLeay_version(SSLEAY_VERSION)); 
    5449}