summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2004-04-07 20:13:04 +0000
committerStef Walter <stef@thewalter.net>2004-04-07 20:13:04 +0000
commita367e18f1faa1b3b60249f82f18bfbd85669603f (patch)
tree39262d368da7f8698bb9315c31ebda12db0fa57a /src
parent58523416357dd391c7db7cec6d96a36ce29adece (diff)
Linux port
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
-rw-r--r--src/file.h2
-rw-r--r--src/rep.c2
3 files changed, 4 insertions, 4 deletions
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