Changeset 907 for trunk/dll/chklist.c


Ignore:
Timestamp:
Jan 6, 2008, 8:26:17 AM (18 years ago)
Author:
Steven Levine
Message:

Avoid out of memory traps in Compare Directories
Rework Compare Directories progress display for 2 second update rate
Start refactoring to reduce dependence on fm3dll.h
Add timer services (IsITimerExpired etc.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/chklist.c

    r847 r907  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2005, 2006 Steven H.Levine
     9  Copyright (c) 2005, 2008 Steven H.Levine
    1010
    1111  10 Jan 05 SHL Allow DND_TARGET to hold CCHMAXPATH
     
    1616***********************************************************************/
    1717
     18#include <string.h>
     19#include <ctype.h>
     20
    1821#define INCL_DOS
    1922#define INCL_WIN
    2023#define INCL_GPI
    2124#define INCL_LONGLONG
    22 #include <os2.h>
    23 
    24 #include <stdio.h>
    25 #include <stdlib.h>
    26 #include <string.h>
    27 #include <ctype.h>
    28 
    29 #include "fm3dll.h"
     25
    3026#include "fm3dlg.h"
    3127#include "fm3str.h"
     28#include "makelist.h"                   // AddToList
     29#include "errutil.h"                    // Dos_Error...
     30#include "strutil.h"                    // GetPString
     31#include "fm3dll.h"
    3232
    3333#pragma data_seg(DATA1)
     
    193193
    194194        CHAR szBuffer[CCHMAXPATH + 1];
    195         INT numfiles = 0, numalloc = 0, error;
     195        UINT numfiles = 0, numalloc = 0;
     196        INT error;
    196197        SHORT x;
    197198
     
    508509        SHORT x;
    509510        CHAR szBuffer[CCHMAXPATH + 1];
    510         INT numfiles = 0, numalloc = 0, error;
     511        UINT numfiles = 0, numalloc = 0;
     512        INT error;
    511513        USHORT cmd;
    512514
Note: See TracChangeset for help on using the changeset viewer.