Changeset 907 for trunk/dll/errutil.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 moved

Legend:

Unmodified
Added
Removed
  • trunk/dll/errutil.c

    r904 r907  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2004, 2007 Steven H. Levine
     9  Copyright (c) 2004, 2008 Steven H. Levine
    1010
    1111  12 Aug 04 SHL Comments
     
    2727  14 Aug 07 SHL Add GetMSecTimer
    2828  14 Aug 07 SHL Use GetMSecTimer in DbgMsg
     29  05 Jan 08 SHL Renamed from error.c to match errutil.h
    2930
    3031***********************************************************************/
     32
     33#include <stdio.h>
     34#include <string.h>
     35#include <stdarg.h>
    3136
    3237#define INCL_DOS
     
    3439#define INCL_WIN
    3540
    36 #include <os2.h>
    37 #include <stdlib.h>
    38 #include <stdio.h>
    39 #include <string.h>
    40 #include <stdarg.h>
    41 
    42 #include "fm3dll.h"
     41#include "errutil.h"
     42#include "strutil.h"                    // GetPString
    4343#include "fm3str.h"
     44
     45#pragma data_seg(GLOBAL2)
     46PSZ DEBUG_STRING;
    4447
    4548#pragma data_seg(DATA1)
     
    219222  pErrInfoBlk = WinGetErrorInfo(hab);
    220223  if (!pErrInfoBlk) {
    221     ERRORID id = WinGetLastError(hab);  // 03 Jan 08 SHL fixme debug
     224    ERRORID id = WinGetLastError(hab);
    222225    psz = pszBuf + strlen(pszBuf);
    223226    sprintf(psz, " WinGetErrorInfo failed (%u)", id);
Note: See TracChangeset for help on using the changeset viewer.