Changeset 29


Ignore:
Timestamp:
Oct 17, 2002, 1:25:28 AM (23 years ago)
Author:
root
Message:

Drop obsolete debug code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/copyf.c

    r2 r29  
     1
     2/***********************************************************************
     3
     4  $Id$
     5
     6  Copy functions
     7
     8  Copyright (c) 1993-98 M. Kimes
     9  Copyright (c) 2001, 2002 Steven H.Levine
     10
     11  Revisions     14 Sep 02 SHL - Drop obsolete debug code
     12                14 Oct 02 SHL - Drop obsolete debug code
     13
     14***********************************************************************/
     15
    116#define INCL_DOS
    217#define INCL_DOSERRORS
     
    241256BOOL ZapLongName (char *filename) {
    242257
    243 saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"Zapped longname.");
    244   return WriteLongName(filename,
    245                        "");
     258#ifdef DEBUG
     259  saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"Zapped longname.");        // fixme to be gone
     260#endif
     261  return WriteLongName(filename, "");
    246262}
    247263
     
    436452     !*fullnewname)  /* bad string args */
    437453    return (APIRET)-1;
     454
    438455  DosError(FERR_DISABLEHARDERR);
    439456  if(DosQueryPathInfo(oldname,
     
    441458                      &st,
    442459                      sizeof(FILESTATUS3)))
    443     /* no source */
    444     return (APIRET)-2;
     460    return (APIRET)-2;  /* no source */
     461
    445462  AdjustWildcardName(oldname,
    446463                     fullnewname);
     
    464481    p = RootName(oldname);
    465482    pp = RootName(fullnewname);
    466     saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"oldname: %s\rnewname: %s",oldname,fullnewname);
    467483    if(stricmp(p,
    468484               pp))
     485    {
     486#ifdef DEBUG
     487      saymsg(MB_ENTER,HWND_DESKTOP,DEBUG_STRING,"oldname: %s\rnewname: %s",oldname,fullnewname);        // fixme to be gone
     488#endif
    469489      zaplong = TRUE;
     490    }
    470491  }
    471492
    472493  DosError(FERR_DISABLEHARDERR);
    473   switch(type) {
     494  switch(type)
     495  {
    474496    case WPSMOVE:
    475497      {
Note: See TracChangeset for help on using the changeset viewer.