From a367e18f1faa1b3b60249f82f18bfbd85669603f Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Wed, 7 Apr 2004 20:13:04 +0000 Subject: Linux port --- src/Makefile.am | 4 ++-- src/file.h | 2 +- src/rep.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/Makefile.am b/src/Makefile.am index 59b1a23..16dcc25 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -3,11 +3,11 @@ bin_PROGRAMS = rep repc rep_SOURCES = rep.c file.c file.h ../common/compat.c ../common/xstring.c ../common/repfile.c rep_LDADD = -lrlib -lpcre rep_CFLAGS = -O0 -I${top_srcdir} -I/usr/local/include -rep_LDFLAGS = -L${top_srcdir}/lib/.libs -L${top_srcdir}/lib -L/usr/local/lib +rep_LDFLAGS = -L${top_srcdir}/lib -L/usr/local/lib repc_SOURCES = repc.c ../common/compat.c ../common/xstring.c ../common/binfile.c ../common/repfile.c repc_LDADD = -lrlib -lpcre repc_CFLAGS = -O0 -I${top_srcdir} -I/usr/local/include -repc_LDFLAGS = -L${top_srcdir}/lib/.libs -L${top_srcdir}/lib -L/usr/local/lib +repc_LDFLAGS = -L${top_srcdir}/lib -L/usr/local/lib EXTRA_DIST = rep.dsp repc.dsp diff --git a/src/file.h b/src/file.h index 1b46dd2..4e7332c 100644 --- a/src/file.h +++ b/src/file.h @@ -82,4 +82,4 @@ const char* getExtension(const char* szPath); int isDots(const char* szPath); int isDirectory(const char* szPath); -#endif \ No newline at end of file +#endif diff --git a/src/rep.c b/src/rep.c index 6ff03c3..5eda279 100644 --- a/src/rep.c +++ b/src/rep.c @@ -383,7 +383,7 @@ int replaceFolder(r_context* ctx, char* folder) * Change directory back to where we saved it * the reason we do this is that in some cases (sub-folders) */ - _chdir(old); + chdir(old); } #ifdef _WIN32 -- cgit v1.2.3