From: oes <oes@users.sourceforge.net>
Date: Tue, 24 Jul 2001 12:47:06 +0000 (+0000)
Subject: Applied BeOS support update by Eugenia
X-Git-Tag: v_2_9_9~213
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/@default-cgi@show-url-info?a=commitdiff_plain;h=2fa48011f5013479b98f2c61c9d2d9b2a3270fac;p=privoxy.git

Applied BeOS support update by Eugenia
---

diff --git a/gateway.c b/gateway.c
index 13273f6c..b7d4e33d 100644
--- a/gateway.c
+++ b/gateway.c
@@ -1,7 +1,7 @@
-const char gateway_rcs[] = "$Id: gateway.c,v 1.2 2001/06/07 23:11:38 jongfoster Exp $";
+const char gateway_rcs[] = "$Id: gateway.c,v 1.3 2001/06/09 10:55:28 jongfoster Exp $";
 /*********************************************************************
  *
- * File        :  $Source: /cvsroot/ijbswa/current/gateway.c,v $
+ * File        :  $Source: /cvsroot/ijbswa//current/gateway.c,v $
  *
  * Purpose     :  Contains functions to connect to a server, possibly
  *                using a "forwarder" (i.e. HTTP proxy and/or a SOCKS4
@@ -34,6 +34,9 @@ const char gateway_rcs[] = "$Id: gateway.c,v 1.2 2001/06/07 23:11:38 jongfoster
  *
  * Revisions   :
  *    $Log: gateway.c,v $
+ *    Revision 1.3  2001/06/09 10:55:28  jongfoster
+ *    Changing BUFSIZ ==> BUFFER_SIZE
+ *
  *    Revision 1.2  2001/06/07 23:11:38  jongfoster
  *    Removing gateways[] list - no longer used.
  *    Replacing function pointer in struct gateway with a directly
@@ -62,6 +65,10 @@ const char gateway_rcs[] = "$Id: gateway.c,v 1.2 2001/06/07 23:11:38 jongfoster
 #include <winsock2.h>
 #endif /* def _WIN32 */
 
+#ifdef __BEOS__
+#include <netdb.h>
+#endif /* def __BEOS__ */
+
 #include "jcc.h"
 #include "errlog.h"
 #include "jbsockets.h"
diff --git a/jcc.c b/jcc.c
index 9deb39d0..78c66bd5 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.27 2001/07/19 19:09:47 haroon Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.28 2001/07/23 13:26:12 oes Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.27 2001/07/19 19:09:47 haroon Exp $";
  *
  * Revisions   :
  *    $Log: jcc.c,v $
+ *    Revision 1.28  2001/07/23 13:26:12  oes
+ *    Fixed bug in popup-killing for the first read that caused binary garbage to be sent between headers and body
+ *
  *    Revision 1.27  2001/07/19 19:09:47  haroon
  *    - Added code to take care of the situation where while processing the first
  *      server response (which includes the server header), after finding the end
@@ -258,9 +261,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.27 2001/07/19 19:09:47 haroon Exp $";
 #include <fcntl.h>
 #include <errno.h>
 
-#ifdef FEATURE_PTHREAD
+#if defined(FEATURE_PTHREAD) && !defined(__BEOS__)
 #include <pthread.h>
-#endif /* def FEATURE_PTHREAD */
+#endif /* def FEATURE_PTHREAD && ndef __BEOS__ */
 
 #ifdef _WIN32
 # ifndef FEATURE_PTHREAD