changeset 310:2e8be88dad11

- comment cleanup
author Tassilo Philipp
date Fri, 25 Oct 2019 00:32:29 +0200
parents b51401bc4c37
children 5b1ff4c73194
files dynload/dynload_windows.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/dynload/dynload_windows.c	Thu Oct 24 23:39:57 2019 +0200
+++ b/dynload/dynload_windows.c	Fri Oct 25 00:32:29 2019 +0200
@@ -60,7 +60,7 @@
 
     /* ... convert (and use r as success flag), ... */
     r = (MultiByteToWideChar(CP_UTF8, 0, libPath, -1, ws, r) == r);
-    pLib = (DLLib*)(r ? LoadLibraryW(ws) : NULL);/*@@@ testcode of unicode path*/
+    pLib = (DLLib*)(r ? LoadLibraryW(ws) : NULL);
 
     /* ... free temp space and return handle */
     dlFreeMem(ws);
@@ -95,7 +95,7 @@
   static const int MAX_EXT_PATH = 1<<15; /* max extended path length (32768) */
   int nc = 1<<6;                         /* guess start buffer size, */
 
-  while(nc <= MAX_EXT_PATH)/*@@@ testcode*/
+  while(nc <= MAX_EXT_PATH)/*@@@ add testcode for super long paths*/
   {
     ws = (wchar_t*)dlAllocMem(nc * sizeof(wchar_t));
     if(!ws)
@@ -105,7 +105,7 @@
 
     /* r == nc if string was truncated, double temp buffer size */
     if(r == nc) {
-      nc <<= 1;/*@@@ testcode*/
+      nc <<= 1;
       dlFreeMem(ws);
       continue;
     }