/[svn]/ircd-hybrid-8/src/version.c
ViewVC logotype

Diff of /ircd-hybrid-8/src/version.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1401 by michael, Sun Apr 1 16:35:53 2012 UTC revision 1402 by michael, Wed May 9 18:42:45 2012 UTC
# Line 24  Line 24 
24  #include "patchlevel.h"  #include "patchlevel.h"
25  #include "serno.h"  #include "serno.h"
26  #include "ircd.h"  #include "ircd.h"
 #include <sys/utsname.h>  
27    
28  const char *ircd_version = PATCHLEVEL;  const char *ircd_version = PATCHLEVEL;
29  const char *serno = SERIALNUM;  const char *serno = SERIALNUM;
30    
 char *  
 get_ircd_platform(char *str)  
 {  
   struct utsname uts;  
   
   uname(&uts);  
   snprintf(str, PLATFORMLEN, "%s %s %s %s %s", uts.sysname, uts.nodename,  
            uts.release, uts.version, uts.machine);  
   return str;  
 }  
   
31  const char *infotext[] =  const char *infotext[] =
32  {  {
33    "IRC --",    "IRC --",

Legend:
Removed from v.1401  
changed lines
  Added in v.1402

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28