Changeset 475
- Timestamp:
- Aug 31, 2007, 3:27:33 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r464 r475 31 31 - http://trac.thep.lu.se/trac/svndigest/query?milestone=0.7&order=id 32 32 33 version 0.6.3: 34 - http://trac.thep.lu.se/trac/svndigest/log/branches/0.6-stable?rev=472&stop_rev=460 35 - http://trac.thep.lu.se/trac/svndigest/query?milestone=0.6.3&order=id 36 33 37 version 0.6.2: 34 38 - http://trac.thep.lu.se/trac/svndigest/log/branches/0.6-stable?rev=459&stop_rev=438 -
trunk/NEWS
r462 r475 7 7 A complete list of closed tickets can be found here [[br]] 8 8 http://lev.thep.lu.se/trac/svndigest/query?status=closed&milestone=0.7 9 10 version 0.6.3 (released 31 August 2007) 11 - Copyright update is no longer adding newline to file (ticket:264) 12 - Commandline parsing now accepts '=' syntax (ticket:259) 13 14 A complete list of closed tickets can be found here [[br]] 15 http://trac.thep.lu.se/trac/svndigest/query?status=closed&milestone=0.6.3 9 16 10 17 Version 0.6.2 (released 21 August 2007) -
trunk/bin/Parameter.cc
r442 r475 2 2 3 3 /* 4 Copyright (C) 2006, 2007 Jari H äkkinen, Peter Johansson4 Copyright (C) 2006, 2007 Jari Häkkinen, Peter Johansson 5 5 6 6 This file is part of svndigest, http://trac.thep.lu.se/trac/svndigest … … 43 43 for (int i=1; i<argc; ++i) { 44 44 bool ok=false; 45 std::string myargv(argv[i]); 45 std::stringstream ss(argv[i]); 46 std::string myargv(""); 47 std::string value(""); 48 getline(ss, myargv, '='); 49 getline(ss, value); 50 46 51 if (myargv=="--config-file"){ 47 if (++i<argc){ 52 if (value.size()) { 53 config_file_= value; 54 ok=true; 55 } 56 else if (++i<argc){ 48 57 config_file_= std::string(argv[i]); 49 58 ok=true; … … 67 76 } 68 77 else if (myargv=="-r" || myargv=="--root"){ 69 if (++i<argc){ 78 if (value.size()) { 79 root_= value; 80 ok=true; 81 } 82 else if (++i<argc){ 70 83 root_= std::string(argv[i]); 71 84 ok=true; … … 85 98 } 86 99 else if (myargv=="-t" || myargv=="--target"){ 87 if (++i<argc){ 100 if (value.size()) { 101 targetdir_= value; 102 ok=true; 103 } 104 else if (++i<argc){ 88 105 targetdir_= std::string(argv[i]); 89 106 ok=true; … … 219 236 cs.width(0)=79; 220 237 cs << PACKAGE_STRING 221 << "\nCopyright (C) 2007 Jari H äkkinen and Peter Johansson.\n\n"238 << "\nCopyright (C) 2007 Jari Häkkinen and Peter Johansson.\n\n" 222 239 << "This is free software; see the source for copying conditions. " 223 240 << "There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR " -
trunk/lib/File.cc
r462 r475 357 357 } 358 358 // Copy lines after block 359 while(getline(is, line)) 360 tmp << line << "\n"; 359 while(is.good()) { 360 char ch=is.get(); 361 if (i.good()) 362 tmp.put(ch); 363 } 361 364 362 365 is.close();
Note: See TracChangeset
for help on using the changeset viewer.