home *** CD-ROM | disk | FTP | other *** search
-
- TO TRANSFORM dist/egrep.c INTO egrep.c ...
-
- *** APPEND AFTER 121 IN dist/egrep.c ***
- >/* rlp900927 -- support for wildcards in file names */
- >#if defined(AMIGA) && defined(LATTICE)
- >#include <dos.h>
- >extern int msflag; /* 0 = AmigaDos wildcards, 1 = MSDOS */
- >static char ami_drive[FMSIZE];
- >static char ami_path[FMSIZE];
- >static char ami_node[FMSIZE];
- >static char ami_ext[FMSIZE];
- >static char ami_filename[FMSIZE];
- >static struct FILEINFO ami_fib;
- >#endif
- >
-
- *** APPEND AFTER 794 IN dist/egrep.c ***
- >/* rlp900927 -- support for wildcards in file names */
- >#if defined(AMIGA) && defined(LATTICE)
- > /* default no_filenames to 0, always */
- >#else
-
- *** APPEND AFTER 796 IN dist/egrep.c ***
- >#endif
-
- *** APPEND AFTER 804 IN dist/egrep.c ***
- >
- >/* rlp900927 -- support for wildcards in file names */
- >#if defined(AMIGA) && defined(LATTICE)
- > if (dfind( &ami_fib, filename, 0 ) != 0)
- > {
- > fprintf ( stderr, "%s: No match for '%s'\n", prog, filename );
- > continue;
- > }
- > strsfn( filename, ami_drive, ami_path, ami_node, ami_ext );
- > do
- > {
- > strmfn( ami_filename,
- > (*ami_drive) ? ami_drive : NULL,
- > (*ami_path) ? ami_path : NULL,
- > ami_fib.fib_FileName,
- > NULL );
- > filename = ami_filename;
- >#endif
- >
-
- *** APPEND AFTER 822 IN dist/egrep.c ***
- >
- >/* rlp900927 -- support for wildcards in file names */
- >#if defined(AMIGA) && defined(LATTICE)
- > }
- > while ( dnext(&ami_fib) == 0);
- >#endif
- >
-
- *** APPEND AFTER 1074 IN dist/egrep.c ***
- >
-
-