(file) Return to jsoc_version.h CVS log (file) (dir) Up to [Development] / JSOC / base

Diff for /JSOC/base/jsoc_version.h between version 1.23 and 1.141

version 1.23, 2009/01/30 00:07:11 version 1.141, 2021/02/17 00:25:19
Line 13 
Line 13 
  
 #define JSOC_VERSION_INCL 1 #define JSOC_VERSION_INCL 1
  
 #define jsoc_version "V5R0X"  #define jsoc_version "V9R41"
 #define jsoc_vers_num (-500)  #define jsoc_vers_num (941)
  
  
 static inline const char *jsoc_getversion(char *verstr, int size, int *isdev) static inline const char *jsoc_getversion(char *verstr, int size, int *isdev)
Line 23  static inline const char *jsoc_getversio
Line 23  static inline const char *jsoc_getversio
    char *pc = NULL;    char *pc = NULL;
    int len = strlen(jsoc_version);    int len = strlen(jsoc_version);
  
       if (vers)
       {
    if (isdev)    if (isdev)
    {    {
       *isdev = 0;       *isdev = 0;
Line 45  static inline const char *jsoc_getversio
Line 47  static inline const char *jsoc_getversio
  
    snprintf(verstr, size, "%s.%s", vers + 1, pc + 1);    snprintf(verstr, size, "%s.%s", vers + 1, pc + 1);
  
           free(vers);
       }
       else
       {
           fprintf(stderr, "Out of memory.\n");
       }
   
    return jsoc_version;    return jsoc_version;
 } }
  
 #endif  static inline const char *jsoc_get_make_root(void)
   {
       return DRMS_MAKE_ROOT_DIRECTORY;
   }
  
   #endif


Legend:
Removed from v.1.23  
changed lines
  Added in v.1.141

Karen Tian
Powered by
ViewCVS 0.9.4