Changeset 10300
- Timestamp:
- Oct 24, 2003, 5:08:11 PM (22 years ago)
- Location:
- trunk/src/version
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/version/info.c ¶
r10296 r10300 36 36 #include "winerror.h" 37 37 #include "wine/debug.h" 38 39 #define DBG_LOCALLOG DBG_info 40 #include "dbglocal.h" 38 41 39 42 WINE_DEFAULT_DEBUG_CHANNEL(ver); -
TabularUnified trunk/src/version/install.c ¶
r10296 r10300 36 36 #include "lzexpand.h" 37 37 #include "wine/debug.h" 38 39 #define DBG_LOCALLOG DBG_install 40 #include "dbglocal.h" 38 41 39 42 WINE_DEFAULT_DEBUG_CHANNEL(ver); … … 140 143 141 144 /* Print out debugging information */ 142 TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)\n",145 dprintf(("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)\n", 143 146 flags, debugstr_a(lpszFilename), debugstr_a(lpszWinDir), debugstr_a(lpszAppDir), 144 147 lpuCurDirLen, lpuCurDirLen ? *lpuCurDirLen : 0, 145 lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 ) ;148 lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 )); 146 149 147 150 /* Figure out where the file should go; shared files default to the … … 206 209 } 207 210 208 TRACE("ret = %lu (%s%s%s) curdir=%s destdir=%s\n", retval,211 dprintf(("ret = %lu (%s%s%s) curdir=%s destdir=%s\n", retval, 209 212 (retval & VFF_CURNEDEST) ? "VFF_CURNEDEST " : "", 210 213 (retval & VFF_FILEINUSE) ? "VFF_FILEINUSE " : "", 211 214 (retval & VFF_BUFFTOOSMALL) ? "VFF_BUFFTOOSMALL " : "", 212 debugstr_a(lpszCurDir), debugstr_a(lpszDestDir)) ;215 debugstr_a(lpszCurDir), debugstr_a(lpszDestDir))); 213 216 214 217 return retval; … … 231 234 232 235 /* Print out debugging information */ 233 TRACE("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)\n",236 dprintf(("flags = %x filename=%s windir=%s appdir=%s curdirlen=%p(%u) destdirlen=%p(%u)\n", 234 237 flags, debugstr_w(lpszFilename), debugstr_w(lpszWinDir), debugstr_w(lpszAppDir), 235 238 lpuCurDirLen, lpuCurDirLen ? *lpuCurDirLen : 0, 236 lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 ) ;239 lpuDestDirLen, lpuDestDirLen ? *lpuDestDirLen : 0 )); 237 240 238 241 /* Figure out where the file should go; shared files default to the … … 297 300 } 298 301 299 TRACE("ret = %lu (%s%s%s) curdir=%s destdir=%s\n", retval,302 dprintf(("ret = %lu (%s%s%s) curdir=%s destdir=%s\n", retval, 300 303 (retval & VFF_CURNEDEST) ? "VFF_CURNEDEST " : "", 301 304 (retval & VFF_FILEINUSE) ? "VFF_FILEINUSE " : "", 302 305 (retval & VFF_BUFFTOOSMALL) ? "VFF_BUFFTOOSMALL " : "", 303 debugstr_w(lpszCurDir), debugstr_w(lpszDestDir)) ;306 debugstr_w(lpszCurDir), debugstr_w(lpszDestDir))); 304 307 return retval; 305 308 } … … 314 317 buf=HeapAlloc(GetProcessHeap(), 0, alloclen); 315 318 if(buf == NULL) { 316 WARN("Memory exausted while fetching version info!\n");319 dprintf(("Memory exausted while fetching version info!\n")); 317 320 return NULL; 318 321 } … … 328 331 buf = HeapAlloc(GetProcessHeap(), 0, alloclen); 329 332 if(buf == NULL) { 330 WARN("Memory exausted while fetching version info!\n");333 dprintf(("Memory exausted while fetching version info!\n")); 331 334 return NULL; 332 335 } … … 336 339 *vffi = (VS_FIXEDFILEINFO*)(buf+0x28); 337 340 if ((*vffi)->dwSignature != VS_FFI_SIGNATURE) 338 WARN("Bad VS_FIXEDFILEINFO signature 0x%08lx\n",(*vffi)->dwSignature);341 dprintf(("Bad VS_FIXEDFILEINFO signature 0x%08lx\n",(*vffi)->dwSignature)); 339 342 return buf; 340 343 } … … 369 372 OFSTRUCT ofs; 370 373 371 TRACE("(%x,%s,%s,%s,%s,%s,%p,%d)\n",374 dprintf(("(%x,%s,%s,%s,%s,%s,%p,%d)\n", 372 375 flags,srcfilename,destfilename,srcdir,destdir,curdir,tmpfile,*tmpfilelen 373 ) ;376 )); 374 377 xret = 0; 375 378 sprintf(srcfn,"%s\\%s",srcdir,srcfilename); -
TabularUnified trunk/src/version/resource.c ¶
r10296 r10300 44 44 #include "wine/debug.h" 45 45 #include <module.h> 46 47 #define DBG_LOCALLOG DBG_resource 48 #include "dbglocal.h" 46 49 47 50 WINE_DEFAULT_DEBUG_CHANNEL(ver); … … 192 195 if ( !resTabSize ) 193 196 { 194 TRACE("No resources in NE dll\n");197 dprintf(("No resources in NE dll\n" )); 195 198 return FALSE; 196 199 } … … 234 237 } 235 238 } 236 TRACE("No typeid entry found for %p\n", typeid);239 dprintf(("No typeid entry found for %p\n", typeid )); 237 240 HeapFree( GetProcessHeap(), 0, resTab ); 238 241 return FALSE; … … 257 260 if (nameInfo->id == id) goto found_name; 258 261 } 259 TRACE("No resid entry found for %p\n", typeid);262 dprintf(("No resid entry found for %p\n", typeid )); 260 263 HeapFree( GetProcessHeap(), 0, resTab ); 261 264 return FALSE; … … 295 298 if ( !resDataDir->Size ) 296 299 { 297 TRACE("No resources in PE dll\n");300 dprintf(("No resources in PE dll\n" )); 298 301 return FALSE; 299 302 } … … 327 330 { 328 331 HeapFree( GetProcessHeap(), 0, sections ); 329 TRACE("Couldn't find resource section\n");332 dprintf(("Couldn't find resource section\n" )); 330 333 return FALSE; 331 334 } … … 350 353 if ( !resPtr ) 351 354 { 352 TRACE("No typeid entry found for %p\n", typeid);355 dprintf(("No typeid entry found for %p\n", typeid )); 353 356 goto done; 354 357 } … … 356 359 if ( !resPtr ) 357 360 { 358 TRACE("No resid entry found for %p\n", resid);361 dprintf(("No resid entry found for %p\n", resid )); 359 362 goto done; 360 363 } … … 362 365 if ( !resPtr ) 363 366 { 364 TRACE("No default language entry found for %p\n", resid);367 dprintf(("No default language entry found for %p\n", resid )); 365 368 goto done; 366 369 } … … 376 379 if ( i == nSections ) 377 380 { 378 TRACE("Couldn't find resource data section\n");381 dprintf(("Couldn't find resource data section\n" )); 379 382 goto done; 380 383 } … … 404 407 DWORD reslen; 405 408 406 TRACE("(%s,type=0x%lx,id=0x%lx,off=%p)\n",409 dprintf(("(%s,type=0x%lx,id=0x%lx,off=%p)\n", 407 410 debugstr_a(lpszFileName), (LONG)lpszResType, (LONG)lpszResId, 408 lpszResId ) ;411 lpszResId )); 409 412 410 413 lzfd = LZOpenFileA( (LPSTR)lpszFileName, &ofs, OF_READ ); … … 441 444 DWORD reslen = dwResLen; 442 445 443 TRACE("(%s,type=0x%lx,id=0x%lx,off=%ld,len=%ld,data=%p)\n",446 dprintf(("(%s,type=0x%lx,id=0x%lx,off=%ld,len=%ld,data=%p)\n", 444 447 debugstr_a(lpszFileName), (LONG)lpszResType, (LONG)lpszResId, 445 dwFileOffset, dwResLen, lpvData ) ;448 dwFileOffset, dwResLen, lpvData )); 446 449 447 450 lzfd = LZOpenFileA( (LPSTR)lpszFileName, &ofs, OF_READ );
Note:
See TracChangeset
for help on using the changeset viewer.