Changeset 907 for trunk/dll/grep.c
- Timestamp:
- Jan 6, 2008, 8:26:17 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/grep.c
r850 r907 7 7 8 8 Copyright (c) 1993-98 M. Kimes 9 Copyright (c) 2001, 200 7Steven H. Levine9 Copyright (c) 2001, 2008 Steven H. Levine 10 10 11 11 12 Feb 03 SHL insert_grepfile: standardize EA math … … 30 30 ***********************************************************************/ 31 31 32 #define INCL_DOS33 #define INCL_WIN34 #define INCL_DOSERRORS35 #define INCL_LONGLONG36 #include <os2.h>37 38 32 #include <stdlib.h> 39 33 #include <string.h> 40 34 #include <ctype.h> 41 #include <stdio.h>42 35 #include <share.h> 43 36 44 #include "fm3dll.h" 37 #define INCL_DOS 38 #define INCL_DOSERRORS 39 #define INCL_WIN 40 #define INCL_LONGLONG 41 45 42 #include "fm3str.h" 46 43 #include "grep.h" 44 #include "pathutil.h" // BldFullPathName 45 #include "filldir.h" // FillInRecordFromFFB 46 #include "makelist.h" // AddToList 47 #include "errutil.h" // Dos_Error... 48 #include "strutil.h" // GetPString 49 #include "fm3dll.h" 47 50 48 51 #pragma data_seg(DATA2) … … 588 591 MPFROMLONG(EXTRA_RECORD_BYTES), 589 592 MPFROMLONG(grep->toinsert)); 593 // 04 Jan 08 SHL fixme to complain if CM_ALLOCRECORD fails 590 594 if (pci) { 595 // 04 Jan 08 SHL fixme like comp.c to handle less than ulSelCnt records 591 596 if (grep->sayfiles) 592 597 WinSetWindowText(grep->hwndCurFile, GetPString(IDS_GREPINSERTINGTEXT)); … … 1125 1130 register CHAR *pc, *pi; 1126 1131 CHAR **list = NULL; 1127 INT numfiles = 0, numalloced = 0, error; 1132 UINT numfiles = 0, numalloced = 0; 1133 INT error; 1128 1134 register ULONG x = 0, y = 0; 1129 1135 ULONG cntr = 1000;
Note:
See TracChangeset
for help on using the changeset viewer.