Changeset 1878 for trunk/dll/arccnrs.c


Ignore:
Timestamp:
Oct 12, 2015, 12:24:39 AM (10 years ago)
Author:
Gregg Young
Message:

Remove some dead code and comments source files starting with A-D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r1877 r1878  
    21302130                       (li->type == IDM_EDITTEXT && *editor) ||
    21312131                       (li->type == IDM_EDITBINARY && *bined)) {
    2132                 //DosSleep(32); // Added WAIT to runemf2 12-12-08 GKY
    21332132                ExecOnList(hwnd, ((li->type == IDM_VIEWTEXT) ? viewer :
    21342133                                  (li->type == IDM_VIEWBINARY) ? binview :
    21352134                                  (li->type == IDM_EDITTEXT) ? editor :
    21362135                                  bined),
    2137                            WINDOWED | SEPARATE, NULL, NULL, // li->targetpath,
     2136                           WINDOWED | SEPARATE, NULL, NULL,
    21382137                           li->list,
    21392138                           NULL, pszSrcFile, __LINE__);
     
    22382237              WinSendMsg(dcd->hwndCnr, WM_COMMAND,
    22392238                         MPFROM2SHORT(IDM_COLLECTOR, 0), MPVOID);
    2240               DosSleep(10); //05 Aug 07 GKY 128
     2239              DosSleep(10);
    22412240              if (Collector) {
    22422241                if (!PostMsg(Collector, WM_COMMAND,
     
    22662265    if (dcd) {
    22672266      if (*dcd->workdir) {
    2268         DosSleep(16); //05 Aug 07 GKY 33
     2267        DosSleep(16);
    22692268        wipeallf(TRUE, "%s\\*", dcd->workdir);
    22702269        if (rmdir(dcd->workdir)) {
    2271           DosSleep(100); //05 Aug 07 GKY 256
     2270          DosSleep(100);
    22722271          wipeallf(TRUE, "%s\\*", dcd->workdir);
    22732272          rmdir(dcd->workdir);
     
    26352634          if (!SetDir(dcd->hwndParent, hwnd, s, 0)) {
    26362635            if (stricmp(dcd->directory, s)) {
    2637               //DosEnterCritSec();  //GKY 11-29-08
    26382636              DosRequestMutexSem(hmtxFM2Globals, SEM_INDEFINITE_WAIT);
    26392637              strcpy(lastextractpath, s);
    26402638              DosReleaseMutexSem(hmtxFM2Globals);
    2641               //DosExitCritSec();
    26422639            }
    26432640            strcpy(dcd->directory, s);
     
    26672664      SWP swp;
    26682665      CHAR *filename = mp1;
    2669       //printf("%s %d UM_ENTER %s\n",__FILE__, __LINE__, filename); fflush(stdout);
    26702666      if (IsFile(filename) != 1) {
    26712667        free(mp1);
     
    30173013            }
    30183014            WinSetWindowPos(hwndC, HWND_TOP, 0, 0, 0, 0, SWP_ACTIVATE);
    3019             DosSleep(100); //05 Aug 07 GKY 128
     3015            DosSleep(100);
    30203016          }
    30213017        }
     
    30903086        if (mp2) {
    30913087          if (stricmp(dcd->directory, (CHAR *) mp2)) {
    3092             //DosEnterCritSec(); //GKY 11-29-08
    30933088            DosRequestMutexSem(hmtxFM2Globals, SEM_INDEFINITE_WAIT);
    30943089            strcpy(lastextractpath, (CHAR *) mp2);
    30953090            MakeValidDir(lastextractpath);
    30963091            DosReleaseMutexSem(hmtxFM2Globals);
    3097             //DosExitCritSec();
    30983092          }
    30993093          strcpy(dcd->directory, (CHAR *) mp2);
     
    33703364          LISTINFO *li;
    33713365
    3372           //DosBeep(500, 100);          // fixme to know why beep?
    33733366          li = DoFileDrop(hwnd, dcd->arcname, FALSE, mp1, mp2);
    3374           //DosBeep(50, 100);           // fixme to know why beep?
    33753367          CheckPmDrgLimit(((PCNRDRAGINFO)mp2)->pDragInfo);
    33763368          if (li) {
     
    37393731        }
    37403732        if (!*dcd->directory && *lastextractpath) {
    3741           //DosEnterCritSec();  //GKY 11-29-08
    37423733          DosRequestMutexSem(hmtxFM2Globals, SEM_INDEFINITE_WAIT);
    37433734          strcpy(dcd->directory, lastextractpath);
    37443735          DosReleaseMutexSem(hmtxFM2Globals);
    3745           //DosExitCritSec();
    37463736        }
    37473737        if (!*dcd->directory) {
Note: See TracChangeset for help on using the changeset viewer.