summaryrefslogtreecommitdiff
path: root/parallel/pvm3/patches/patch-ao
blob: 612623ae5ae90bafc339ea1cdcaf5a3b03198746 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
$NetBSD: patch-ao,v 1.4 2001/05/24 19:51:47 dmcmahill Exp $

--- tracer/trcfile.c.orig	Mon Nov  2 09:35:57 1998
+++ tracer/trcfile.c	Tue May 15 23:09:24 2001
@@ -620,5 +620,5 @@
 				for ( i=0 ; i < DD->num ; i++ )
 				{
-					fprintf( ID->trace_out, "%lf, %lf",
+					fprintf( ID->trace_out, "%f, %f",
 						TRC_ARR_VALUE_OF( DD->data, double, 2 * i ),
 						TRC_ARR_VALUE_OF( DD->data, double,
@@ -639,5 +639,5 @@
 				for ( i=0 ; i < DD->num ; i++ )
 				{
-					fprintf( ID->trace_out, "%lf",
+					fprintf( ID->trace_out, "%f",
 						TRC_ARR_VALUE_OF( DD->data, double, i ) );
 
@@ -1129,5 +1129,5 @@
 				for ( i=0 ; i < num ; i++ )
 				{
-					fprintf( ID->trace_out, "%lf, %lf",
+					fprintf( ID->trace_out, "%f, %f",
 						upk_double[ 2 * i ],
 						upk_double[ (2 * i) + 1 ] );
@@ -1150,5 +1150,5 @@
 				for ( i=0 ; i < num ; i++ )
 				{
-					fprintf( ID->trace_out, "%lf", upk_double[i] );
+					fprintf( ID->trace_out, "%f", upk_double[i] );
 
 					if ( i < num - 1 )
@@ -1736,5 +1736,5 @@
 				for ( i=0 ; i < trptr->num ; i++ )
 				{
-					fprintf( ID->trace_out, "%lf",
+					fprintf( ID->trace_out, "%f",
 						TRC_ARR_VALUE_OF( trptr->value, double, i ) );
 
@@ -2011,5 +2011,5 @@
 	trc_store_event_header( ID, TRC_OUTPUT_TEVDESC, tid );
 
-	fprintf( ID->trace_out, "%d, %ld, %d",
+	fprintf( ID->trace_out, "%ld, %ld, %d",
 		TRC_TRACE_TIME.tv_sec, TRC_TRACE_TIME.tv_usec, tid );
 
@@ -2095,5 +2095,5 @@
 	trc_store_event_header( ID, TRC_HOST_ADD_TEVDESC, H->pvmd_tid );
 
-	fprintf( ID->trace_out, "%d, %ld, %d",
+	fprintf( ID->trace_out, "%ld, %ld, %d",
 		TRC_TRACE_TIME.tv_sec, TRC_TRACE_TIME.tv_usec, H->pvmd_tid );
 
@@ -2142,5 +2142,5 @@
 	trc_store_event_header( ID, TRC_HOST_DEL_TEVDESC, tid );
 
-	fprintf( ID->trace_out, "%d, %ld, %d",
+	fprintf( ID->trace_out, "%ld, %ld, %d",
 		TRC_TRACE_TIME.tv_sec, TRC_TRACE_TIME.tv_usec, tid );
 
@@ -2193,5 +2193,5 @@
 	/* matching { */
 
-	fprintf( ID->trace_out, "%d, %ld, %d, %d, %ld };;\n",
+	fprintf( ID->trace_out, "%ld, %ld, %d, %ld, %ld };;\n",
 		TRC_TRACE_TIME.tv_sec, TRC_TRACE_TIME.tv_usec, H->pvmd_tid,
 		H->delta.tv_sec, H->delta.tv_usec );