Imported Upstream version 2.11.02
tony mancill
11 years ago
0 | |
#define VERSION "2.11.01"
|
|
0 |
#define VERSION "2.11.02"
|
1 | 1 |
#define YEARS "2005-2013"
|
|
0 |
stealth (2.11.02)
|
|
1 |
|
|
2 |
* Stealth returns 0 for options --help and --version
|
|
3 |
|
|
4 |
* Catching Errno exceptions is replaced by catching std::exception
|
|
5 |
exceptions
|
|
6 |
|
|
7 |
-- Frank B. Brokken <f.b.brokken@rug.nl> Fri, 25 Jan 2013 11:15:36 +0100
|
|
8 |
|
0 | 9 |
stealth (2.11.01)
|
1 | 10 |
|
2 | 11 |
* Construction of ps and pdf versions of the stealth manual was accidenally
|
41 | 41 |
|
42 | 42 |
return 0;
|
43 | 43 |
}
|
44 | |
catch(Errno &e)
|
|
44 |
catch(exception const &e)
|
45 | 45 |
{
|
46 | |
cerr << "Exception " << e.why() << "\n";
|
|
46 |
cerr << "Exception " << e.what() << "\n";
|
47 | 47 |
return 1;
|
48 | 48 |
}
|
49 | 49 |
}
|
50 | 50 |
monitor.control(); // control the scanning process,
|
51 | 51 |
// run all the Scanner's tests
|
52 | 52 |
}
|
53 | |
catch (Errno const &err)
|
|
53 |
catch (exception const &err)
|
54 | 54 |
{
|
55 | |
if (err.which())
|
56 | |
cerr << err.why() << '\n';
|
57 | |
return err.which();
|
58 | |
}
|
59 | |
catch (exception const &ex)
|
60 | |
{
|
61 | |
cerr << "\n"
|
62 | |
"Stealth terminated with an exception `" << ex.what() << "'\n" <<
|
63 | |
"This should not have happened, please report this error and the "
|
64 | |
"circumstances\n"
|
65 | |
"causing it to Stealth's author\n";
|
66 | |
|
|
55 |
cerr << err.what() << '\n';
|
67 | 56 |
return 1;
|
68 | 57 |
}
|
69 | 58 |
catch (int ret)
|