Changeset 1402 for trunk/dll/grep.c


Ignore:
Timestamp:
Mar 14, 2009, 6:17:59 PM (16 years ago)
Author:
Gregg Young
Message:

Remove variable aurgs from docopy & unlinkf (not used); Move more strings to PCSZs and string table; Move PCSZs to compile time initialization; Fix hang on startup caused by a drive scan and a dircnr scan trying to update a drive in the tree at the same time (related to the "treeswitch options); Code cleanup mainly removal of old printfs, SayMsgs, DbgMsg and unneeded %s.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/grep.c

    r1398 r1402  
    3131  29 Nov 08 GKY Remove or replace with a mutex semaphore DosEnterCriSec where appropriate.
    3232  07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook.
     33  08 Mar 09 GKY Additional strings move to String Table
    3334
    3435***********************************************************************/
     
    603604            // Complain if pathnames exceeds max
    604605            DosFindClose(findHandle);
    605             //xfree(pffbArray, pszSrcFile, __LINE__);
    606606            if (!fDone) {
    607607              fDone = TRUE;
     
    609609                     HWND_DESKTOP,
    610610                     GetPString(IDS_WARNINGTEXT),
    611                      "One or more of your files has a full path name that exceeds the OS/2 maximum");
     611                     GetPString(IDS_LENGTHEXCEEDSMAXPATHTEXT));
    612612            }
    613613            return 1;
     
    717717  if (!pci) {
    718718    Win_Error(grep->hwndFiles, grep->hwndFiles, pszSrcFile, __LINE__,
    719               "CM_ALLOCRECORD %u failed", grep->toinsert);
     719              PCSZ_CM_ALLOCRECORD);
    720720  }
    721721  else {
     
    15151515          }
    15161516        }
    1517         // DosSleep(0); //26 Aug 07 GKY 1
    15181517      } // while
    15191518    }
Note: See TracChangeset for help on using the changeset viewer.