Author: markt
Date: Fri Nov  3 12:35:16 2017
New Revision: 1814169

URL: http://svn.apache.org/viewvc?rev=1814169&view=rev
Log:
Simplify

Modified:
    commons/proper/daemon/trunk/src/native/windows/include/handles.h
    commons/proper/daemon/trunk/src/native/windows/src/rprocess.c

Modified: commons/proper/daemon/trunk/src/native/windows/include/handles.h
URL: 
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/windows/include/handles.h?rev=1814169&r1=1814168&r2=1814169&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/windows/include/handles.h (original)
+++ commons/proper/daemon/trunk/src/native/windows/include/handles.h Fri Nov  3 
12:35:16 2017
@@ -160,8 +160,6 @@ LPVOID      apxRealloc(LPVOID lpMem, DWO
 LPWSTR      apxStrdupW(LPCWSTR szSource);
 LPWSTR      apxPoolStrdupW(APXHANDLE hPool, LPCWSTR szSource);
 
-#define     apxPoolWStrdupW apxPoolStrdupW
-
 /** Free the allocated memory
  * It will call te correct pool if the address is valid
  */

Modified: commons/proper/daemon/trunk/src/native/windows/src/rprocess.c
URL: 
http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/windows/src/rprocess.c?rev=1814169&r1=1814168&r2=1814169&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/windows/src/rprocess.c (original)
+++ commons/proper/daemon/trunk/src/native/windows/src/rprocess.c Fri Nov  3 
12:35:16 2017
@@ -661,7 +661,7 @@ apxProcessSetWorkingPathW(APXHANDLE hPro
         lpProc->szWorkingPath = NULL;
         return TRUE;
     }
-    lpProc->szWorkingPath = apxPoolWStrdupW(hProcess->hPool, szPath);
+    lpProc->szWorkingPath = apxPoolStrdupW(hProcess->hPool, szPath);
 
     return lpProc->szWorkingPath != NULL;
 }


Reply via email to