apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r434318 - /apr/apr/trunk/misc/win32/start.c
Date Thu, 24 Aug 2006 07:04:43 GMT
Author: mturk
Date: Thu Aug 24 00:04:42 2006
New Revision: 434318

URL: http://svn.apache.org/viewvc?rev=434318&view=rev
Log:
Tab police + Trim trailing spaces.
No functional change.

Modified:
    apr/apr/trunk/misc/win32/start.c

Modified: apr/apr/trunk/misc/win32/start.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/misc/win32/start.c?rev=434318&r1=434317&r2=434318&view=diff
==============================================================================
--- apr/apr/trunk/misc/win32/start.c (original)
+++ apr/apr/trunk/misc/win32/start.c Thu Aug 24 00:04:42 2006
@@ -33,10 +33,10 @@
  *
  * An internal apr function to convert a double-null terminated set
  * of single-null terminated strings from wide Unicode to narrow utf-8
- * as a list of strings.  These are allocated from the MSVCRT's 
+ * as a list of strings.  These are allocated from the MSVCRT's
  * _CRT_BLOCK to trick the system into trusting our store.
  */
-static int warrsztoastr(const char * const * *retarr, 
+static int warrsztoastr(const char * const * *retarr,
                         const wchar_t * arrsz, int args)
 {
     const apr_wchar_t *wch;
@@ -48,7 +48,7 @@
 
     if (args < 0) {
         for (args = 1, wch = arrsz; wch[0] || wch[1]; ++wch)
-            if (!*wch) 
+            if (!*wch)
                 ++args;
     }
     wsize = 1 + wch - arrsz;
@@ -90,8 +90,8 @@
 /* Reprocess the arguments to main() for a completely apr-ized application
  */
 
-APR_DECLARE(apr_status_t) apr_app_initialize(int *argc, 
-                                             const char * const * *argv, 
+APR_DECLARE(apr_status_t) apr_app_initialize(int *argc,
+                                             const char * const * *argv,
                                              const char * const * *env)
 {
     apr_status_t rv = apr_initialize();
@@ -126,7 +126,7 @@
         sysstr = GetEnvironmentStringsW();
         dupenv = warrsztoastr(&_environ, sysstr, -1);
 
-	if (env) {
+        if (env) {
             *env = apr_malloc_dbg((dupenv + 1) * sizeof (char *),
                                   __FILE__, __LINE__ );
             memcpy((void*)*env, _environ, (dupenv + 1) * sizeof (char *));
@@ -176,11 +176,11 @@
     if (apr_get_oslevel(&osver) != APR_SUCCESS) {
         return APR_EEXIST;
     }
-    
+
     tls_apr_thread = TlsAlloc();
     if ((status = apr_pool_initialize()) != APR_SUCCESS)
         return status;
-    
+
     if (apr_pool_create(&pool, NULL) != APR_SUCCESS) {
         return APR_ENOPOOL;
     }
@@ -197,7 +197,7 @@
         WSACleanup();
         return APR_EEXIST;
     }
-    
+
     apr_signal_init(pool);
 
     return APR_SUCCESS;
@@ -210,7 +210,7 @@
         return;
     }
     apr_pool_terminate();
-    
+
     WSACleanup();
 
     TlsFree(tls_apr_thread);



Mime
View raw message