From: jongfoster <jongfoster@users.sourceforge.net>
Date: Tue, 5 Jun 2001 20:04:09 +0000 (+0000)
Subject: Now uses _snprintf() in place of snprintf() under Win32.
X-Git-Tag: v_2_9_9~387
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/static/@default-cgi@show-url-info?a=commitdiff_plain;h=41bf6ada0fed388cf0f11c2ca6a4bf0cebc01afe;p=privoxy.git

Now uses _snprintf() in place of snprintf() under Win32.
---

diff --git a/loadcfg.c b/loadcfg.c
index 4bb99d13..e5b65647 100644
--- a/loadcfg.c
+++ b/loadcfg.c
@@ -1,4 +1,4 @@
-const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.10 2001/06/03 19:11:54 oes Exp $";
+const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.11 2001/06/04 18:31:58 swa Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/loadcfg.c,v $
@@ -35,6 +35,11 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.10 2001/06/03 19:11:54 oes Exp $"
  *
  * Revisions   :
  *    $Log: loadcfg.c,v $
+ *    Revision 1.11  2001/06/04 18:31:58  swa
+ *    files are now prefixed with either `confdir' or `logdir'.
+ *    `make redhat-dist' replaces both entries confdir and logdir
+ *    with redhat values
+ *
  *    Revision 1.10  2001/06/03 19:11:54  oes
  *    introduced confdir option
  *
@@ -227,6 +232,9 @@ const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.10 2001/06/03 19:11:54 oes Exp $"
 #  include "w32log.h"
 # endif /* ndef _WIN_CONSOLE */
 
+/* VC++ has "_snprintf", not "snprintf" */
+#define snprintf _snprintf
+
 #else /* ifndef _WIN32 */
 
 # include <unistd.h>