Ignore:
Timestamp:
Jun 13, 2000, 9:11:37 AM (25 years ago)
Author:
phaller
Message:

Removed obsolete debug output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/Fileio.cpp

    r3642 r3697  
    1 /* $Id: Fileio.cpp,v 1.34 2000-06-01 11:28:45 sandervl Exp $ */
     1/* $Id: Fileio.cpp,v 1.35 2000-06-13 07:11:37 phaller Exp $ */
    22
    33/*
     
    471471              DWORD, dwMoveMethod)
    472472{
    473   dprintf(("KERNEL32: SetFilePointer(%08xh,%08xh,%08xh,%08xh)\n",
    474            hFile,
    475            lDistanceToMove,
    476            lpDistanceToMoveHigh,
    477            dwMoveMethod));
    478 
    479473  return(HMSetFilePointer(hFile,
    480474                         lDistanceToMove,
     
    531525              LPCWSTR, arg1)
    532526{
    533  DWORD rc;
    534  char *astring;
    535 
    536     dprintf(("KERNEL32:  GetFileAttributesW\n"));
    537     astring = UnicodeToAsciiString((LPWSTR)arg1);
    538     rc = ODIN_GetFileAttributesA(astring);
    539     FreeAsciiString(astring);
    540     return(rc);
     527  DWORD rc;
     528  char *astring;
     529
     530  astring = UnicodeToAsciiString((LPWSTR)arg1);
     531  rc = ODIN_GetFileAttributesA(astring);
     532  FreeAsciiString(astring);
     533  return(rc);
    541534}
    542535//******************************************************************************
     
    555548              DWORD, dwFileAttributes)
    556549{
    557  char *asciifile;
    558  BOOL  rc;
    559 
    560     dprintf(("KERNEL32:  SetFileAttributesW\n"));
    561     asciifile = UnicodeToAsciiString((LPWSTR)lpFileName);
    562     rc = O32_SetFileAttributes(asciifile, dwFileAttributes);
    563     FreeAsciiString(asciifile);
    564     return(rc);
     550  char *asciifile;
     551  BOOL  rc;
     552
     553  asciifile = UnicodeToAsciiString((LPWSTR)lpFileName);
     554  rc = O32_SetFileAttributes(asciifile, dwFileAttributes);
     555  FreeAsciiString(asciifile);
     556  return(rc);
    565557}
    566558//******************************************************************************
     
    621613              DWORD, arg5)
    622614{
    623   dprintf(("KERNEL32: LockFile (%08xh,%08xh,%08xh,%08xh,%08xh)\n",
    624            arg1,
    625            arg2,
    626            arg3,
    627            arg4,
    628            arg5));
    629 
    630615  return HMLockFile(arg1,
    631616                    arg2,
     
    661646              LPOVERLAPPED, lpOverlapped)
    662647{
    663   dprintf(("Kernel32: LockFileEx(%08xh,%08xh,%08xh,%08xh,%08xh,%08xh)\n",
    664            hFile,
    665            dwFlags,
    666            dwReserved,
    667            nNumberOfBytesToLockLow,
    668            nNumberOfBytesToLockHigh,
    669            lpOverlapped));
    670 
    671648  return(HMLockFile(hFile,
    672649                    lpOverlapped->Offset,
     
    704681              LPCWSTR, lpDest)
    705682{
    706  char *asciisrc, *asciidest;
    707  BOOL  rc;
    708 
    709     dprintf(("KERNEL32:  MoveFileW\n"));
    710     asciisrc  = UnicodeToAsciiString((LPWSTR)lpSrc);
    711     asciidest = UnicodeToAsciiString((LPWSTR)lpDest);
    712     rc = O32_MoveFile(asciisrc, asciidest);
    713     FreeAsciiString(asciisrc);
    714     FreeAsciiString(asciidest);
    715     return(rc);
     683  char *asciisrc, *asciidest;
     684  BOOL  rc;
     685
     686  asciisrc  = UnicodeToAsciiString((LPWSTR)lpSrc);
     687  asciidest = UnicodeToAsciiString((LPWSTR)lpDest);
     688  rc = O32_MoveFile(asciisrc, asciidest);
     689  FreeAsciiString(asciisrc);
     690  FreeAsciiString(asciidest);
     691  return(rc);
    716692}
    717693//******************************************************************************
     
    767743              DWORD, arg5)
    768744{
    769   dprintf(("KERNEL32: UnlockFile(%08xh,%08xh,%08xh,%08xh,%08xh)\n",
    770            arg1,
    771            arg2,
    772            arg3,
    773            arg4,
    774            arg5));
    775 
    776745  return HMUnlockFile(arg1,
    777746                      arg2,
     
    805774              LPOVERLAPPED, lpOverlapped)
    806775{
    807   dprintf(("Kernel32: UnlockFileEx(%08xh,%08xh,%08xh,%08xh,%08xh,%08xh)\n",
    808            hFile,
    809            dwReserved,
    810            nNumberOfBytesToLockLow,
    811            nNumberOfBytesToLockHigh,
    812            lpOverlapped));
    813 
    814776  return(HMUnlockFileEx(hFile, dwReserved,
    815777                        nNumberOfBytesToLockLow,
     
    881843           lpFileSizeHigh));
    882844
    883   /* PH: simply return the standard filesize */
     845  /* @@@PH: simply return the standard filesize */
    884846  return 0;
    885847}
Note: See TracChangeset for help on using the changeset viewer.