X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dfa%2Fagrep.c;h=39d0f69173ff7241d73f6e541c605c9f9a9b76b8;hb=28f3461a79a4569d736f4ffc66c6ae207e38c2ab;hp=f63e7dabd5e6cb4632a84983f04ddabfbca6afa7;hpb=e127268c91736bf5a116cbc24653da4b845ca046;p=idzebra-moved-to-github.git diff --git a/dfa/agrep.c b/dfa/agrep.c index f63e7da..39d0f69 100644 --- a/dfa/agrep.c +++ b/dfa/agrep.c @@ -1,10 +1,19 @@ /* - * Copyright (C) 1994, Index Data I/S + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: agrep.c,v $ - * Revision 1.9 1996-10-29 13:57:18 adam + * Revision 1.12 1999-05-26 07:49:12 adam + * C++ compilation. + * + * Revision 1.11 1999/02/02 14:50:03 adam + * Updated WIN32 code specific sections. Changed header. + * + * Revision 1.10 1997/09/09 13:37:57 adam + * Partial port to WIN95/NT. + * + * Revision 1.9 1996/10/29 13:57:18 adam * Include of zebrautl.h instead of alexutil.h. * * Revision 1.8 1996/01/08 09:09:16 adam @@ -44,8 +53,14 @@ #include #include #include -#include +#ifdef WIN32 + +#include + +#else +#include +#endif #include #include @@ -271,6 +286,7 @@ char **argv; return i; while (--argc > 0) if (**++argv != '-' && **argv) + { if (!pattern) { pattern = *argv; @@ -296,6 +312,7 @@ char **argv; if (i) return i; } + } if (!no) { fprintf (stderr, "usage:\n "