Applied BeOS support update by Eugenia
authoroes <oes@users.sourceforge.net>
Tue, 24 Jul 2001 12:47:06 +0000 (12:47 +0000)
committeroes <oes@users.sourceforge.net>
Tue, 24 Jul 2001 12:47:06 +0000 (12:47 +0000)
gateway.c
jcc.c

index 13273f6..b7d4e33 100644 (file)
--- 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 9deb39d..78c66bd 100644 (file)
--- 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