projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
162b0d0
)
Tweaked to compile on Linux and Solaris via SourceForge compile farm
author
David Schmidt
<david__schmidt@users.sourceforge.net>
Thu, 9 Jan 2003 02:54:55 +0000
(
02:54
+0000)
committer
David Schmidt
<david__schmidt@users.sourceforge.net>
Thu, 9 Jan 2003 02:54:55 +0000
(
02:54
+0000)
src/stats.c
patch
|
blob
|
history
diff --git
a/src/stats.c
b/src/stats.c
index
0a53719
..
df6f01d
100644
(file)
--- a/
src/stats.c
+++ b/
src/stats.c
@@
-1,4
+1,4
@@
-const char stats_rcs[] = "$Id: stats.c,v 2.
3 2002/12/30 19:56:16
david__schmidt Exp $";
+const char stats_rcs[] = "$Id: stats.c,v 2.
4 2003/01/06 02:03:13
david__schmidt Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/src/stats.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/src/stats.c,v $
@@
-33,6
+33,9
@@
const char stats_rcs[] = "$Id: stats.c,v 2.3 2002/12/30 19:56:16 david__schmidt
*
* Revisions :
* $Log: stats.c,v $
*
* Revisions :
* $Log: stats.c,v $
+ * Revision 2.4 2003/01/06 02:03:13 david__schmidt
+ * Update stats protocol now that the console is actually running
+ *
*
*********************************************************************/
\f
*
*********************************************************************/
\f
@@
-40,6
+43,7
@@
const char stats_rcs[] = "$Id: stats.c,v 2.3 2002/12/30 19:56:16 david__schmidt
#include <string.h>
#ifdef unix
#include <sys/signal.h>
#include <string.h>
#ifdef unix
#include <sys/signal.h>
+#include <unistd.h>
#include <pthread.h>
#endif
#include "project.h"
#include <pthread.h>
#endif
#include "project.h"
@@
-157,7
+161,7
@@
void init_stats_config(struct configuration_spec * config)
/* I don't think the IPC will really work in a fork()'d environment,
* so proceed with caution. FIXME.
*/
/* I don't think the IPC will really work in a fork()'d environment,
* so proceed with caution. FIXME.
*/
-#error FIXME - stats w
on'
t work without pthreads!
+#error FIXME - stats w
ill no
t work without pthreads!
child_id = fork();
if (child_id == 0) /* child */
child_id = fork();
if (child_id == 0) /* child */