(file) Return to AuditLogger.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/AuditLogger.cpp between version 1.1.2.1 and 1.11

version 1.1.2.1, 2006/11/16 13:30:37 version 1.11, 2006/11/07 21:30:36
Line 39 
Line 39 
 #include <Pegasus/Common/InternalException.h> #include <Pegasus/Common/InternalException.h>
 #include <Pegasus/Common/AuditLogger.h> #include <Pegasus/Common/AuditLogger.h>
  
 #ifdef PEGASUS_OS_DARWIN  
 # include <crt_externs.h>  
 #endif  
   
 #ifndef PEGASUS_OS_TYPE_WINDOWS #ifndef PEGASUS_OS_TYPE_WINDOWS
 # include <unistd.h> # include <unistd.h>
 #endif #endif
Line 139 
Line 135 
  
 void AuditLogger::logCurrentEnvironmentVar() void AuditLogger::logCurrentEnvironmentVar()
 { {
 #ifdef PEGASUS_OS_DARWIN  
     char** envp = *_NSGetEnviron();  
 #else  
     char** envp = environ;  
 #endif  
  
       char ** envp = environ;
     Uint32 i = 0;     Uint32 i = 0;
  
     while (envp[i])     while (envp[i])
Line 489 
Line 481 
         }         }
     }     }
  
     return moduleStatusValue;      return (moduleStatusValue);
 } }
  
 PEGASUS_NAMESPACE_END PEGASUS_NAMESPACE_END


Legend:
Removed from v.1.1.2.1  
changed lines
  Added in v.1.11

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2