| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am (ACINCLUDE_INPUTS): Add decl.m4, inttypes_h.m4,
uintmax_t.m4, ulonglong.m4, xstrtoumax.m4.
* m4/Makefile.am (EXTRA_DIST): Likewise.
* src/Makefile.am (base_sources):
Add xstrtol.c, xstrtol.h, xstrtoumax.c.
(EXTRA_DIST): Add strtol.c.
* configure.in (jm_AC_TYPE_UINTMAX_T, jm_AC_PREREQ_XSTRTOUMAX,
HAVE_DECL_STRTOUL, HAVE_DECL_STRTOULL): Add.
(AC_REPLACE_FUNCS): Add strtoul.
* src/grep.c: Include xstrtol.h.
(ck_atio): Use xstrtoumax and do proper overflow checking.
(max_count, outleft): Now off_t, not int.
(main): Likewise. Use xstrtoumax to convert max_count from string.
* acconfig.h (HAVE_DECL_STRTOUL, HAVE_DECL_STRTOULL): New #undefs.
(HAVE_STPCPY, ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT,
HAVE_LC_MESSAGES): Remove.
* m4/decl.m4, m4/inttypes_h.m4, m4/uintmax_t.m4, m4/ulonglong.m4,
m4/xstrtoumax.m4, src/strtol.c, src/strtoul.c, src/strtoull.c,
src/strtoumax.c, src/xstrtol.c, src/xstrtol.h, src/xstrtoumax.c:
New files, taken unchanged from textutils, fileutils, sh-utils
and/or tar.
|
|
|
|
|
|
| |
* doc/grep.texi: Minor markup and spelling corrections. Use
@noindent where appropriate.
* PATCHES-{AM,AC}: rename to PATCHES.{AM,AC}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add support for largefiles
Upgrade large-file support to the version used in tar and
textutils.
* Makefile.am (ACLOCAL_AMFLAGS): Define to be empty.
(M4DIR, ACINCLUDE_INPUTS): New macros.
($(srcdir)/acinclude.m4): New rule.
* configure.in (AC_CANONICAL_HOST, AM_C_PROTOTYPES): Add.
(AC_SYS_LARGEFILE): Renamed from AC_LFS, for compatibility
with what should appear in the next autoconf release.
* m4/largefile.m4: Renamed from m4/lfs.m4.
* src/ansi2knr.1, src/ansi2knr.c, config.guess, config.sub:
New files. config.guess and config.sub ar needed by the new
AC_SYS_LARGEFILE. ansi2knr is needed by AM_C_PROTOTYPES,
which in turn is needed by the new AC_SYS_LARGEFILE.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
protect [] when declaring [A-z] from m4.
get rid of obsolete default matcher.
* src/grep.c : Typo s/infalid/invalid/
Also noted by Stanislav Brabec.
* doc/grep.texi: I found and corrected several typos.
I believe the GNU standards require the section that describes the
options to the programs to be called ``Invoking'' or ``Invoking
<program-name>''. This is so users and programs can easily find
that node in any Info file. So I changed the name of the
`Options' chapter to `Invoking', and corrected the
cross-references accordingly.
I added some markup to things like file names and options.
I added some additional index entries where that seemed useful.
I also corrected some index entries, such as "@cindex [:alnum:]",
which used a colon in them (the colons confuse Info readers).
* grep/doc/grep.texi : -h is not use for help.
Nit spotted by Jim Meyering.
* grep-2.2d release for beta.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Changes from Eli.
Changes from Eli.
* dfa.c (dfacomp), search.c (EGexecute): Don't assume char is unsigned.
|
|
|
|
|
|
| |
have ourn own set of *.m4 file in aclocal
rename m4 aclocal for consitencies
|
|
|
|
|
|
|
|
|
| |
use our own instead of default.
now don't rely on matcher = argv[0] set explicitly at compilation.
* src/grep.c: The Matcher is not set to argv[0] but
explicitly by a #define MATCHER at compile time default is "grep".
|
|
|