Changeset 10300 for trunk/src/version/install.c
- Timestamp:
- Oct 24, 2003, 5:08:11 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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);
Note:
See TracChangeset
for help on using the changeset viewer.