- Timestamp:
- Mar 14, 2010, 9:57:53 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/0.6-stable merged: 2203-2204,2207,2212,2215
- Property svn:mergeinfo changed
-
trunk/NEWS
r2202 r2217 10 10 11 11 yat 0.6.x series from http://dev.thep.lu.se/yat/svn/branches/0.6-stable 12 13 Version 0.6.1 (released 14 March 2010) 14 15 - fixed bug with `yat-config --ldflags` (#615) 16 - fixed bug in FileUtil::permission when file does not exist (#617) 17 18 A complete list of closed tickets can be found here [[br]] 19 http://dev.thep.lu.se/yat/query?status=closed&milestone=yat+0.6.1 12 20 13 21 Version 0.6 (released 21 February 2010) -
trunk/build_support/yat-config.in
r2119 r2217 2 2 3 3 # Copyright (C) 2008 Jari Häkkinen, Peter Johansson 4 # Copyright (C) 2009 Peter Johansson4 # Copyright (C) 2009, 2010 Peter Johansson 5 5 # 6 6 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 150 150 if test "x$libdir" = "x/usr/lib"; then 151 151 : # ignore standard '/usr/lib' 152 elif (test "$CXX" ="g++" &&153 test "x$libdir" ="x/usr/local/lib"); then152 elif (test "$CXX" = "g++" && 153 test "x$libdir" = "x/usr/local/lib"); then 154 154 : # ignore '/usr/local/lib' if we use g++ 155 155 else -
trunk/m4/version.m4
r2202 r2217 28 28 m4_define([MINOR_VERSION], [7]) 29 29 # PATCH - Modify for every released patch 30 m4_define([PATCH_VERSION], [ 0])30 m4_define([PATCH_VERSION], [1]) 31 31 32 32 # DEV_BUILD - When rolling a tarball we set this to `false'. In … … 62 62 # yat-0.5.6 2:5:0 63 63 # yat-0.6.0 3:0:0 64 # yat-0.6.1 3:1:0 64 65 # 65 66 # *Accidently, the libtool number was not updated for yat 0.5 -
trunk/m4/yat.m4
r2202 r2217 86 86 # 87 87 # Copyright (C) 2008 Jari Häkkinen, Peter Johansson 88 # Copyright (C) 2009 Peter Johansson88 # Copyright (C) 2009, 2010 Peter Johansson 89 89 # 90 90 # This file is part of the yat library, http://dev.thep.lu.se/yat … … 105 105 106 106 # 107 # serial 3# version number of yat.m4107 # serial 4 # version number of yat.m4 108 108 # 109 109 # see http://www.gnu.org/software/automake/manual/automake.html#Serials … … 111 111 AC_DEFUN([YAT_CHECK_YAT], 112 112 [ 113 AC_PREREQ([2. 58]) dnl we use AC_FIND_YAT113 AC_PREREQ([2.60]) dnl we use AC_FIND_YAT 114 114 ac_yat_check_yat_res="yes" 115 115 AC_REQUIRE([YAT_FIND_YAT]) dnl … … 125 125 AC_DEFUN([YAT_FIND_YAT], 126 126 [ 127 AC_PREREQ([2. 58]) dnl we use AS_HELP_STRING127 AC_PREREQ([2.60]) dnl we use multi-arg AS_IF 128 128 AC_ARG_WITH([yat], 129 129 [AS_HELP_STRING([--with-yat=DIR], … … 171 171 AC_DEFUN([YAT_CHECK_VERSION], 172 172 [ 173 AC_PREREQ([2. 58]) dnl we use YAT_FIND_YAT173 AC_PREREQ([2.60]) dnl we use YAT_FIND_YAT 174 174 AC_REQUIRE([YAT_FIND_YAT]) dnl 175 175 if test "$yat_config" != "no"; then … … 197 197 AC_DEFUN([YAT_CHECK_HEADER], 198 198 [ 199 AC_PREREQ([2. 58]) dnl we use YAT_FIND_YAT199 AC_PREREQ([2.60]) dnl we use YAT_FIND_YAT 200 200 AC_REQUIRE([YAT_FIND_YAT]) dnl 201 201 if test "$yat_config" != "no"; then … … 253 253 AC_DEFUN([YAT_CHECK_LIB], 254 254 [ 255 AC_PREREQ([2. 58]) dnl we use YAT_FIND_YAT255 AC_PREREQ([2.60]) dnl we use YAT_FIND_YAT 256 256 AC_REQUIRE([YAT_FIND_YAT]) dnl 257 257 if test "$yat_config" != "no"; then -
trunk/test/fileutil_test.cc
r2209 r2217 181 181 } 182 182 183 // checking permissions on non-existence file in `/' 184 try { 185 suite.err() << "FileUtil Test 7" << std::endl; 186 // intermediate dir must be unique! 187 utility::FileUtil file("/theplu_yat_fileutil_test.sdf34DSF"); 188 if(!suite.add(file.permissions("r") == 0)) { 189 suite.err() << " r permission failed on " << file.path() << std::endl; 190 } 191 } 192 catch (utility::IO_error e) { 193 suite.add(false); 194 suite.err() << e.what() << std::endl; 195 } 196 197 183 198 return suite.return_value(); 184 199 } -
trunk/yat/utility/FileUtil.cc
r2125 r2217 6 6 Copyright (C) 2006 Jari Häkkinen 7 7 Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson 8 Copyright (C) 2009 Peter Johansson8 Copyright (C) 2009, 2010 Peter Johansson 9 9 10 10 This file is part of the yat library, http://dev.thep.lu.se/yat … … 66 66 if (!exists()) { 67 67 std::string::size_type pos=path_.find_last_of('/'); 68 tryme = ( (pos!=std::string::npos) ? path_.substr(0,pos) : "." ); 68 if (pos == std::string::npos) 69 tryme = "."; 70 else if (pos == 0) 71 tryme = "/"; 72 else 73 tryme.resize(pos); 69 74 } 70 75
Note: See TracChangeset
for help on using the changeset viewer.