From: swa <swa@users.sourceforge.net>
Date: Thu, 7 Jun 2001 14:43:17 +0000 (+0000)
Subject: slight mistake in make_path, unix path style is /.
X-Git-Tag: v_2_9_9~382
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/@default-cgi@/man-page/static/static/gitweb.js?a=commitdiff_plain;h=bc46dec9d845571191c3b2bb1fad6e47b97ba171;p=privoxy.git
slight mistake in make_path, unix path style is /.
---
diff --git a/miscutil.c b/miscutil.c
index 7423af18..ac9d491a 100644
--- a/miscutil.c
+++ b/miscutil.c
@@ -1,4 +1,4 @@
-const char miscutil_rcs[] = "$Id: miscutil.c,v 1.7 2001/06/03 19:12:30 oes Exp $";
+const char miscutil_rcs[] = "$Id: miscutil.c,v 1.8 2001/06/05 22:32:01 jongfoster Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/miscutil.c,v $
@@ -36,6 +36,9 @@ const char miscutil_rcs[] = "$Id: miscutil.c,v 1.7 2001/06/03 19:12:30 oes Exp $
*
* Revisions :
* $Log: miscutil.c,v $
+ * Revision 1.8 2001/06/05 22:32:01 jongfoster
+ * New function make_path() to splice directory and file names together.
+ *
* Revision 1.7 2001/06/03 19:12:30 oes
* introduced bindup()
*
@@ -653,7 +656,7 @@ char * make_path(const char * dir, const char * file)
#ifdef _WIN32
strcat(path, "\\");
#else /* ifndef _WIN32 */
- strcat(path, "\\");
+ strcat(path, "/");
#endif /* ifndef _WIN32 */
strcat(path, file);