(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.62 and 1.63

version 1.62, 2012/08/23 13:22:56 version 1.63, 2012/08/28 14:50:38
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;
 } }
  


Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

Karen Tian
Powered by
ViewCVS 0.9.4