diff options
-rw-r--r-- | ASNMP/asnmp/ChangeLog | 16 | ||||
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | tests/Dirent_Test.cpp | 12 | ||||
-rw-r--r-- | tests/Makefile.tests | 212 |
4 files changed, 51 insertions, 192 deletions
diff --git a/ASNMP/asnmp/ChangeLog b/ASNMP/asnmp/ChangeLog index 08b47ee4786..9747ba4ad23 100644 --- a/ASNMP/asnmp/ChangeLog +++ b/ASNMP/asnmp/ChangeLog @@ -1,3 +1,19 @@ +Thu Apr 22 23:03:48 2004 Ossama Othman <ossama@dre.vanderbilt.edu> + + * address.cpp: + * address.h: + * octet.cpp: + * octet.h: + * oid.cpp: + * oid.h: + * target.cpp: + * target.h: + * vb.cpp: + * vb.h: + + Changed all return types for equality, relational and logical + operators to "bool", as is the norm for modern C++. + Fri Aug 29 07:57:05 2003 Ossama Othman <ossama@dre.vanderbilt.edu> * octet.cpp (to_string_hex): diff --git a/ChangeLog b/ChangeLog index b9d6ab85051..4556f9c5ab9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,10 @@ Thu Apr 22 22:22:59 2004 Ossama Othman <ossama@dre.vanderbilt.edu> * bin/clone.cpp: + * tests/Dirent_Test.cpp: Replaced "ace/OS.h" include with lighterweight "ace/OS_NS_*.h" - includes. Fixes a "fuzz" error. + includes. Fixes "fuzz" errors. Thu Apr 22 20:54:26 2004 Ossama Othman <ossama@dre.vanderbilt.edu> diff --git a/tests/Dirent_Test.cpp b/tests/Dirent_Test.cpp index ef140bf5d1b..69796cb7eef 100644 --- a/tests/Dirent_Test.cpp +++ b/tests/Dirent_Test.cpp @@ -20,21 +20,23 @@ // Phil Mesnier <mesnier_p@ociweb.com>, // Zvika Ashani <zvika@aspectusvi.com>, // Rich Newman <RNewman@directv.com>, and -// Douglas C. Schmidt <schmidt@uci.edu> +// Douglas C. Schmidt <d.schmidt@vanderbilt.edu> // // ============================================================================ #include "test_config.h" -#include "ace/OS.h" -#include "ace/OS_String.h" #include "ace/Dirent.h" #include "ace/Dirent_Selector.h" #include "ace/OS_NS_sys_stat.h" +#include "ace/OS_NS_unistd.h" +#include "ace/OS_String.h" + ACE_RCSID (tests, Dirent_Test, "$Id Dirent_Test.cpp,v 4.10 2003/05/18 19:17:34 dhinton Exp$") + #if defined (VXWORKS) || defined(CHORUS) #define TEST_DIR "log" #define TEST_ENTRY ".." @@ -231,10 +233,10 @@ dirent_recurse_test (void) ACE_DEBUG ((LM_DEBUG, "Starting directory recursion test for %s\n", ACE_TEXT (TEST_DIR))); - + if (dirent_count (ACE_TEXT (TEST_DIR), total_dirs, - total_files, + total_files, 1) == -1) ACE_ERROR_RETURN ((LM_ERROR, "Directory recursion test failed for %s\n", diff --git a/tests/Makefile.tests b/tests/Makefile.tests index 22d60071807..b5d5962cb6a 100644 --- a/tests/Makefile.tests +++ b/tests/Makefile.tests @@ -701,87 +701,31 @@ realclean: clean $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ $(ACE_ROOT)/ace/iosfwd.h \ Test_Output_Export.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Cleanup.h \ - $(ACE_ROOT)/ace/Object_Manager_Base.h \ - $(ACE_ROOT)/ace/os_include/os_signal.h \ - $(ACE_ROOT)/ace/os_include/os_time.h \ - $(ACE_ROOT)/ace/os_include/os_ucontext.h \ - $(ACE_ROOT)/ace/OS_NS_arpa_inet.h \ - $(ACE_ROOT)/ace/os_include/arpa/os_inet.h \ - $(ACE_ROOT)/ace/os_include/netinet/os_in.h \ - $(ACE_ROOT)/ace/os_include/sys/os_socket.h \ - $(ACE_ROOT)/ace/os_include/sys/os_uio.h \ - $(ACE_ROOT)/ace/OS_NS_ctype.h \ + $(ACE_ROOT)/ace/Dirent.h \ $(ACE_ROOT)/ace/OS_NS_dirent.h \ $(ACE_ROOT)/ace/os_include/os_dirent.h \ - $(ACE_ROOT)/ace/OS_NS_dlfcn.h \ - $(ACE_ROOT)/ace/os_include/os_dlfcn.h \ - $(ACE_ROOT)/ace/OS_NS_fcntl.h \ - $(ACE_ROOT)/ace/OS_NS_math.h \ - $(ACE_ROOT)/ace/OS_NS_netdb.h \ - $(ACE_ROOT)/ace/os_include/os_netdb.h \ - $(ACE_ROOT)/ace/OS_NS_poll.h \ - $(ACE_ROOT)/ace/os_include/os_poll.h \ - $(ACE_ROOT)/ace/OS_NS_pwd.h \ - $(ACE_ROOT)/ace/os_include/os_pwd.h \ - $(ACE_ROOT)/ace/OS_NS_regex.h \ - $(ACE_ROOT)/ace/OS_NS_signal.h \ - $(ACE_ROOT)/ace/OS_NS_stdlib.h \ - $(ACE_ROOT)/ace/os_include/os_stdlib.h \ - $(ACE_ROOT)/ace/os_include/sys/os_wait.h \ - $(ACE_ROOT)/ace/os_include/sys/os_resource.h \ + $(ACE_ROOT)/ace/Dirent_Selector.h \ + $(ACE_ROOT)/ace/OS_NS_sys_stat.h \ + $(ACE_ROOT)/ace/OS_NS_unistd.h \ + $(ACE_ROOT)/ace/Time_Value.h \ $(ACE_ROOT)/ace/os_include/sys/os_time.h \ + $(ACE_ROOT)/ace/OS_String.h \ $(ACE_ROOT)/ace/OS_NS_string.h \ $(ACE_ROOT)/ace/Basic_Types.h \ $(ACE_ROOT)/ace/os_include/os_float.h \ + $(ACE_ROOT)/ace/os_include/os_stdlib.h \ + $(ACE_ROOT)/ace/os_include/sys/os_wait.h \ + $(ACE_ROOT)/ace/os_include/os_signal.h \ + $(ACE_ROOT)/ace/os_include/os_time.h \ + $(ACE_ROOT)/ace/os_include/os_ucontext.h \ + $(ACE_ROOT)/ace/os_include/sys/os_resource.h \ $(ACE_ROOT)/ace/OS_NS_strings.h \ $(ACE_ROOT)/ace/os_include/os_strings.h \ - $(ACE_ROOT)/ace/OS_NS_stropts.h \ - $(ACE_ROOT)/ace/os_include/os_stropts.h \ - $(ACE_ROOT)/ace/OS_NS_sys_mman.h \ - $(ACE_ROOT)/ace/OS_NS_sys_msg.h \ - $(ACE_ROOT)/ace/os_include/sys/os_msg.h \ - $(ACE_ROOT)/ace/os_include/sys/os_ipc.h \ - $(ACE_ROOT)/ace/OS_NS_sys_resource.h \ - $(ACE_ROOT)/ace/OS_NS_sys_select.h \ - $(ACE_ROOT)/ace/os_include/sys/os_select.h \ - $(ACE_ROOT)/ace/OS_NS_sys_shm.h \ - $(ACE_ROOT)/ace/os_include/sys/os_shm.h \ - $(ACE_ROOT)/ace/OS_NS_sys_socket.h \ - $(ACE_ROOT)/ace/os_include/net/os_if.h \ - $(ACE_ROOT)/ace/OS_NS_sys_stat.h \ - $(ACE_ROOT)/ace/OS_NS_sys_time.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/OS_NS_sys_uio.h \ - $(ACE_ROOT)/ace/OS_NS_sys_utsname.h \ - $(ACE_ROOT)/ace/os_include/sys/os_utsname.h \ - $(ACE_ROOT)/ace/OS_NS_sys_wait.h \ - $(ACE_ROOT)/ace/OS_NS_Thread.h \ - $(ACE_ROOT)/ace/os_include/os_pthread.h \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.h \ - $(ACE_ROOT)/ace/os_include/sys/os_sem.h \ - $(ACE_ROOT)/ace/os_include/os_semaphore.h \ - $(ACE_ROOT)/ace/OS_Memory.h \ - $(ACE_ROOT)/ace/OS_NS_time.h \ - $(ACE_ROOT)/ace/OS_NS_unistd.h \ $(ACE_ROOT)/ace/OS_NS_wchar.h \ $(ACE_ROOT)/ace/os_include/os_wchar.h \ $(ACE_ROOT)/ace/os_include/os_string.h \ $(ACE_ROOT)/ace/os_include/os_ctype.h \ - $(ACE_ROOT)/ace/OS_Dirent.h \ - $(ACE_ROOT)/ace/OS_String.h \ - $(ACE_ROOT)/ace/OS_TLI.h \ - $(ACE_ROOT)/ace/os_include/sys/os_mman.h \ - $(ACE_ROOT)/ace/Min_Max.h \ - $(ACE_ROOT)/ace/os_include/netinet/os_tcp.h \ - $(ACE_ROOT)/ace/os_include/os_assert.h \ - $(ACE_ROOT)/ace/os_include/os_termios.h \ - $(ACE_ROOT)/ace/os_include/os_aio.h \ - $(ACE_ROOT)/ace/os_include/sys/os_un.h \ - $(ACE_ROOT)/ace/os_include/os_syslog.h \ - $(ACE_ROOT)/ace/Dirent.h \ - $(ACE_ROOT)/ace/Dirent_Selector.h + $(ACE_ROOT)/ace/OS_NS_ctype.h .obj/Get_Opt_Test.o .obj/Get_Opt_Test.so .shobj/Get_Opt_Test.o .shobj/Get_Opt_Test.so: Get_Opt_Test.cpp \ test_config.h \ @@ -1897,30 +1841,6 @@ realclean: clean $(ACE_ROOT)/ace/Auto_Ptr.cpp \ $(ACE_ROOT)/ace/Auto_Ptr.i \ $(ACE_ROOT)/ace/Refcounted_Auto_Ptr.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/Auto_Event.h \ - $(ACE_ROOT)/ace/Event.h \ - $(ACE_ROOT)/ace/Barrier.h \ - $(ACE_ROOT)/ace/Condition_Recursive_Thread_Mutex.h \ - $(ACE_ROOT)/ace/Manual_Event.h \ - $(ACE_ROOT)/ace/Mutex.h \ - $(ACE_ROOT)/ace/Null_Barrier.h \ - $(ACE_ROOT)/ace/Null_Semaphore.h \ - $(ACE_ROOT)/ace/Semaphore.h \ - $(ACE_ROOT)/ace/Thread_Semaphore.h \ - $(ACE_ROOT)/ace/TSS_Adapter.h \ - $(ACE_ROOT)/ace/Lock_Adapter_T.h \ - $(ACE_ROOT)/ace/Lock_Adapter_T.cpp \ - $(ACE_ROOT)/ace/Lock_Adapter_T.inl \ - $(ACE_ROOT)/ace/Reverse_Lock_T.h \ - $(ACE_ROOT)/ace/Reverse_Lock_T.cpp \ - $(ACE_ROOT)/ace/Reverse_Lock_T.inl \ - $(ACE_ROOT)/ace/Condition_T.h \ - $(ACE_ROOT)/ace/Condition_T.cpp \ - $(ACE_ROOT)/ace/Condition_T.inl \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Synch_T.i \ Refcounted_Auto_Ptr_Test.h .obj/Token_Strategy_Test.o .obj/Token_Strategy_Test.so .shobj/Token_Strategy_Test.o .shobj/Token_Strategy_Test.so: Token_Strategy_Test.cpp \ @@ -18884,87 +18804,31 @@ realclean: clean $(ACE_ROOT)/ace/OS_Log_Msg_Attributes.h \ $(ACE_ROOT)/ace/iosfwd.h \ Test_Output_Export.h \ - $(ACE_ROOT)/ace/OS.h \ - $(ACE_ROOT)/ace/Cleanup.h \ - $(ACE_ROOT)/ace/Object_Manager_Base.h \ - $(ACE_ROOT)/ace/os_include/os_signal.h \ - $(ACE_ROOT)/ace/os_include/os_time.h \ - $(ACE_ROOT)/ace/os_include/os_ucontext.h \ - $(ACE_ROOT)/ace/OS_NS_arpa_inet.h \ - $(ACE_ROOT)/ace/os_include/arpa/os_inet.h \ - $(ACE_ROOT)/ace/os_include/netinet/os_in.h \ - $(ACE_ROOT)/ace/os_include/sys/os_socket.h \ - $(ACE_ROOT)/ace/os_include/sys/os_uio.h \ - $(ACE_ROOT)/ace/OS_NS_ctype.h \ + $(ACE_ROOT)/ace/Dirent.h \ $(ACE_ROOT)/ace/OS_NS_dirent.h \ $(ACE_ROOT)/ace/os_include/os_dirent.h \ - $(ACE_ROOT)/ace/OS_NS_dlfcn.h \ - $(ACE_ROOT)/ace/os_include/os_dlfcn.h \ - $(ACE_ROOT)/ace/OS_NS_fcntl.h \ - $(ACE_ROOT)/ace/OS_NS_math.h \ - $(ACE_ROOT)/ace/OS_NS_netdb.h \ - $(ACE_ROOT)/ace/os_include/os_netdb.h \ - $(ACE_ROOT)/ace/OS_NS_poll.h \ - $(ACE_ROOT)/ace/os_include/os_poll.h \ - $(ACE_ROOT)/ace/OS_NS_pwd.h \ - $(ACE_ROOT)/ace/os_include/os_pwd.h \ - $(ACE_ROOT)/ace/OS_NS_regex.h \ - $(ACE_ROOT)/ace/OS_NS_signal.h \ - $(ACE_ROOT)/ace/OS_NS_stdlib.h \ - $(ACE_ROOT)/ace/os_include/os_stdlib.h \ - $(ACE_ROOT)/ace/os_include/sys/os_wait.h \ - $(ACE_ROOT)/ace/os_include/sys/os_resource.h \ + $(ACE_ROOT)/ace/Dirent_Selector.h \ + $(ACE_ROOT)/ace/OS_NS_sys_stat.h \ + $(ACE_ROOT)/ace/OS_NS_unistd.h \ + $(ACE_ROOT)/ace/Time_Value.h \ $(ACE_ROOT)/ace/os_include/sys/os_time.h \ + $(ACE_ROOT)/ace/OS_String.h \ $(ACE_ROOT)/ace/OS_NS_string.h \ $(ACE_ROOT)/ace/Basic_Types.h \ $(ACE_ROOT)/ace/os_include/os_float.h \ + $(ACE_ROOT)/ace/os_include/os_stdlib.h \ + $(ACE_ROOT)/ace/os_include/sys/os_wait.h \ + $(ACE_ROOT)/ace/os_include/os_signal.h \ + $(ACE_ROOT)/ace/os_include/os_time.h \ + $(ACE_ROOT)/ace/os_include/os_ucontext.h \ + $(ACE_ROOT)/ace/os_include/sys/os_resource.h \ $(ACE_ROOT)/ace/OS_NS_strings.h \ $(ACE_ROOT)/ace/os_include/os_strings.h \ - $(ACE_ROOT)/ace/OS_NS_stropts.h \ - $(ACE_ROOT)/ace/os_include/os_stropts.h \ - $(ACE_ROOT)/ace/OS_NS_sys_mman.h \ - $(ACE_ROOT)/ace/OS_NS_sys_msg.h \ - $(ACE_ROOT)/ace/os_include/sys/os_msg.h \ - $(ACE_ROOT)/ace/os_include/sys/os_ipc.h \ - $(ACE_ROOT)/ace/OS_NS_sys_resource.h \ - $(ACE_ROOT)/ace/OS_NS_sys_select.h \ - $(ACE_ROOT)/ace/os_include/sys/os_select.h \ - $(ACE_ROOT)/ace/OS_NS_sys_shm.h \ - $(ACE_ROOT)/ace/os_include/sys/os_shm.h \ - $(ACE_ROOT)/ace/OS_NS_sys_socket.h \ - $(ACE_ROOT)/ace/os_include/net/os_if.h \ - $(ACE_ROOT)/ace/OS_NS_sys_stat.h \ - $(ACE_ROOT)/ace/OS_NS_sys_time.h \ - $(ACE_ROOT)/ace/Time_Value.h \ - $(ACE_ROOT)/ace/OS_NS_sys_uio.h \ - $(ACE_ROOT)/ace/OS_NS_sys_utsname.h \ - $(ACE_ROOT)/ace/os_include/sys/os_utsname.h \ - $(ACE_ROOT)/ace/OS_NS_sys_wait.h \ - $(ACE_ROOT)/ace/OS_NS_Thread.h \ - $(ACE_ROOT)/ace/os_include/os_pthread.h \ - $(ACE_ROOT)/ace/Base_Thread_Adapter.h \ - $(ACE_ROOT)/ace/os_include/sys/os_sem.h \ - $(ACE_ROOT)/ace/os_include/os_semaphore.h \ - $(ACE_ROOT)/ace/OS_Memory.h \ - $(ACE_ROOT)/ace/OS_NS_time.h \ - $(ACE_ROOT)/ace/OS_NS_unistd.h \ $(ACE_ROOT)/ace/OS_NS_wchar.h \ $(ACE_ROOT)/ace/os_include/os_wchar.h \ $(ACE_ROOT)/ace/os_include/os_string.h \ $(ACE_ROOT)/ace/os_include/os_ctype.h \ - $(ACE_ROOT)/ace/OS_Dirent.h \ - $(ACE_ROOT)/ace/OS_String.h \ - $(ACE_ROOT)/ace/OS_TLI.h \ - $(ACE_ROOT)/ace/os_include/sys/os_mman.h \ - $(ACE_ROOT)/ace/Min_Max.h \ - $(ACE_ROOT)/ace/os_include/netinet/os_tcp.h \ - $(ACE_ROOT)/ace/os_include/os_assert.h \ - $(ACE_ROOT)/ace/os_include/os_termios.h \ - $(ACE_ROOT)/ace/os_include/os_aio.h \ - $(ACE_ROOT)/ace/os_include/sys/os_un.h \ - $(ACE_ROOT)/ace/os_include/os_syslog.h \ - $(ACE_ROOT)/ace/Dirent.h \ - $(ACE_ROOT)/ace/Dirent_Selector.h + $(ACE_ROOT)/ace/OS_NS_ctype.h .obj/Get_Opt_Test.o .obj/Get_Opt_Test.so .shobj/Get_Opt_Test.o .shobj/Get_Opt_Test.so: Get_Opt_Test.cpp \ test_config.h \ @@ -20080,30 +19944,6 @@ realclean: clean $(ACE_ROOT)/ace/Auto_Ptr.cpp \ $(ACE_ROOT)/ace/Auto_Ptr.i \ $(ACE_ROOT)/ace/Refcounted_Auto_Ptr.i \ - $(ACE_ROOT)/ace/Synch_T.h \ - $(ACE_ROOT)/ace/Synch.h \ - $(ACE_ROOT)/ace/Auto_Event.h \ - $(ACE_ROOT)/ace/Event.h \ - $(ACE_ROOT)/ace/Barrier.h \ - $(ACE_ROOT)/ace/Condition_Recursive_Thread_Mutex.h \ - $(ACE_ROOT)/ace/Manual_Event.h \ - $(ACE_ROOT)/ace/Mutex.h \ - $(ACE_ROOT)/ace/Null_Barrier.h \ - $(ACE_ROOT)/ace/Null_Semaphore.h \ - $(ACE_ROOT)/ace/Semaphore.h \ - $(ACE_ROOT)/ace/Thread_Semaphore.h \ - $(ACE_ROOT)/ace/TSS_Adapter.h \ - $(ACE_ROOT)/ace/Lock_Adapter_T.h \ - $(ACE_ROOT)/ace/Lock_Adapter_T.cpp \ - $(ACE_ROOT)/ace/Lock_Adapter_T.inl \ - $(ACE_ROOT)/ace/Reverse_Lock_T.h \ - $(ACE_ROOT)/ace/Reverse_Lock_T.cpp \ - $(ACE_ROOT)/ace/Reverse_Lock_T.inl \ - $(ACE_ROOT)/ace/Condition_T.h \ - $(ACE_ROOT)/ace/Condition_T.cpp \ - $(ACE_ROOT)/ace/Condition_T.inl \ - $(ACE_ROOT)/ace/Synch_T.cpp \ - $(ACE_ROOT)/ace/Synch_T.i \ Refcounted_Auto_Ptr_Test.h .obj/Token_Strategy_Test.o .obj/Token_Strategy_Test.so .shobj/Token_Strategy_Test.o .shobj/Token_Strategy_Test.so: Token_Strategy_Test.cpp \ |