Changeset 545


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

See C.L. 430

Location:
CMT/HEAD
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/ChangeLog

    r542 r545  
     12010-07-02    <rybkin@lal.in2p3.fr> 430
     2
     3        * source/cmt_system.cxx: In function get_uname, use "uname" system call
     4        rather than "popen". This call conforms to POSIX.1-2001, does NOT exist
     5        in 4.3BSD
     6        * source/cmt_symbol.cxx: In function select_first, when several alternative
     7        values are specified through several tag-value pairs, select the first
     8        matching condition (rather than based on conditions priorities)
     9        * mgr/fragments/library_no_static: Generate <library>.stamp in addition to
     10        <library>.shstamp
     11        * mgr/fragments/nmake/library_no_static: idem
     12       
    1132010-04-05    <rybkin@lal.in2p3.fr> 429
    214
     
    4759        strcpy
    4860        * source/cmt_use.cxx: In function move_to, minor simplification
    49         path first, if it is specified
    5061       
    51622010-03-29    <rybkin@lal.in2p3.fr> 424
  • CMT/HEAD/mgr/fragments/library_no_static

    r487 r545  
    3333
    3434$(${CONSTITUENT}shstamp) :: $(${CONSTITUENT}libname).$(shlibsuffix)
    35         $(lib_silent) if test -f $(${CONSTITUENT}libname).$(shlibsuffix) ; then cat /dev/null >$(${CONSTITUENT}shstamp) ; fi
     35        $(lib_silent) if test -f $(${CONSTITUENT}libname).$(shlibsuffix) ; then \
     36          cat /dev/null >$(${CONSTITUENT}stamp) && \
     37          cat /dev/null >$(${CONSTITUENT}shstamp) ; fi
    3638
    3739${CONSTITUENT}clean ::
  • CMT/HEAD/mgr/fragments/nmake/library_no_static

    r492 r545  
    3232        $(lib_silent) link.exe /nologo /dll /out:$(bin)${CONSTITUENT}.dll $(bin)${CONSTITUENT}.exp @$(bin)${CONSTITUENT}.txt $(cpplinkflags) $(${CONSTITUENT}_shlibflags)
    3333!ENDIF
     34        $(lib_silent) if exist $(bin)${CONSTITUENT}.dll echo "" >$(${CONSTITUENT}stamp)
    3435        $(lib_silent) if exist $(bin)${CONSTITUENT}.dll echo "" >$(${CONSTITUENT}shstamp)
    3536
  • 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.