Changeset 1570 for trunk/dll/dircnrs.c
- Timestamp:
- Jun 13, 2011, 12:09:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dircnrs.c
r1553 r1570 1412 1412 //DosEnterCritSec(); //GKY 11-27-08 1413 1413 dcd->stopflag++; 1414 //DosExitCritSec(); 1414 //DosExitCritSec(); 1415 //DbgMsg(pszSrcFile, __LINE__, "WM_RESCAN"); 1415 1416 if (!PostMsg(dcd->hwndObject, UM_RESCAN, MPVOID, MPFROMLONG(1L))) { 1416 1417 strcpy(dcd->directory, dcd->previous); … … 1468 1469 WinSetDlgItemText(dcd->hwndClient, DIR_SELECTED, s); 1469 1470 if (hwndStatus && 1470 1471 dcd->hwndFrame == WinQueryActiveWindow(dcd->hwndParent)) { 1471 1472 PostMsg(dcd->hwndObject, UM_RESCAN2, MPVOID, MPVOID); 1472 1473 if ((fSplitStatus && hwndStatus2) || fMoreButtons) { … … 2313 2314 //DosEnterCritSec(); //GKY 11-27-08 2314 2315 dcd->stopflag++; 2315 //DosExitCritSec(); 2316 //DosExitCritSec(); 2317 //DbgMsg(pszSrcFile, __LINE__, "WM_RESCAN"); 2316 2318 if (!PostMsg(dcd->hwndObject, UM_RESCAN, MPVOID, MPVOID)) { 2317 2319 //DosEnterCritSec(); //GKY 11-27-08 … … 2451 2453 //DosEnterCritSec(); // GKY 11-27-08 2452 2454 dcd->stopflag++; 2453 //DosExitCritSec(); 2455 //DosExitCritSec(); 2456 //DbgMsg(pszSrcFile, __LINE__, "WM_RESCAN"); 2454 2457 if (!PostMsg(dcd->hwndObject, UM_RESCAN, MPVOID, MPFROMLONG(1L))) { 2455 2458 strcpy(dcd->directory, dcd->previous); … … 2474 2477 strcpy(tempname1, dcd->directory); 2475 2478 AddBackslashToPath(tempname1); 2476 //if (tempname1[strlen(tempname1) - 1] != '\\')2477 // strcat(tempname1, "\\");2478 2479 strcat(tempname1, ".."); 2479 2480 DosError(FERR_DISABLEHARDERR); … … 2484 2485 strcpy(dcd->previous, dcd->directory); 2485 2486 strcpy(dcd->directory, tempname2); 2486 //DosEnterCritSec(); // GKY 11-27-082487 2487 dcd->stopflag++; 2488 //DosExitCritSec();2488 //DbgMsg(pszSrcFile, __LINE__, "WM_RESCAN"); 2489 2489 if (!PostMsg(dcd->hwndObject, 2490 2490 UM_RESCAN, MPVOID, MPFROMLONG(1L))) { 2491 2491 strcpy(dcd->directory, dcd->previous); 2492 //DosEnterCritSec();// GKY 11-27-082493 2492 dcd->stopflag--; 2494 //DosExitCritSec();2495 2493 } 2496 2494 else if (*dcd->directory) { … … 2516 2514 strcpy(dcd->directory, dcd->previous); 2517 2515 strcpy(dcd->previous, tempname); 2518 //DosEnterCritSec(); // GKY 11-27-08 2519 dcd->stopflag++; 2520 //DosExitCritSec(); 2516 dcd->stopflag++; ; 2517 //DbgMsg(pszSrcFile, __LINE__, "WM_RESCAN"); 2521 2518 if (!PostMsg(dcd->hwndObject, UM_RESCAN, MPVOID, MPFROMLONG(1L))) { 2522 2519 strcpy(dcd->directory, dcd->previous); 2523 //DosEnterCritSec(); // GKY 11-27-082524 2520 dcd->stopflag--; 2525 //DosExitCritSec();2526 2521 } 2527 2522 else if (*dcd->directory) { … … 2553 2548 strcpy(dcd->previous, dcd->directory); 2554 2549 strcpy(dcd->directory, newdir); 2555 //DosEnterCritSec(); //GKY 11-27-082556 2550 dcd->stopflag++; 2557 //DosExitCritSec();2551 //DbgMsg(pszSrcFile, __LINE__, "WM_RESCAN"); 2558 2552 if (!PostMsg(dcd->hwndObject, UM_RESCAN, MPVOID, MPFROMLONG(1L))) { 2559 2553 strcpy(dcd->directory, dcd->previous); 2560 //DosEnterCritSec(); // GKY 11-27-082561 2554 dcd->stopflag--; 2562 //DosExitCritSec();2563 2555 } 2564 2556 else if (*dcd->directory) { … … 3399 3391 strcpy(dcd->previous, dcd->directory); 3400 3392 strcpy(dcd->directory, pci->pszFileName); 3401 //DosEnterCritSec(); // GKY 11-27-083402 3393 dcd->stopflag++; 3403 //DosExitCritSec();3394 //DbgMsg(pszSrcFile, __LINE__, "WM_RESCAN"); 3404 3395 if (!PostMsg(dcd->hwndObject, 3405 3396 UM_RESCAN, MPVOID, MPFROMLONG(1))) { 3406 //DosEnterCritSec(); // GKY 11-27-083407 3397 dcd->stopflag--; 3408 //DosExitCritSec();3409 3398 } 3410 3399 else if (*dcd->directory) { … … 3446 3435 } 3447 3436 else { 3448 //DosEnterCritSec(); // GKY 11-27-083449 3437 dcd->stopflag++; 3450 //DosExitCritSec();3438 //DbgMsg(pszSrcFile, __LINE__, "WM_RESCAN"); 3451 3439 if (!PostMsg(dcd->hwndObject, 3452 3440 UM_RESCAN, MPVOID, MPFROMLONG(1L))) { 3453 //DosEnterCritSec(); // GKY 11-27-083454 3441 dcd->stopflag--; 3455 //DosExitCritSec();3456 3442 } 3457 3443 else if (*dcd->directory) {
Note:
See TracChangeset
for help on using the changeset viewer.