Changeset 545 for CMT/HEAD/source


Ignore:
Timestamp:
Jul 2, 2010, 9:57:05 AM (14 years ago)
Author:
rybkin
Message:

See C.L. 430

Location:
CMT/HEAD/source
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/source/cmt_symbol.cxx

    r531 r545  
    27792779        {
    27802780          if (!tag->is_selected ()) continue;
     2781          selected = value_number;
     2782          if (tag == Tag::get_default ())
     2783            continue;
    27812784        }
    27822785      else
     
    27852788          selected = value_number;
    27862789        }
     2790
     2791      //
     2792      // Only the value for the first alternative (i.e. non-default)
     2793      // matching tag expression is
     2794      // selected (which means the selection stops here)
     2795      //
     2796      break;
    27872797
    27882798      //
     
    27912801      // of '>=')
    27922802      //
    2793 
     2803      /*
    27942804      if (tag->get_priority () > priority)
    27952805        {
     
    27972807          selected = value_number;
    27982808        }
     2809      */
    27992810    }
    28002811
  • CMT/HEAD/source/cmt_system.cxx

    r542 r545  
    3838#include <time.h>
    3939#include <dirent.h>
     40#include <sys/utsname.h>
    4041#endif
    4142
     
    11641165
    11651166  uname = "";
    1166 
     1167  struct utsname buf;
     1168
     1169  if (::uname (&buf) >= 0)
     1170    {
     1171      uname = buf.sysname;
     1172    }
     1173  else
     1174    {
     1175      perror ("uname");
     1176    }
     1177
     1178  /*
    11671179  FILE* file;
    11681180
     
    11861198      pclose (file);
    11871199    }
     1200  */
    11881201#endif
    11891202}
Note: See TracChangeset for help on using the changeset viewer.