[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r14470 - gnunet/src/include
From: |
gnunet |
Subject: |
[GNUnet-SVN] r14470 - gnunet/src/include |
Date: |
Sat, 19 Feb 2011 00:05:53 +0100 |
Author: grothoff
Date: 2011-02-19 00:05:53 +0100 (Sat, 19 Feb 2011)
New Revision: 14470
Modified:
gnunet/src/include/gauger.h
Log:
fix
Modified: gnunet/src/include/gauger.h
===================================================================
--- gnunet/src/include/gauger.h 2011-02-18 23:00:00 UTC (rev 14469)
+++ gnunet/src/include/gauger.h 2011-02-18 23:05:53 UTC (rev 14470)
@@ -5,6 +5,6 @@
#include <stdio.h>
#include <sys/wait.h>
-#define GAUGER(counter, value) {char __gauger_s[32];pid_t
__gauger_p;if(!(__gauger_p=fork())){if(!fork()){sprintf(__gauger_s,"%d",value);execlp("gauger-cli.py","gauger-cli.py",counter,
__gauger_s,(char*)NULL);_exit(1);}else{_exit(0);}}else{waitpid(__gauger_p,NULL,0);}}
+#define GAUGER(counter, value) {char __gauger_s[64];pid_t
__gauger_p;if(!(__gauger_p=fork())){if(!fork()){sprintf(__gauger_s,"%llu",
(unsigned long long) value);execlp("gauger-cli.py","gauger-cli.py",counter,
__gauger_s,(char*)NULL);_exit(1);}else{_exit(0);}}else{waitpid(__gauger_p,NULL,0);}}
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r14470 - gnunet/src/include,
gnunet <=