From 82d27b14e9e3ac81e7fd37092806ef6ad685683b Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 23 Aug 2004 22:50:10 +0000 Subject: Fixes for windows --- ChangeLog | 3 +++ common/binfile.c | 2 +- config.win32.h | 9 ++++++--- configure.in | 6 ++++-- lib/rlib.c | 2 +- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 17fb089..3129cd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +Version 2.3.2e + - Use instead of + Version 2.3.1b - Use reallocf instead of realloc - Unbuffered mode works with nonseekable files (stdin) diff --git a/common/binfile.c b/common/binfile.c index fa0a120..778b50e 100644 --- a/common/binfile.c +++ b/common/binfile.c @@ -18,7 +18,7 @@ */ #include #include -#include +#include #include "binfile.h" #define BF_FILE 0x00000010 diff --git a/config.win32.h b/config.win32.h index 13a057a..011f67b 100644 --- a/config.win32.h +++ b/config.win32.h @@ -188,13 +188,13 @@ #define PACKAGE_NAME "rep" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "rep 2.1.2b" +#define PACKAGE_STRING "rep 2.3.2e" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "rep" /* Define to the version of this package. */ -#define PACKAGE_VERSION "2.1.2b" +#define PACKAGE_VERSION "2.3.2e" /* If using the C implementation of alloca, define if you know the direction of stack growth for your system; otherwise it will be @@ -208,7 +208,10 @@ #define STDC_HEADERS 1 /* Version number of package */ -#define VERSION "2.1.1b" +#define VERSION "2.3.2e" + +/* PCRE header path */ +#define PCRE_H "pcre/pcre.h" /* Define to empty if `const' does not conform to ANSI C. */ /* #undef const */ diff --git a/configure.in b/configure.in index b1edc18..785ca07 100644 --- a/configure.in +++ b/configure.in @@ -35,9 +35,11 @@ dnl CONTRIBUTORS dnl Nate Nielsen dnl -AC_INIT(rep, 2.3.2c, nielsen@memberwebs.com) -AM_INIT_AUTOMAKE(rep, 2.3.2c) +AC_INIT(rep, 2.3.2e, nielsen@memberwebs.com) +AM_INIT_AUTOMAKE(rep, 2.3.2e) +CFLAGS="$CFLAGS -I/usr/local/include" +CPPFLAGS="$CPPFLAGS -I/usr/local/include" LDFLAGS="$LDFLAGS -L/usr/local/lib" AC_CONFIG_SRCDIR([src/rep.c]) diff --git a/lib/rlib.c b/lib/rlib.c index d973613..faca2b8 100644 --- a/lib/rlib.c +++ b/lib/rlib.c @@ -497,7 +497,7 @@ int repFile(r_context* ctx, FILE* fIn) ctx->stream.availIn = 0; /* While we either have more data to put in or more output... */ - while(!feof(fIn) || r == R_DONE) + while(r != R_DONE) { /* If rlib wants data then give it */ if(r == R_IN) -- cgit v1.2.3