Author: rmeggins
Update of /cvs/dirsec/setuputil/installer/include
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv651/setuputil/installer/include
Modified Files:
ldapu.h nsdefs.h
Log Message:
Add using namespace std; after the include <iostream>
Remove #include <iostream.h> in files that also include nsdefs.h
Fix a potential buffer non-termination
Index: ldapu.h
===================================================================
RCS file: /cvs/dirsec/setuputil/installer/include/ldapu.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ldapu.h 27 Mar 2006 21:18:34 -0000 1.2
+++ ldapu.h 30 Mar 2006 00:38:28 -0000 1.3
@@ -29,6 +29,11 @@
**
** HISTORY
** $Log$
+** Revision 1.3 2006/03/30 00:38:28 rmeggins
+** Add using namespace std; after the include <iostream>
+** Remove #include <iostream.h> in files that also include nsdefs.h
+** Fix a potential buffer non-termination
+**
** Revision 1.2 2006/03/27 21:18:34 nhosoi
** [186642] Directory Server Makefile updates for Internal build
** Changed the createSIE so that caller (Admin Server and Directory Server) passes
@@ -275,7 +280,6 @@
#else
-#include <iostream.h>
#include "nsdefs.h"
class Ldap;
Index: nsdefs.h
===================================================================
RCS file: /cvs/dirsec/setuputil/installer/include/nsdefs.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- nsdefs.h 23 Mar 2006 20:45:37 -0000 1.2
+++ nsdefs.h 30 Mar 2006 00:38:28 -0000 1.3
@@ -30,6 +30,11 @@
** HISTORY
**
** $Log$
+** Revision 1.3 2006/03/30 00:38:28 rmeggins
+** Add using namespace std; after the include <iostream>
+** Remove #include <iostream.h> in files that also include nsdefs.h
+** Fix a potential buffer non-termination
+**
** Revision 1.2 2006/03/23 20:45:37 rmeggins
** Use <iostream> instead of <iostream.h> on those platforms that support
it.
** With this fix, we don't get the deprecation warnings when building setuputil.
@@ -161,6 +166,7 @@
**********************************************************************/
#if !defined(HPUX) || defined(_HP_NAMESPACE_STD)
#include <iostream>
+using namespace std;
#else
#include <iostream.h> /* use old name on older systems */
#endif
Show replies by date