commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1814169 - in /commons/proper/daemon/trunk/src/native/windows: include/handles.h src/rprocess.c
Date Fri, 03 Nov 2017 12:35:16 GMT
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;
 }



Mime
View raw message