- Timestamp:
- Dec 20, 2021 10:51:05 PM (3 years ago)
- Location:
- trunk/src/grep
- Files:
-
- 3 added
- 8 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/grep/config.win.h ¶
r3531 r3532 1 /* config.hin. Generated from configure.ac by autoheader. */ 1 /* config.hin. Manually edited */ 2 #ifndef INCLUDED_CONFIG_WIN_H 3 #define INCLUDED_CONFIG_WIN_H 4 5 #if 1 6 7 /* HACK ALERT! Make inlined CRT functions static to avoid getting duplicate 8 symbols errors for things like _vprintf_l. */ 9 # define _CRT_STDIO_INLINE static __inline 10 11 /* HACK ALERT! Ugly ugly hack for making __local_stdio_printf_options static 12 and not to cause stupid stupid duplicate symbols linker errors. */ 13 # include <corecrt.h> 14 # undef _CRT_INLINE_PURE_SECURITYCRITICAL_ATTRIBUTE 15 # define _CRT_INLINE_PURE_SECURITYCRITICAL_ATTRIBUTE static 16 17 /* HACK ALERT! wchar.h requires __inline temporarily redefined to static _inline or 18 we'll end up with mbsinit wmemchr, wmemcmp, wmemcpy and friends as duplicates. */ 19 # include <stdio.h> 20 # include <conio.h> 21 # include <string.h> 22 # include <time.h> 23 # include <sys/stat.h> 24 # define __inline static _inline 25 # include <wchar.h> 26 # undef __inline 27 28 #endif 2 29 3 30 /* CPU and C ABI indicator */ … … 174 201 compilers. Use 'FLEXSIZEOF (struct s, d, N * sizeof (short))' to calculate 175 202 the size in bytes of such a struct containing an N-element array. */ 176 # undef FLEXIBLE_ARRAY_MEMBER203 #define FLEXIBLE_ARRAY_MEMBER 1 177 204 178 205 /* Define to 1 if fopen() fails to recognize a trailing slash. */ … … 227 254 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 228 255 whether the gnulib module openat shall be considered present. */ 229 # undef GNULIB_OPENAT256 #define GNULIB_OPENAT 1 230 257 231 258 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 232 259 whether the gnulib module openat-safer shall be considered present. */ 233 # undef GNULIB_OPENAT_SAFER260 #define GNULIB_OPENAT_SAFER 1 234 261 235 262 /* enable some gnulib portability checks */ … … 274 301 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 275 302 whether the gnulib module strerror_r-posix shall be considered present. */ 276 # undef GNULIB_STRERROR_R_POSIX303 #define GNULIB_STRERROR_R_POSIX 0 277 304 278 305 /* Define to 1 when the gnulib module accept should be tested. */ … … 619 646 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 620 647 whether the gnulib module xalloc shall be considered present. */ 621 # undef GNULIB_XALLOC648 #define GNULIB_XALLOC 1 622 649 623 650 /* Define to a C preprocessor expression that evaluates to 1 or 0, depending 624 651 whether the gnulib module xalloc-die shall be considered present. */ 625 # undef GNULIB_XALLOC_DIE652 #define GNULIB_XALLOC_DIE 1 626 653 627 654 /* We are building grep */ 628 # undefGREP655 #define GREP 629 656 630 657 /* Define to 1 if you have 'alloca' after including <alloca.h>, a header that … … 659 686 660 687 /* Define to 1 if you have the `closedir' function. */ 661 # undef HAVE_CLOSEDIR688 #define HAVE_CLOSEDIR 1 662 689 663 690 /* Define to 1 if you have the <crtdefs.h> header file. */ … … 690 717 /* Define to 1 if you have the declaration of `fchdir', and to 0 if you don't. 691 718 */ 692 # undef HAVE_DECL_FCHDIR719 #define HAVE_DECL_FCHDIR 0 693 720 694 721 /* Define to 1 if you have the declaration of `fcloseall', and to 0 if you … … 742 769 /* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if 743 770 you don't. */ 744 # undef HAVE_DECL_GETCHAR_UNLOCKED771 #define HAVE_DECL_GETCHAR_UNLOCKED 0 745 772 746 773 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you 747 774 don't. */ 748 # undef HAVE_DECL_GETC_UNLOCKED775 #define HAVE_DECL_GETC_UNLOCKED 0 749 776 750 777 /* Define to 1 if you have the declaration of `getdtablesize', and to 0 if you … … 758 785 /* Define to 1 if you have the declaration of `isblank', and to 0 if you 759 786 don't. */ 760 # undef HAVE_DECL_ISBLANK787 #define HAVE_DECL_ISBLANK 0 761 788 762 789 /* Define to 1 if you have the declaration of `iswblank', and to 0 if you 763 790 don't. */ 764 # undef HAVE_DECL_ISWBLANK791 #define HAVE_DECL_ISWBLANK 1 765 792 766 793 /* Define to 1 if you have the declaration of `mbrlen', and to 0 if you don't. 767 794 */ 768 # undef HAVE_DECL_MBRLEN795 #define HAVE_DECL_MBRLEN 1 769 796 770 797 /* Define to 1 if you have the declaration of `mbrtowc', and to 0 if you 771 798 don't. */ 772 # undef HAVE_DECL_MBRTOWC799 #define HAVE_DECL_MBRTOWC 1 773 800 774 801 /* Define to 1 if you have the declaration of `mbsinit', and to 0 if you 775 802 don't. */ 776 # undef HAVE_DECL_MBSINIT803 #define HAVE_DECL_MBSINIT 0 777 804 778 805 /* Define to 1 if you have the declaration of `mbsrtowcs', and to 0 if you 779 806 don't. */ 780 # undef HAVE_DECL_MBSRTOWCS807 #define HAVE_DECL_MBSRTOWCS 0 781 808 782 809 /* Define to 1 if you have the declaration of `memrchr', and to 0 if you 783 810 don't. */ 784 # undef HAVE_DECL_MEMRCHR811 #define HAVE_DECL_MEMRCHR 0 785 812 786 813 /* Define to 1 if you have the declaration of `program_invocation_name', and 787 814 to 0 if you don't. */ 788 # undef HAVE_DECL_PROGRAM_INVOCATION_NAME815 #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0 789 816 790 817 /* Define to 1 if you have the declaration of `program_invocation_short_name', 791 818 and to 0 if you don't. */ 792 # undef HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME819 #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0 793 820 794 821 /* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if 795 822 you don't. */ 796 # undef HAVE_DECL_PUTCHAR_UNLOCKED823 #define HAVE_DECL_PUTCHAR_UNLOCKED 0 797 824 798 825 /* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you 799 826 don't. */ 800 # undef HAVE_DECL_PUTC_UNLOCKED827 #define HAVE_DECL_PUTC_UNLOCKED 0 801 828 802 829 /* Define to 1 if you have the declaration of `setenv', and to 0 if you don't. 803 830 */ 804 # undef HAVE_DECL_SETENV831 #define HAVE_DECL_SETENV 0 805 832 806 833 /* Define to 1 if you have the declaration of `sleep', and to 0 if you don't. 807 834 */ 808 # undef HAVE_DECL_SLEEP835 #define HAVE_DECL_SLEEP 0 809 836 810 837 /* Define to 1 if you have the declaration of `snprintf', and to 0 if you 811 838 don't. */ 812 # undef HAVE_DECL_SNPRINTF839 #define HAVE_DECL_SNPRINTF 1 813 840 814 841 /* Define to 1 if you have the declaration of `strdup', and to 0 if you don't. 815 842 */ 816 # undef HAVE_DECL_STRDUP843 #define HAVE_DECL_STRDUP 1 817 844 818 845 /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you 819 846 don't. */ 820 # undef HAVE_DECL_STRERROR_R847 #define HAVE_DECL_STRERROR_R 1 821 848 822 849 /* Define to 1 if you have the declaration of `strnlen', and to 0 if you 823 850 don't. */ 824 # undef HAVE_DECL_STRNLEN851 #define HAVE_DECL_STRNLEN 1 825 852 826 853 /* Define to 1 if you have the declaration of `strtoimax', and to 0 if you 827 854 don't. */ 828 # undef HAVE_DECL_STRTOIMAX855 #define HAVE_DECL_STRTOIMAX 1 829 856 830 857 /* Define to 1 if you have the declaration of `strtoll', and to 0 if you 831 858 don't. */ 832 # undef HAVE_DECL_STRTOLL859 #define HAVE_DECL_STRTOLL 1 833 860 834 861 /* Define to 1 if you have the declaration of `strtoull', and to 0 if you 835 862 don't. */ 836 # undef HAVE_DECL_STRTOULL863 #define HAVE_DECL_STRTOULL 1 837 864 838 865 /* Define to 1 if you have the declaration of `strtoumax', and to 0 if you 839 866 don't. */ 840 # undef HAVE_DECL_STRTOUMAX867 #define HAVE_DECL_STRTOUMAX 1 841 868 842 869 /* Define to 1 if you have the declaration of `towlower', and to 0 if you 843 870 don't. */ 844 # undef HAVE_DECL_TOWLOWER871 #define HAVE_DECL_TOWLOWER 1 845 872 846 873 /* Define to 1 if you have the declaration of `unsetenv', and to 0 if you 847 874 don't. */ 848 # undef HAVE_DECL_UNSETENV875 #define HAVE_DECL_UNSETENV 0 849 876 850 877 /* Define to 1 if you have the declaration of `wcrtomb', and to 0 if you 851 878 don't. */ 852 # undef HAVE_DECL_WCRTOMB879 #define HAVE_DECL_WCRTOMB 0 853 880 854 881 /* Define to 1 if you have the declaration of `wcsdup', and to 0 if you don't. 855 882 */ 856 # undef HAVE_DECL_WCSDUP883 #define HAVE_DECL_WCSDUP 1 857 884 858 885 /* Define to 1 if you have the declaration of `wctob', and to 0 if you don't. 859 886 */ 860 # undef HAVE_DECL_WCTOB887 #define HAVE_DECL_WCTOB 1 861 888 862 889 /* Define to 1 if you have the declaration of `wcwidth', and to 0 if you 863 890 don't. */ 864 # undef HAVE_DECL_WCWIDTH891 #define HAVE_DECL_WCWIDTH 0 865 892 866 893 /* Define to 1 if you have the declaration of `_putenv', and to 0 if you 867 894 don't. */ 868 # undef HAVE_DECL__PUTENV895 #define HAVE_DECL__PUTENV 1 869 896 870 897 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you … … 874 901 /* Define to 1 if you have the declaration of `__argv', and to 0 if you don't. 875 902 */ 876 # undef HAVE_DECL___ARGV903 #define HAVE_DECL___ARGV 1 877 904 878 905 /* Define to 1 if you have the declaration of `__fpending', and to 0 if you 879 906 don't. */ 880 # undef HAVE_DECL___FPENDING907 #define HAVE_DECL___FPENDING 0 881 908 882 909 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'. … … 946 973 947 974 /* Define to 1 if you have the `getprogname' function. */ 948 #undef HAVE_GETPROGNAME 975 #define HAVE_GETPROGNAME 1 976 const char *getprogname(void); 949 977 950 978 /* Define to 1 if you have the `getrlimit' function. */ … … 1069 1097 1070 1098 /* Define to 1 if you have the `mempcpy' function. */ 1071 #undef HAVE_MEMPCPY 1099 #define HAVE_MEMPCPY 1 1100 1101 #include <string.h> 1102 static _inline void *mempcpy(void *pvDst, const void *pvSrc, size_t cb) 1103 { 1104 return (char *)memcpy(pvDst, pvSrc, cb) + cb; 1105 } 1072 1106 1073 1107 /* Define to 1 if you have the `memrchr' function. */ 1074 1108 #undef HAVE_MEMRCHR 1109 void *memrchr(const void *, int, size_t); 1075 1110 1076 1111 /* Define to 1 if you have the <minix/config.h> header file. */ … … 1113 1148 1114 1149 /* Define to 1 if you have the `openat' function. */ 1115 # undef HAVE_OPENAT1150 #define HAVE_OPENAT 1 1116 1151 1117 1152 /* Define to 1 if you have the `opendir' function. */ 1118 # undef HAVE_OPENDIR1153 #define HAVE_OPENDIR 1 1119 1154 1120 1155 /* Define to 1 if you have the <OS.h> header file. */ … … 1156 1191 1157 1192 /* Define to 1 if you have the `rawmemchr' function. */ 1158 #undef HAVE_RAWMEMCHR 1193 #define HAVE_RAWMEMCHR 1 1194 1195 1196 #include <string.h> 1197 static _inline void *rawmemchr(const void *pv, int ch) 1198 { 1199 return memchr(pv, ch, ~(size_t)0 / 4); 1200 } 1159 1201 1160 1202 /* Define to 1 if you have the `readdir' function. */ 1161 # undef HAVE_READDIR1203 #define HAVE_READDIR 1 1162 1204 1163 1205 /* Define to 1 if you have the `reallocarray' function. */ … … 1183 1225 1184 1226 /* Define to 1 if you have the `setlocale' function. */ 1185 # undef HAVE_SETLOCALE1227 #define HAVE_SETLOCALE 1 1186 1228 1187 1229 /* Define to 1 if you have the `setrlimit' function. */ … … 1253 1295 1254 1296 /* Define to 1 if you have the `strerror_r' function. */ 1255 #undef HAVE_STRERROR_R 1297 #define HAVE_STRERROR_R 1 1298 #include <string.h> 1299 static _inline int strerror_r(int iErr, char *pszDst, size_t cbDst) 1300 { 1301 return strerror_s(pszDst, cbDst, iErr); 1302 } 1256 1303 1257 1304 /* Define to 1 if you have the <strings.h> header file. */ … … 1565 1612 1566 1613 /* Name of package */ 1567 # undef PACKAGE1614 #define PACKAGE "kmk_grep" 1568 1615 1569 1616 /* Define to the address where bug reports for this package should be sent. */ 1570 # undef PACKAGE_BUGREPORT1617 #define PACKAGE_BUGREPORT "bird-kbuild-spam-ixx@anduin.net" 1571 1618 1572 1619 /* Define to the full name of this package. */ 1573 # undef PACKAGE_NAME1620 #define PACKAGE_NAME "kmk_grep" 1574 1621 1575 1622 /* String identifying the packager of this software */ … … 1592 1639 1593 1640 /* Define to the version of this package. */ 1594 # undef PACKAGE_VERSION1641 #define PACKAGE_VERSION "3.7" 1595 1642 1596 1643 /* Define to the type that is the result of default argument promotions of 1597 1644 type mode_t. */ 1598 # undef PROMOTED_MODE_T1645 #define PROMOTED_MODE_T uintptr_t 1599 1646 1600 1647 /* Define if pthread_create is an inline function. */ … … 1622 1669 1623 1670 /* Define to 1 if gnulib's fchdir() replacement is used. */ 1624 # undef REPLACE_FCHDIR1671 #define REPLACE_FCHDIR 1 1625 1672 1626 1673 /* Define to 1 if stat needs help when passed a file name with a trailing … … 1721 1768 /* Enable GNU extensions on systems that have them. */ 1722 1769 #ifndef _GNU_SOURCE 1723 # undef_GNU_SOURCE1770 # define _GNU_SOURCE 1724 1771 #endif 1725 1772 /* Enable X/Open compliant socket functions that do not require linking … … 1802 1849 1803 1850 /* Version number of package */ 1804 # undefVERSION1851 #define VERSION PACKAGE_VERSION 1805 1852 1806 1853 /* Define to 1 if unsetenv returns void instead of int. */ … … 2417 2464 nothing if this is not supported. Do not define if restrict is 2418 2465 supported only directly. */ 2419 # undefrestrict2466 #define restrict 2420 2467 /* Work around a bug in older versions of Sun C++, which did not 2421 2468 #define __restrict__ or support _Restrict or __restrict__ … … 2436 2483 2437 2484 /* Define as a signed type of the same size as size_t. */ 2438 # undef ssize_t2485 #define ssize_t ptrdiff_t 2439 2486 2440 2487 /* Define to 'struct sigaltstack' if that's the type of the argument to … … 2463 2510 /* Define as a macro for copying va_list variables. */ 2464 2511 #undef va_copy 2512 2513 typedef unsigned mode_t; 2514 2515 /* Include windows.h here before DATADIR is defined, as it conflicts with objidl.h. */ 2516 #include <windows.h> 2517 2518 /* Hack! */ 2519 #include <arg-nonnull.h> 2520 2521 /* More hacks */ 2522 #define _GL_ATTRIBUTE_FORMAT_PRINTF_STANDARD(a, b) 2523 2524 /* S_ISXXX macros: */ 2525 #include <sys/stat.h> 2526 #include <nt/ntstat.h> 2527 #ifndef S_ISCHR 2528 # define S_ISCHR(x) 0 2529 #endif 2530 #ifndef S_ISBLK 2531 # define S_ISBLK(x) 0 2532 #endif 2533 #ifndef S_ISSOCK 2534 # define S_ISSOCK(x) 0 2535 #endif 2536 #ifndef S_ISFIFO 2537 # define S_ISFIFO(x) 0 2538 #endif 2539 #ifndef S_TYPEISSHM 2540 # define S_TYPEISSHM(x) 0 2541 #endif 2542 #ifndef S_TYPEISTMO 2543 # define S_TYPEISTMO(x) 0 2544 #endif 2545 2546 /* Missing these: */ 2547 #define STDIN_FILENO 0 2548 #define STDOUT_FILENO 1 2549 #define STDERR_FILENO 2 2550 2551 /* Missing open flags.*/ 2552 #include <nt/ntopenat.h> 2553 #ifndef O_NOCTTY 2554 # define O_NOCTTY 0 2555 #endif 2556 #ifndef O_NOFOLLOW 2557 # define O_NOFOLLOW 0 2558 #endif 2559 #ifndef O_NOLINK 2560 # define O_NOLINK 0 2561 #endif 2562 #ifndef O_NOLINKS 2563 # define O_NOLINKS 0 2564 #endif 2565 #ifndef O_NOTRANS 2566 # define O_NOTRANS 0 2567 #endif 2568 #ifndef O_NONBLOCK 2569 # define O_NONBLOCK 0 2570 #endif 2571 #ifndef O_SEARCH 2572 # define O_SEARCH 0 2573 #endif 2574 #ifndef O_CLOEXEC 2575 # define O_CLOEXEC _O_NOINHERIT 2576 #endif 2577 2578 /* Some prototypes of gnulib functions put here to avoid needing to mess with 2579 stdlib.in.h, string.in.h and wchar.in.h since MSC has no include_next facility. */ 2580 extern void *reallocarray(void *, size_t, size_t); 2581 extern int mbscasecmp(const char *, const char *); 2582 extern wchar_t *wmempcpy(wchar_t *, const wchar_t *, size_t); 2583 extern int wcwidth(wchar_t); 2584 2585 #define strerror gl_strerror 2586 2587 /* Override initialize_main to do wildcard expansion. */ 2588 #define initialize_main w32_initialize_main 2589 2590 #endif /* !INCLUDED_CONFIG_WIN_H */ 2591 -
TabularUnified trunk/src/grep/lib/binary-io.h ¶
r3529 r3532 39 39 # define __gl_setmode setmode 40 40 # else 41 # ifdef KMK_GREP 42 # include <io.h> /* declares _setmode() */ 43 # endif 41 44 # define __gl_setmode _setmode 42 45 # undef fileno -
TabularUnified trunk/src/grep/lib/dfa.c ¶
r3529 r3532 297 297 RPAREN, /* RPAREN never appears in the parse tree. */ 298 298 299 #if defined(KMK_GREP) && defined(KBUILD_OS_WINDOWS) 300 # define WCHAR DFA_WCHAR 301 #endif 299 302 WCHAR, /* Only returned by lex. wctok contains 300 303 the wide character representation. */ -
TabularUnified trunk/src/grep/lib/dup-safer-flag.c ¶
r3529 r3532 34 34 dup_safer_flag (int fd, int flag) 35 35 { 36 #if defined(KMK_GREP) && defined(_MSC_VER) 37 int afd[STDERR_FILENO + 1]; 38 int i; 39 for (i = 0; ; i++) 40 { 41 int fdNew = _dup(fd); 42 if (fdNew >= STDERR_FILENO + 1 || fdNew < 0) 43 { 44 while (i-- > 0) 45 close(afd[i]); 46 return fdNew; 47 } 48 afd[i] = fdNew; 49 } 50 #else 36 51 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD, 37 52 STDERR_FILENO + 1); 53 #endif 38 54 } -
TabularUnified trunk/src/grep/lib/dup-safer.c ¶
r3529 r3532 31 31 dup_safer (int fd) 32 32 { 33 #if defined(KMK_GREP) && defined(_MSC_VER) 34 int afd[STDERR_FILENO + 1]; 35 int i; 36 for (i = 0; ; i++) 37 { 38 int fdNew = _dup(fd); 39 if (fdNew >= STDERR_FILENO + 1 || fdNew < 0) 40 { 41 while (i-- > 0) 42 close(afd[i]); 43 return fdNew; 44 } 45 afd[i] = fdNew; 46 } 47 #else 33 48 return fcntl (fd, F_DUPFD, STDERR_FILENO + 1); 49 #endif 34 50 } -
TabularUnified trunk/src/grep/lib/fnmatch.in.h ¶
r3529 r3532 34 34 35 35 /* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */ 36 #if defined(KMK_GREP) 37 # include "c++defs.h" 38 #endif 36 39 37 40 /* The definition of _GL_ARG_NONNULL is copied here. */ 41 #if defined(KMK_GREP) 42 # include "arg-nonnull.h" 43 #endif 38 44 39 45 /* The definition of _GL_WARN_ON_USE is copied here. */ -
TabularUnified trunk/src/grep/lib/regcomp.c ¶
r3529 r3532 880 880 != 0); 881 881 #else 882 # ifdef _MSC_VER 883 (void)codeset_name; 884 if (GetACP() == 65001 /*utf-8*/) 885 # else 882 886 codeset_name = nl_langinfo (CODESET); 883 887 if ((codeset_name[0] == 'U' || codeset_name[0] == 'u') … … 885 889 && (codeset_name[2] == 'F' || codeset_name[2] == 'f') 886 890 && strcmp (codeset_name + 3 + (codeset_name[3] == '-'), "8") == 0) 891 # endif 887 892 dfa->is_utf8 = 1; 888 893 -
TabularUnified trunk/src/grep/lib/regex_internal.h ¶
r3529 r3532 26 26 #include <string.h> 27 27 28 #if !defined(KMK_GREP) || !defined(_MSC_VER) 28 29 #include <langinfo.h> 30 #endif 29 31 #include <locale.h> 30 32 #include <wchar.h> -
TabularUnified trunk/src/grep/src/grep.c ¶
r3529 r3532 39 39 #include "exitfail.h" 40 40 #include "fcntl-safer.h" 41 #if defined(KMK_GREP) && defined(KBUILD_OS_WINDOWS) 42 # include "nt/fts-nt.h" /* Use NT optimized FTS implementation. */ 43 #else 41 44 #include "fts_.h" 45 #endif 42 46 #include "getopt.h" 43 47 #include "getprogname.h" … … 1691 1695 { 1692 1696 struct stat *st = ent->fts_statp; 1697 #if !defined(KMK_GREP) || !defined(_MSC_VER) /** @todo revisit this */ 1693 1698 struct stat st1; 1694 1699 if (! st->st_mode) … … 1705 1710 st = &st1; 1706 1711 } 1712 #endif 1707 1713 if (is_device_mode (st->st_mode)) 1708 1714 return true; … … 2069 2075 execute_fp_t execute; 2070 2076 } const matchers[] = { 2071 { "grep", RE_SYNTAX_GREP, GEAcompile,EGexecute },2072 { "egrep", RE_SYNTAX_EGREP, GEAcompile,EGexecute },2073 { "fgrep", 0, Fcompile, Fexecute,},2074 { "awk", RE_SYNTAX_AWK, GEAcompile,EGexecute },2075 { "gawk", RE_SYNTAX_GNU_AWK, GEAcompile,EGexecute },2076 { "posixawk", RE_SYNTAX_POSIX_AWK, GEAcompile,EGexecute },2077 { "grep", RE_SYNTAX_GREP, (compile_fp_t)GEAcompile, (execute_fp_t)EGexecute }, 2078 { "egrep", RE_SYNTAX_EGREP, (compile_fp_t)GEAcompile, (execute_fp_t)EGexecute }, 2079 { "fgrep", 0, (compile_fp_t)Fcompile, (execute_fp_t)Fexecute }, 2080 { "awk", RE_SYNTAX_AWK, (compile_fp_t)GEAcompile, (execute_fp_t)EGexecute }, 2081 { "gawk", RE_SYNTAX_GNU_AWK, (compile_fp_t)GEAcompile, (execute_fp_t)EGexecute }, 2082 { "posixawk", RE_SYNTAX_POSIX_AWK, (compile_fp_t)GEAcompile, (execute_fp_t)EGexecute }, 2077 2083 #if HAVE_LIBPCRE 2078 { "perl", 0, Pcompile, Pexecute,},2084 { "perl", 0, (compile_fp_t)Pcompile, (execute_fp_t)Pexecute }, 2079 2085 #endif 2080 2086 };
Note:
See TracChangeset
for help on using the changeset viewer.