Changeset 7502 for trunk/src/shell32
- Timestamp:
- Nov 30, 2001, 6:49:22 PM (24 years ago)
- Location:
- trunk/src/shell32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/pidl.c
r7359 r7502 797 797 LPITEMIDLIST, pidl) 798 798 { 799 #ifdef __WIN32OS2__ 800 return HEAP_free(pidl); 801 #else 799 802 if(!pidl) 800 803 return FALSE; 801 804 SHFree(pidl); 802 805 return TRUE; 806 #endif 803 807 } 804 808 /************************************************************************* -
trunk/src/shell32/shelllink.c
r7343 r7502 34 34 #undef TRACE 35 35 #ifdef DEBUG 36 // PH 2001-11-30 37 // this macro definition causes the control leave the scope of a 38 // non-curly-braced preceeding if statement. Therefore, 39 // if (p!=NULL) 40 // TRACE("p->a=%d", p->a) 41 // crashes. 42 // 43 // !!! ENSURE TRACES AND FIXMES WITH PRECEEDING IF STATEMENT 44 // !!! ARE PUT INTO CURLY BRACES 36 45 #define TRACE WriteLog("SHELL32: %s", __FUNCTION__); WriteLog 37 46 #define WARN WriteLog("WARNING: SHELL32: %s", __FUNCTION__); WriteLog -
trunk/src/shell32/shellord.c
r7103 r7502 24 24 #include "debugtools.h" 25 25 #include "winnls.h" 26 27 #ifdef __WIN32OS2__ 28 #include "heapstring.h" 29 #else 26 30 #include "heap.h" 31 #endif 27 32 28 33 #include "shlwapi.h" … … 347 352 TRACE("%p\n",x); 348 353 #endif 349 HeapFree(GetProcessHeap(), 0, x); 354 355 #if __WIN32OS2_ 356 HEAP_free(x); 357 #else 358 HeapFree(GetProcessHeap(), 0, x); 359 #endif 350 360 } 351 361 … … 361 371 { 362 372 LPBYTE ret; 363 373 374 #ifdef __WIN32OS2__ 375 #if MEM_DEBUG 376 ret = (LPVOID) HEAP_malloc(len+6); 377 #else 378 ret = (LPVOID) HEAP_malloc(len); 379 #endif 380 #else 364 381 #if MEM_DEBUG 365 382 ret = (LPVOID) HeapAlloc(GetProcessHeap(),0,len+6); 366 383 #else 367 384 ret = (LPVOID) HeapAlloc(GetProcessHeap(),0,len); 385 #endif 368 386 #endif 369 387
Note:
See TracChangeset
for help on using the changeset viewer.