diff options
-rw-r--r-- | ACE/ChangeLog | 18 | ||||
-rw-r--r-- | ACE/apps/gperf/src/Gen_Perf.cpp | 6 | ||||
-rwxr-xr-x | ACE/bin/fuzz.pl | 10 | ||||
-rwxr-xr-x | ACE/bin/generate_rel_manpages | 5 | ||||
-rw-r--r-- | ACE/docs/bczar/bczar.html | 2 | ||||
-rw-r--r-- | ACE/tests/Env_Value_Test.cpp | 4 | ||||
-rw-r--r-- | ACE/tests/Reactor_Fairness_Test.cpp | 2 |
7 files changed, 30 insertions, 17 deletions
diff --git a/ACE/ChangeLog b/ACE/ChangeLog index 491cbc2ef8d..a7c3fc7cc0b 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,21 @@ +Wed Apr 20 08:53:55 UTC 2011 Johnny Willemsen <jwillemsen@remedy.nl> + + * apps/gperf/src/Gen_Perf.cpp: + Fixed coverity errors + + * bin/fuzz.pl: + Extended fuzz + + * bin/generate_rel_manpages: + Removed obsolete make steps + + * docs/bczar/bczar.html: + zip should also be available + + * tests/Env_Value_Test.cpp: + * tests/Reactor_Fairness_Test.cpp: + Layout changes + Wed Apr 20 09:52:52 CEST 2011 Johnny Willemsen <jwillemsen@remedy.nl> * ACE version 6.0.2 released. diff --git a/ACE/apps/gperf/src/Gen_Perf.cpp b/ACE/apps/gperf/src/Gen_Perf.cpp index 27f58d0f19b..0b060bbf24f 100644 --- a/ACE/apps/gperf/src/Gen_Perf.cpp +++ b/ACE/apps/gperf/src/Gen_Perf.cpp @@ -39,8 +39,10 @@ extern const char *version_string; /// the maximum hash table size. Note: using the random numbers is /// often helpful, though not as deterministic, of course! Gen_Perf::Gen_Perf (void) - : fewest_collisions (0), - num_done (1) + : max_hash_value (0), + fewest_collisions (0), + num_done (1), + union_set (0) { } diff --git a/ACE/bin/fuzz.pl b/ACE/bin/fuzz.pl index 61d5161b99e..55c127eb711 100755 --- a/ACE/bin/fuzz.pl +++ b/ACE/bin/fuzz.pl @@ -483,7 +483,7 @@ sub check_for_ACE_Guard () sub check_for_tab () { print "Running tabs check\n"; - ITERATION: foreach $file (@files_cpp, @files_inl, @files_h, @files_idl, @files_cdp, @files_doxygen) { + ITERATION: foreach $file (@files_cpp, @files_inl, @files_h, @files_idl, @files_cdp, @files_doxygen, @@files_changelog) { if (open (FILE, $file)) { my $disable = 0; print "Looking at file $file\n" if $opt_d; @@ -1760,7 +1760,7 @@ sub check_for_changelog_errors () print_error ("$file:$.: Backslashes in file path"); } - # Check for CVS conflict tags + # Check for svn conflict tags if (m/^<<<<</ || m/^=====/ || m/^>>>>>/) { print_error ("$file:$.: svn conflict markers"); } @@ -2012,8 +2012,8 @@ sub check_for_old_documentation_style () print "Looking at file $file\n" if $opt_d; while (<FILE>) { - if (/\/\/\= TITLE/) { - print_error ("$file:$.: found old documentation style //= TITLE"); + if (/\/\/\s*\= TITLE/) { + print_error ("$file:$.: found old documentation style // = TITLE"); } } close (FILE); @@ -2300,7 +2300,7 @@ check_for_TAO_Local_RefCounted_Object () if ($opt_l >= 1); check_for_include_OS_h () if ($opt_l >= 1); check_for_numeric_log () if ($opt_l >= 3); check_for_ORB_init () if ($opt_l >= 1); -check_for_old_documentation_style () if ($opt_l >= 5); +check_for_old_documentation_style () if ($opt_l >= 6); print "\nfuzz.pl - $errors error(s), $warnings warning(s)\n"; diff --git a/ACE/bin/generate_rel_manpages b/ACE/bin/generate_rel_manpages index 16faa4ce41c..b0579121edc 100755 --- a/ACE/bin/generate_rel_manpages +++ b/ACE/bin/generate_rel_manpages @@ -33,7 +33,6 @@ my $find = 'find'; my $gzip = 'gzip'; my $bzip = 'bzip2'; my $tar = 'tar'; -my $make = 'make -f Release -s'; my $mv = 'mv -f'; my $scp = 'scp '; my $rm = 'rm -f'; @@ -54,10 +53,6 @@ my $bin_files = "\"\\.mak|\\.mdp|\\.ide|\\.exe\|\\.ico\|\\.gz\|\\.zip\|" . "\\.gif|\\.vcp|\\.vcproj|\\.vcw|\\.sln\""; -my $release_files = ''; - -chomp ($release_files = `$make show_release_files`); - ######## ######## Main execution thread. ######## diff --git a/ACE/docs/bczar/bczar.html b/ACE/docs/bczar/bczar.html index a56923cebeb..d16a9a6a8b4 100644 --- a/ACE/docs/bczar/bczar.html +++ b/ACE/docs/bczar/bczar.html @@ -102,7 +102,7 @@ Make sure your release system has all the needed tools. This can be achieved on Fedora using: <ul> - <li><code>yum install perl svn screen pysvn automake doxygen bzip2 tar gzip openssh graphviz</code></li> + <li><code>yum install perl svn screen pysvn automake doxygen bzip2 tar gzip openssh graphviz zip</code></li> <li><code>yum update</code></li> </ul> </li> diff --git a/ACE/tests/Env_Value_Test.cpp b/ACE/tests/Env_Value_Test.cpp index 0411b8387cf..368ec76b83a 100644 --- a/ACE/tests/Env_Value_Test.cpp +++ b/ACE/tests/Env_Value_Test.cpp @@ -37,10 +37,8 @@ int #if 1 || defined (ACE_HAS_NONSTATIC_OBJECT_MANAGER) || defined (ACE_LACKS_FORK) // ACE_HAS_NONSTATIC_OBJECT_MANAGER only allows main to have two // arguments. And on platforms that lack fork (), we can't use spawn. -run_main (int argc, ACE_TCHAR* []) +run_main (int, ACE_TCHAR* []) { - ACE_UNUSED_ARG (argc); - // Only Win32 can set wide-char environment strings. So, for all // others, use char string literals regardless of ACE_USES_WCHAR. # if defined (ACE_WIN32) diff --git a/ACE/tests/Reactor_Fairness_Test.cpp b/ACE/tests/Reactor_Fairness_Test.cpp index dbc5f0478d3..62fb7035b62 100644 --- a/ACE/tests/Reactor_Fairness_Test.cpp +++ b/ACE/tests/Reactor_Fairness_Test.cpp @@ -395,7 +395,7 @@ run_main (int argc, ACE_TCHAR *argv[]) int run_main (int, ACE_TCHAR *[]) { - ACE_START_TEST (ACE_TEXT ("Reactor_Performance_Test")); + ACE_START_TEST (ACE_TEXT ("Reactor_Fairness_Test")); ACE_ERROR ((LM_INFO, ACE_TEXT ("threads not supported on this platform\n"))); |