View | Details | Raw Unified | Return to bug 204277 | Differences between
and this patch

Collapse All | Expand All

(-)devel/nspr/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	nspr
4
PORTNAME=	nspr
5
DISTVERSION=	4.10.9
5
DISTVERSION=	4.10.10
6
CATEGORIES=	devel
6
CATEGORIES=	devel
7
MASTER_SITES=	MOZILLA/${PORTNAME}/releases/v${PORTVERSION}/src
7
MASTER_SITES=	MOZILLA/${PORTNAME}/releases/v${PORTVERSION}/src
8
8
(-)devel/nspr/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (nspr-4.10.9.tar.gz) = 4112ff6ad91d32696ca0c6c3d4abef6367b5dc0127fa172fcb3c3ab81bb2d881
1
SHA256 (nspr-4.10.10.tar.gz) = 343614971c30520d0fa55f4af0a72578e2d8674bb71caf7187490c3379523107
2
SIZE (nspr-4.10.9.tar.gz) = 1134015
2
SIZE (nspr-4.10.10.tar.gz) = 1134164
(-)devel/nspr/files/patch-tests (-827 / +1251 lines)
Lines 1-6 Link Here
1
--- ../pr/tests/cleanup.c	Sun Apr 25 11:01:02 2004
1
--- ../lib/tests/Makefile.in.orig	2015-10-16 13:22:19.000000000 +0000
2
+++ ../pr/tests/cleanup.c	Tue Jul 12 01:19:53 2005
2
+++ ../lib/tests/Makefile.in	2015-11-04 02:02:20.438739000 +0000
3
@@ -48,5 +48,5 @@
3
@@ -167,7 +167,7 @@ else
4
 ifeq ($(OS_ARCH),OS2)
5
 	$(LINK) $(EXEFLAGS) $(LDOPTS) $< $(LIBPLC)  $(LIBPLDS) $(LIBPR) $(OS_LIBS) $(EXTRA_LIBS)
6
 else
7
-	$(CC) $(XCFLAGS) $< $(LDOPTS) $(LIBPLC) $(LIBPLDS) $(LIBPR) $(EXTRA_LIBS) -o $@
8
+	$(CC) $(XCFLAGS) $< $(LDOPTS) $(LIBPLC) $(LIBPLDS) $(LIBPR) $(OS_LIBS) $(EXTRA_LIBS) -o $@
9
 endif
10
 endif
11
 endif
12
--- ../pr/tests/Makefile.in.orig	2015-10-16 13:22:19.000000000 +0000
13
+++ ../pr/tests/Makefile.in	2015-11-04 02:02:20.439768000 +0000
14
@@ -489,17 +489,18 @@ endif
15
 ALWAYS:
16
 
17
 runtests:: $(PROGS) ALWAYS
18
-	@$(ECHO) "\nNSPR Test Results - $(OBJDIR)\n"
19
-	@$(ECHO) "BEGIN\t\t\t`date`"
20
-	@$(ECHO) "NSPR_TEST_LOGFILE\t$(LOGFILE)\n"
21
-	@$(ECHO) "Test\t\t\tResult\n"
22
+	@$(ECHO) "NSPR Test Results - $(OBJDIR)"
23
+	@$(ECHO) "BEGIN			`date`"
24
+	@$(ECHO) "Test			Result"
25
 	@cd $(OBJDIR); for i in $(PROGRAMS); do					\
26
-	$(ECHO) "$$i\c";										\
27
-	./$$i >> $(LOGFILE) 2>&1 ;								\
28
+	printf "$$i";										\
29
+	./$$i > $$i.output 2>&1;								\
30
 	if  [ 0 = $$? ] ; then									\
31
-		$(ECHO) "\t\t\tPassed";								\
32
-	else													\
33
-		$(ECHO) "\t\t\tFAILED";								\
34
-	fi;														\
35
+		$(ECHO) "			Passed";					\
36
+		rm $$i.output;									\
37
+	else											\
38
+		$(ECHO) "			FAILED";					\
39
+		cat $$i.output;									\
40
+	fi;											\
41
 	done
42
-	@$(ECHO) "\nEND\t\t`date`\n"
43
+	@$(ECHO) "END		`date`"
44
--- ../pr/tests/cleanup.c.orig	2015-10-16 13:22:19.000000000 +0000
45
+++ ../pr/tests/cleanup.c	2015-11-04 02:02:20.433719000 +0000
46
@@ -15,7 +15,7 @@
47
 
4
 static void PR_CALLBACK Thread(void *sleep)
48
 static void PR_CALLBACK Thread(void *sleep)
5
 {
49
 {
6
-    PR_Sleep(PR_SecondsToInterval((PRUint32)sleep));
50
-    PR_Sleep(PR_SecondsToInterval((PRUint32)sleep));
Lines 7-13 Link Here
7
+    PR_Sleep(PR_SecondsToInterval((intptr_t)sleep));
51
+    PR_Sleep(PR_SecondsToInterval((intptr_t)sleep));
8
     printf("Thread exiting\n");
52
     printf("Thread exiting\n");
9
 }
53
 }
10
@@ -72,5 +72,6 @@
54
 
55
@@ -39,7 +39,8 @@ int main(int argc, char **argv)
56
 	PRThreadScope type = PR_LOCAL_THREAD;
11
     PRFileDesc *err = PR_GetSpecialFD(PR_StandardError);
57
     PRFileDesc *err = PR_GetSpecialFD(PR_StandardError);
12
     PLOptState *opt = PL_CreateOptState(argc, argv, "Ghs:S:t:cC:");
58
     PLOptState *opt = PL_CreateOptState(argc, argv, "Ghs:S:t:cC:");
13
-    PRIntn concurrency = 1, child_sleep = 10, main_sleep = 5, threads = 1;
59
-    PRIntn concurrency = 1, child_sleep = 10, main_sleep = 5, threads = 1;
Lines 15-21 Link Here
15
+    intptr_t child_sleep = 10;
61
+    intptr_t child_sleep = 10;
16
 
62
 
17
     PR_STDIO_INIT();
63
     PR_STDIO_INIT();
18
@@ -113,5 +114,5 @@
64
     while (PL_OPT_EOL != (os = PL_GetNextOpt(opt)))
65
@@ -80,7 +81,7 @@ int main(int argc, char **argv)
66
         (PR_LOCAL_THREAD == type) ? "LOCAL" : "GLOBAL");
19
     PR_fprintf(err, "\tConcurrency: %d\n", concurrency);
67
     PR_fprintf(err, "\tConcurrency: %d\n", concurrency);
20
     PR_fprintf(err, "\tNumber of threads: %d\n", threads);
68
     PR_fprintf(err, "\tNumber of threads: %d\n", threads);
21
-    PR_fprintf(err, "\tThread sleep: %d\n", child_sleep);
69
-    PR_fprintf(err, "\tThread sleep: %d\n", child_sleep);
Lines 22-37 Link Here
22
+    PR_fprintf(err, "\tThread sleep: %d\n", (int)child_sleep);
70
+    PR_fprintf(err, "\tThread sleep: %d\n", (int)child_sleep);
23
     PR_fprintf(err, "\tMain sleep: %d\n", main_sleep); 
71
     PR_fprintf(err, "\tMain sleep: %d\n", main_sleep); 
24
     PR_fprintf(err, "\tCleanup will %sbe called\n\n", (cleanup) ? "" : "NOT "); 
72
     PR_fprintf(err, "\tCleanup will %sbe called\n\n", (cleanup) ? "" : "NOT "); 
25
--- ../pr/tests/cvar.c	Sun Apr 25 11:01:02 2004
73
 
26
+++ ../pr/tests/cvar.c	Tue Jul 12 01:22:52 2005
74
--- ../pr/tests/cltsrv.c.orig	2015-10-16 13:22:19.000000000 +0000
27
@@ -174,5 +174,5 @@
75
+++ ../pr/tests/cltsrv.c	2015-11-04 02:02:20.467222000 +0000
76
@@ -887,7 +887,7 @@ int main(int argc, char** argv)
28
 {
77
 {
78
     PRUintn index;
79
     PRBool boolean;
80
-    CSClient_t *client;
81
+    CSClient_t *client = NULL;
82
     PRStatus rv, joinStatus;
83
     CSServer_t *server = NULL;
84
 
85
--- ../pr/tests/cvar.c.orig	2015-10-16 13:22:19.000000000 +0000
86
+++ ../pr/tests/cvar.c	2015-11-04 02:02:20.434287000 +0000
87
@@ -135,14 +135,14 @@ static int alive;
88
 static void PR_CALLBACK CXReader(void *arg)
89
 {
29
 	CircBuf *cbp = (CircBuf *)arg;
90
 	CircBuf *cbp = (CircBuf *)arg;
30
-    PRInt32 i, n;
91
-    PRInt32 i, n;
31
+    intptr_t i, n;
92
+    intptr_t i, n;
32
     void *data;
93
     void *data;
33
 
94
 
34
@@ -180,6 +180,6 @@
95
     n = count / 2;
35
     for (i = 0; i < n; i++) {
96
     for (i = 0; i < n; i++) {
36
 		data = GetCBData(cbp);
97
 		data = GetCBData(cbp);
37
-		if ((int)data != i)
98
-		if ((int)data != i)
Lines 40-46 Link Here
40
+    		if (debug_mode) printf("data mismatch at for i = %ld usec\n", (long)i);
101
+    		if (debug_mode) printf("data mismatch at for i = %ld usec\n", (long)i);
41
     }
102
     }
42
  
103
  
43
@@ -193,5 +193,5 @@
104
     PR_EnterMonitor(mon);
105
@@ -154,7 +154,7 @@ static void PR_CALLBACK CXReader(void *a
106
 static void PR_CALLBACK CXWriter(void *arg)
44
 {
107
 {
45
 	CircBuf *cbp = (CircBuf *)arg;
108
 	CircBuf *cbp = (CircBuf *)arg;
46
-    PRInt32 i, n;
109
-    PRInt32 i, n;
Lines 47-55 Link Here
47
+    intptr_t i, n;
110
+    intptr_t i, n;
48
 
111
 
49
     n = count / 2;
112
     n = count / 2;
50
--- ../pr/tests/foreign.c	Mon Mar  7 20:22:57 2005
113
     for (i = 0; i < n; i++)
51
+++ ../pr/tests/foreign.c	Tue Jul 12 01:25:31 2005
114
--- ../pr/tests/cvar2.c.orig	2015-10-16 13:22:19.000000000 +0000
52
@@ -269,5 +269,5 @@
115
+++ ../pr/tests/cvar2.c	2015-11-04 02:02:20.452205000 +0000
116
@@ -95,7 +95,7 @@ PrivateCondVarThread(void *_info)
117
     for (index=0; index<info->loops; index++) {
118
         PR_Lock(info->lock);
119
         if (*info->tcount == 0) {
120
-	    DPRINTF(("PrivateCondVarThread: thread 0x%lx waiting on cvar = 0x%lx\n",
121
+	    DPRINTF(("PrivateCondVarThread: thread %p waiting on cvar = %p\n",
122
 				PR_GetCurrentThread(), info->cvar));
123
             PR_WaitCondVar(info->cvar, info->timeout);
124
 	}
125
@@ -108,8 +108,8 @@ PrivateCondVarThread(void *_info)
126
         PR_Lock(info->exitlock);
127
         (*info->exitcount)++;
128
         PR_NotifyCondVar(info->exitcvar);
129
-DPRINTF(("PrivateCondVarThread: thread 0x%lx notified exitcvar = 0x%lx cnt = %ld\n",
130
-			PR_GetCurrentThread(), info->exitcvar,(*info->exitcount)));
131
+DPRINTF(("PrivateCondVarThread: thread %p notified exitcvar = %p cnt = %d\n",
132
+			PR_GetCurrentThread(), info->exitcvar,(int)(*info->exitcount)));
133
         PR_Unlock(info->exitlock);
134
     }
135
 #if 0
136
@@ -157,7 +157,7 @@ CreateTestThread(threadinfo *info, 
137
 void 
138
 CondVarTestSUU(void *_arg)
139
 {
140
-    PRInt32 arg = (PRInt32)_arg;
141
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
142
     PRInt32 index, loops;
143
     threadinfo *list;
144
     PRLock *sharedlock;
145
@@ -189,7 +189,7 @@ CondVarTestSUU(void *_arg)
146
                          PR_TRUE,
147
                          PR_LOCAL_THREAD);
148
         index++;
149
-	DPRINTF(("CondVarTestSUU: created thread 0x%lx\n",list[index].thread));
150
+	DPRINTF(("CondVarTestSUU: created thread %p\n",list[index].thread));
151
     }
152
 
153
     for (loops = 0; loops < count; loops++) {
154
@@ -199,7 +199,7 @@ CondVarTestSUU(void *_arg)
155
             (*list[index].tcount)++;
156
             PR_NotifyCondVar(list[index].cvar);
157
             PR_Unlock(list[index].lock);
158
-	    DPRINTF(("PrivateCondVarThread: thread 0x%lx notified cvar = 0x%lx\n",
159
+	    DPRINTF(("PrivateCondVarThread: thread %p notified cvar = %p\n",
160
 				PR_GetCurrentThread(), list[index].cvar));
161
         }
162
 
163
@@ -227,7 +227,7 @@ CondVarTestSUU(void *_arg)
164
 void 
165
 CondVarTestSUK(void *_arg)
166
 {
167
-    PRInt32 arg = (PRInt32)_arg;
168
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
169
     PRInt32 index, loops;
170
     threadinfo *list;
171
     PRLock *sharedlock;
172
@@ -301,7 +301,7 @@ CondVarTestSUK(void *_arg)
173
 void 
174
 CondVarTestPUU(void *_arg)
175
 {
176
-    PRInt32 arg = (PRInt32)_arg;
177
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
178
     PRInt32 index, loops;
179
     threadinfo *list;
180
     PRLock *sharedlock;
181
@@ -336,7 +336,7 @@ CondVarTestPUU(void *_arg)
182
                          PR_FALSE,
183
                          PR_LOCAL_THREAD);
184
 
185
-	DPRINTF(("CondVarTestPUU: created thread 0x%lx\n",list[index].thread));
186
+	DPRINTF(("CondVarTestPUU: created thread %p\n",list[index].thread));
187
         index++;
188
 	tcount++;
189
     }
190
@@ -354,8 +354,8 @@ CondVarTestPUU(void *_arg)
191
 	PR_Lock(exitlock);
192
         /* Wait for threads to finish */
193
         while(exitcount < arg) {
194
-DPRINTF(("CondVarTestPUU: thread 0x%lx waiting on exitcvar = 0x%lx cnt = %ld\n",
195
-				PR_GetCurrentThread(), exitcvar, exitcount));
196
+DPRINTF(("CondVarTestPUU: thread %p waiting on exitcvar = %p cnt = %d\n",
197
+				PR_GetCurrentThread(), exitcvar, (int)exitcount));
198
             	PR_WaitCondVar(exitcvar, PR_SecondsToInterval(60));
199
 	}
200
         PR_ASSERT(exitcount >= arg);
201
@@ -365,7 +365,7 @@ DPRINTF(("CondVarTestPUU: thread 0x%lx w
202
 
203
     /* Join all the threads */
204
     for(index=0; index<(arg); index++)  {
205
-	DPRINTF(("CondVarTestPUU: joining thread 0x%lx\n",list[index].thread));
206
+	DPRINTF(("CondVarTestPUU: joining thread %p\n",list[index].thread));
207
         PR_JoinThread(list[index].thread);
208
         if (list[index].internal) {
209
             PR_Lock(list[index].lock);
210
@@ -387,7 +387,7 @@ DPRINTF(("CondVarTestPUU: thread 0x%lx w
211
 void 
212
 CondVarTestPUK(void *_arg)
213
 {
214
-    PRInt32 arg = (PRInt32)_arg;
215
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
216
     PRInt32 index, loops;
217
     threadinfo *list;
218
     PRLock *sharedlock;
219
@@ -468,7 +468,7 @@ CondVarTestPUK(void *_arg)
220
 void 
221
 CondVarTest(void *_arg)
222
 {
223
-    PRInt32 arg = (PRInt32)_arg;
224
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
225
     PRInt32 index, loops;
226
     threadinfo *list;
227
     PRLock *sharedlock;
228
@@ -601,7 +601,7 @@ CondVarTest(void *_arg)
229
 void 
230
 CondVarTimeoutTest(void *_arg)
231
 {
232
-    PRInt32 arg = (PRInt32)_arg;
233
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
234
     PRInt32 index, loops;
235
     threadinfo *list;
236
     PRLock *sharedlock;
237
@@ -712,7 +712,7 @@ CondVarTimeoutTest(void *_arg)
238
 void 
239
 CondVarMixedTest(void *_arg)
240
 {
241
-    PRInt32 arg = (PRInt32)_arg;
242
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
243
     PRInt32 index, loops;
244
     threadinfo *list;
245
     PRLock *sharedlock;
246
@@ -802,7 +802,7 @@ CondVarMixedTest(void *_arg)
247
         for(index=0; index<(arg*4); index+=3) {
248
 
249
             PR_Lock(list[index].lock);
250
-            *list[index].tcount++;
251
+            list[index].tcount++;
252
             PR_NotifyCondVar(list[index].cvar);
253
             PR_Unlock(list[index].lock);
254
 
255
@@ -873,7 +873,7 @@ static void Measure(void (*func)(void *)
256
     double d;
257
 
258
     start = PR_IntervalNow();
259
-    (*func)((void *)arg);
260
+    (*func)((void *)(intptr_t)arg);
261
     stop = PR_IntervalNow();
262
 
263
     d = (double)PR_IntervalToMicroseconds(stop - start);
264
@@ -932,7 +932,7 @@ default_threads, default_threads*2, defa
265
     PR_SetConcurrency(2);
266
 
267
     for (threads = default_threads; threads < default_threads*5; threads+=default_threads) {
268
-        printf("\n%ld Thread tests\n", threads);
269
+        printf("\n%d Thread tests\n", (int)threads);
270
         Measure(CondVarTestSUU, threads, "Condvar simple test shared UU");
271
         Measure(CondVarTestSUK, threads, "Condvar simple test shared UK");
272
         Measure(CondVarTestPUU, threads, "Condvar simple test priv UU");
273
--- ../pr/tests/foreign.c.orig	2015-10-16 13:22:19.000000000 +0000
274
+++ ../pr/tests/foreign.c	2015-11-04 02:02:20.434883000 +0000
275
@@ -202,7 +202,7 @@ static void OneShot(void *arg)
276
     PRFileDesc *fd;
53
     PRDir *dir;
277
     PRDir *dir;
54
     PRFileDesc *pair[2];
278
     PRFileDesc *pair[2];
55
-    PRIntn test = (PRIntn)arg;
279
-    PRIntn test = (PRIntn)arg;
Lines 56-62 Link Here
56
+    intptr_t test = (intptr_t)arg;
280
+    intptr_t test = (intptr_t)arg;
57
 
281
 
58
 	for (test = 0; test < 12; ++test) {
282
 	for (test = 0; test < 12; ++test) {
59
@@ -364,5 +364,5 @@
283
 
284
@@ -302,7 +302,7 @@ static void OneShot(void *arg)
285
 int main(int argc, char **argv)
60
 {
286
 {
61
     PRStatus rv;
287
     PRStatus rv;
62
-	PRInt32	thread_cnt = DEFAULT_THREAD_COUNT;
288
-	PRInt32	thread_cnt = DEFAULT_THREAD_COUNT;
Lines 63-71 Link Here
63
+	intptr_t	thread_cnt = DEFAULT_THREAD_COUNT;
289
+	intptr_t	thread_cnt = DEFAULT_THREAD_COUNT;
64
 	PLOptStatus os;
290
 	PLOptStatus os;
65
 	PLOptState *opt = PL_CreateOptState(argc, argv, "dt:");
291
 	PLOptState *opt = PL_CreateOptState(argc, argv, "dt:");
66
--- ../pr/tests/forktest.c	Sun Apr 25 11:01:02 2004
292
 
67
+++ ../pr/tests/forktest.c	Tue Jul 12 01:28:15 2005
293
--- ../pr/tests/forktest.c.orig	2015-10-16 13:22:19.000000000 +0000
68
@@ -80,5 +80,5 @@
294
+++ ../pr/tests/forktest.c	2015-11-04 02:02:20.435492000 +0000
295
@@ -47,7 +47,7 @@ ClientThreadFunc(void *arg)
296
 {
69
     PRNetAddr addr;
297
     PRNetAddr addr;
70
     PRFileDesc *sock = NULL;
298
     PRFileDesc *sock = NULL;
71
-    PRInt32 tmp = (PRInt32)arg;
299
-    PRInt32 tmp = (PRInt32)arg;
Lines 72-78 Link Here
72
+    intptr_t tmp = (intptr_t)arg;
300
+    intptr_t tmp = (intptr_t)arg;
73
 
301
 
74
     /*
302
     /*
75
@@ -176,5 +176,5 @@
303
      * Make sure the PR_Accept call will block
304
@@ -143,7 +143,7 @@ DoIO(void)
305
         goto finish;
76
     }
306
     }
77
     clientThread = PR_CreateThread( PR_USER_THREAD, ClientThreadFunc,
307
     clientThread = PR_CreateThread( PR_USER_THREAD, ClientThreadFunc,
78
-        (void *) PR_ntohs(addr.inet.port), PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
308
-        (void *) PR_ntohs(addr.inet.port), PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
Lines 79-213 Link Here
79
+        (void *)(intptr_t)PR_ntohs(addr.inet.port), PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
309
+        (void *)(intptr_t)PR_ntohs(addr.inet.port), PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
80
         PR_JOINABLE_THREAD, 0);
310
         PR_JOINABLE_THREAD, 0);
81
     if (clientThread == NULL) {
311
     if (clientThread == NULL) {
82
@@ -185,2 +185,5 @@
312
         fprintf(stderr, "Cannot create client thread: (%d, %d)\n",
313
@@ -151,6 +151,9 @@ DoIO(void)
314
         failed_already = 1;
315
         goto finish;
83
     }
316
     }
84
+    printf("Wait one second before accept\n");
317
+    printf("Wait one second before accept\n");
85
+    fflush(stdout);
318
+    fflush(stdout);
86
+    PR_Sleep(PR_SecondsToInterval(1));
319
+    PR_Sleep(PR_SecondsToInterval(1));
87
     printf("Accepting connection at port %hu\n", PR_ntohs(addr.inet.port));
320
     printf("Accepting connection at port %hu\n", PR_ntohs(addr.inet.port));
88
--- ../pr/tests/mbcs.c	Sun Apr 25 11:01:02 2004
321
     fflush(stdout);
89
+++ ../pr/tests/mbcs.c	Tue Jul 12 01:34:26 2005
322
     sock = PR_Accept(listenSock, &addr, PR_SecondsToInterval(5));
90
@@ -87,5 +87,5 @@
323
--- ../pr/tests/getai.c.orig	2015-10-16 13:22:19.000000000 +0000
91
 ** Traverse directory
324
+++ ../pr/tests/getai.c	2015-11-04 02:02:20.439194000 +0000
92
 */
325
@@ -13,8 +13,13 @@ int main(int argc, char **argv)
93
-static void TraverseDirectory( unsigned char *dir )
326
     PRAddrInfo *ai;
94
+static void TraverseDirectory(const char *dir)
95
 {
96
     PRDir *cwd;
97
@@ -93,5 +93,4 @@
98
     PRFileInfo info;
99
     PRStatus rc;
100
-    PRInt32 err;
101
     PRFileDesc *fd;
102
     char    nextDir[256];
103
@@ -114,14 +114,14 @@
104
         }
105
         if ( PR_FILE_FILE == info.type )  {
106
-            printf("File: %s \tsize: %ld\n", dirEntry->name, info.size );
107
+            printf("File: %s \tsize: %ld\n", dirEntry->name, (long)info.size );
108
             fd = PR_Open( file, PR_RDONLY, 0 );
109
             if ( NULL == fd )  {
110
                 printf("PR_Open() failed. Error: %ld, OSError: %ld\n", 
111
-                    PR_GetError(), PR_GetOSError());
112
+                    (long)PR_GetError(), (long)PR_GetOSError());
113
             }
114
             rc = PR_Close( fd );
115
             if ( PR_FAILURE == rc )  {
116
                 printf("PR_Close() failed. Error: %ld, OSError: %ld\n", 
117
-                    PR_GetError(), PR_GetOSError());
118
+                    (long)PR_GetError(), (long)PR_GetOSError());
119
             }
120
         } else if ( PR_FILE_DIRECTORY == info.type ) {
121
--- ../pr/tests/nonblock.c	Sun Apr 25 11:01:02 2004
122
+++ ../pr/tests/nonblock.c	Tue Jul 12 01:37:52 2005
123
@@ -84,5 +84,5 @@
124
 clientThreadFunc(void *arg)
125
 {
126
-    PRUintn port = (PRUintn)arg;
127
+    intptr_t port = (intptr_t)arg;
128
     PRFileDesc *sock;
129
     PRNetAddr addr;
130
@@ -196,5 +196,5 @@
131
 
132
     clientThread = PR_CreateThread(PR_USER_THREAD,
133
-	    clientThreadFunc, (void *) listenPort,
134
+	    clientThreadFunc, (void *) (intptr_t)listenPort,
135
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
136
 	    PR_UNJOINABLE_THREAD, 0);
137
@@ -240,5 +240,5 @@
138
         PL_PrintError("First Receive:\n");
139
 	    fprintf(stderr, "First PR_Recv: retVal: %ld, Error: %ld\n",
140
-            retVal, PR_GetError());
141
+            (long)retVal, (long)PR_GetError());
142
 	    exit(1);
143
         }
144
@@ -250,5 +250,5 @@
145
         PL_PrintError("Second Receive:\n");
146
 	    fprintf(stderr, "Second PR_Recv: retVal: %ld, Error: %ld\n", 
147
-            retVal, PR_GetError());
148
+            (long)retVal, (long)PR_GetError());
149
 	    exit(1);
150
         }
151
--- ../pr/tests/peek.c	Sun Apr 25 11:01:02 2004
152
+++ ../pr/tests/peek.c	Tue Jul 12 01:41:44 2005
153
@@ -168,5 +168,5 @@
154
     PRFileDesc *sock;
155
     PRSocketOptionData opt;
156
-    PRUint16 port = (PRUint16) arg;
157
+    PRUint16 port = (intptr_t) arg;
158
     PRNetAddr addr;
159
     char buf[BUFFER_SIZE];
160
@@ -332,5 +332,5 @@
161
     }
162
     client = PR_CreateThread(
163
-            PR_USER_THREAD, ClientNB, (void *) port,
164
+            PR_USER_THREAD, ClientNB, (void *)(intptr_t) port,
165
             PR_PRIORITY_NORMAL, scope, PR_JOINABLE_THREAD, 0);
166
     if (NULL == client) {
167
--- ../pr/tests/pipepong.c	Sun Apr 25 11:01:02 2004
168
+++ ../pr/tests/pipepong.c	Tue Jul 12 01:43:52 2005
169
@@ -69,5 +69,5 @@
170
         fprintf(stderr, "pong process: received \"%s\"\n", buf);
171
         if (nBytes != 5) {
172
-            fprintf(stderr, "pong process: expected 5 bytes but got %d bytes\n",
173
+            fprintf(stderr, "pong process: expected 5 bytes but got %zd bytes\n",
174
                     nBytes);
175
             exit(1);
176
--- ../pr/tests/poll_nm.c	Sun Apr 25 11:01:02 2004
177
+++ ../pr/tests/poll_nm.c	Tue Jul 12 01:45:57 2005
178
@@ -97,5 +97,5 @@
179
 clientThreadFunc(void *arg)
180
 {
181
-    PRUintn port = (PRUintn) arg;
182
+    PRUintn port = (intptr_t) arg;
183
     PRFileDesc *sock;
184
     PRNetAddr addr;
185
@@ -251,5 +251,5 @@
186
 
187
     clientThread = PR_CreateThread(PR_USER_THREAD,
188
-	    clientThreadFunc, (void *) listenPort1,
189
+	    clientThreadFunc, (void *)(intptr_t)listenPort1,
190
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
191
 	    PR_UNJOINABLE_THREAD, 0);
192
@@ -261,5 +261,5 @@
193
 
194
     clientThread = PR_CreateThread(PR_USER_THREAD,
195
-	    clientThreadFunc, (void *) listenPort2,
196
+	    clientThreadFunc, (void *)(intptr_t)listenPort2,
197
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
198
 	    PR_UNJOINABLE_THREAD, 0);
199
--- ../lib/tests/Makefile.in	Sun Nov  7 21:52:55 2004
200
+++ ../lib/tests/Makefile.in	Tue Jul 12 01:49:15 2005
201
@@ -247,5 +247,5 @@
202
 	$(LINK) $(EXEFLAGS) $(LDOPTS) $< $(LIBPLC)  $(LIBPLDS) $(LIBPR) $(OS_LIBS) $(EXTRA_LIBS)
203
 else
204
-	$(CC) $(XCFLAGS) $< $(LDOPTS) $(LIBPLC) $(LIBPLDS) $(LIBPR) $(EXTRA_LIBS) -o $@
205
+	$(CC) $(XCFLAGS) $< $(LDOPTS) $(LIBPLC) $(LIBPLDS) $(LIBPR) $(OS_LIBS) $(EXTRA_LIBS) -o $@
206
 endif
207
 endif
208
--- ../pr/tests/getai.c	Sun Apr 25 11:01:02 2004
209
+++ ../pr/tests/getai.c	Tue Jul 12 02:20:40 2005
210
@@ -46,6 +46,11 @@
211
     void *iter;
327
     void *iter;
212
     PRNetAddr addr;
328
     PRNetAddr addr;
213
+    const char *host;
329
+    const char *host;
Lines 220-271 Link Here
220
+    ai = PR_GetAddrInfoByName(host, PR_AF_UNSPEC, PR_AI_ADDRCONFIG);
336
+    ai = PR_GetAddrInfoByName(host, PR_AF_UNSPEC, PR_AI_ADDRCONFIG);
221
     if (ai == NULL) {
337
     if (ai == NULL) {
222
         fprintf(stderr, "PR_GetAddrInfoByName failed: (%d, %d)\n",
338
         fprintf(stderr, "PR_GetAddrInfoByName failed: (%d, %d)\n",
223
--- ../pr/tests/Makefile.in	Sun Apr 25 11:01:02 2004
339
             PR_GetError(), PR_GetOSError());
224
+++ ../pr/tests/Makefile.in	Tue Jul 12 02:25:18 2005
340
--- ../pr/tests/instrumt.c.orig	2015-10-16 13:22:19.000000000 +0000
225
@@ -556,16 +557,17 @@
341
+++ ../pr/tests/instrumt.c	2015-11-04 02:02:20.440472000 +0000
342
@@ -36,6 +36,7 @@
343
 */
226
 
344
 
227
 runtests:: $(PROGS) ALWAYS
228
-	@$(ECHO) "\nNSPR Test Results - $(OBJDIR)\n"
229
-	@$(ECHO) "BEGIN\t\t\t`date`"
230
-	@$(ECHO) "NSPR_TEST_LOGFILE\t$(LOGFILE)\n"
231
-	@$(ECHO) "Test\t\t\tResult\n"
232
+	@$(ECHO) "NSPR Test Results - $(OBJDIR)"
233
+	@$(ECHO) "BEGIN			`date`"
234
+	@$(ECHO) "Test			Result"
235
 	@cd $(OBJDIR); for i in $(PROGRAMS); do					\
236
-	$(ECHO) "$$i\c";										\
237
-	./$$i >> $(LOGFILE) 2>&1 ;								\
238
+	printf "$$i";										\
239
+	./$$i > $$i.output 2>&1;								\
240
 	if  [ 0 = $$? ] ; then									\
241
-		$(ECHO) "\t\t\tPassed";								\
242
-	else													\
243
-		$(ECHO) "\t\t\tFAILED";								\
244
-	fi;														\
245
+		$(ECHO) "			Passed";					\
246
+		rm $$i.output;									\
247
+	else											\
248
+		$(ECHO) "			FAILED";					\
249
+		cat $$i.output;									\
250
+	fi;											\
251
 	done
252
-	@$(ECHO) "\nEND\t\t`date`\n"
253
+	@$(ECHO) "END		`date`"
254
--- ../pr/tests/instrumt.c	Sun Apr 25 11:01:02 2004
255
+++ ../pr/tests/instrumt.c	Mon Jul 25 20:45:54 2005
256
@@ -69,4 +69,5 @@
257
 
258
 #include <stdio.h>
345
 #include <stdio.h>
259
+#define DEBUG
346
+#define DEBUG
260
 #include <plstr.h>
347
 #include <plstr.h>
261
 #include <prclist.h>
348
 #include <prclist.h>
262
@@ -83,5 +84,4 @@
349
 #include <prmem.h>
350
@@ -50,7 +51,6 @@
351
 #define COUNT_LIMIT  (10 * ( 1024))
263
 
352
 
264
 #define SMALL_TRACE_BUFSIZE  ( 60 * 1024 )
353
 #define SMALL_TRACE_BUFSIZE  ( 60 * 1024 )
265
-
354
-
266
 typedef enum 
355
 typedef enum 
267
 {
356
 {
268
@@ -111,8 +111,8 @@
357
     CountLoop = 1,
358
@@ -78,10 +78,10 @@ static void Help(void)
359
 
269
 static void ListCounters(void)
360
 static void ListCounters(void)
270
 {
361
 {
271
+#if defined(DEBUG) || defined(FORCE_NSPR_COUNTERS)
362
+#if defined(DEBUG) || defined(FORCE_NSPR_COUNTERS)
Lines 275-281 Link Here
275
-    const char **qname = &qn, **rname = &rn, **desc = &dn;
366
-    const char **qname = &qn, **rname = &rn, **desc = &dn;
276
     PRUint32    tCtr;
367
     PRUint32    tCtr;
277
 
368
 
278
@@ -125,6 +125,6 @@
369
     PR_INIT_COUNTER_HANDLE( qh, NULL );
370
@@ -92,7 +92,7 @@ static void ListCounters(void)
371
         PR_FIND_NEXT_COUNTER_RNAME(rh, rh, qh );
279
         while ( rh != NULL )
372
         while ( rh != NULL )
280
         {
373
         {
281
-            PR_GET_COUNTER_NAME_FROM_HANDLE( rh, qname, rname, desc );
374
-            PR_GET_COUNTER_NAME_FROM_HANDLE( rh, qname, rname, desc );
Lines 283-289 Link Here
283
             PR_GET_COUNTER(tCtr, rh);
376
             PR_GET_COUNTER(tCtr, rh);
284
             PR_LOG( lm, msgLevel,
377
             PR_LOG( lm, msgLevel,
285
                 ( "QName: %s  RName: %s  Desc: %s  Value: %ld\n", 
378
                 ( "QName: %s  RName: %s  Desc: %s  Value: %ld\n", 
286
@@ -134,13 +134,13 @@
379
@@ -101,15 +101,15 @@ static void ListCounters(void)
380
         } 
287
         PR_FIND_NEXT_COUNTER_QNAME(qh, qh);
381
         PR_FIND_NEXT_COUNTER_QNAME(qh, qh);
288
     }
382
     }
289
-    return;    
383
-    return;    
Lines 299-305 Link Here
299
-    const char **qname = &qn, **rname = &rn, **desc = &dn;
393
-    const char **qname = &qn, **rname = &rn, **desc = &dn;
300
 
394
 
301
     PR_INIT_TRACE_HANDLE( qh, NULL );
395
     PR_INIT_TRACE_HANDLE( qh, NULL );
302
@@ -152,5 +152,5 @@
396
     PR_FIND_NEXT_TRACE_QNAME(qh, qh );
397
@@ -119,7 +119,7 @@ static void ListTraces(void)
398
         PR_FIND_NEXT_TRACE_RNAME(rh, rh, qh );
303
         while ( rh != NULL )
399
         while ( rh != NULL )
304
         {
400
         {
305
-            PR_GET_TRACE_NAME_FROM_HANDLE( rh, qname, rname, desc );
401
-            PR_GET_TRACE_NAME_FROM_HANDLE( rh, qname, rname, desc );
Lines 306-312 Link Here
306
+            PR_GET_TRACE_NAME_FROM_HANDLE( rh, &qn, &rn, &dn );
402
+            PR_GET_TRACE_NAME_FROM_HANDLE( rh, &qn, &rn, &dn );
307
             PR_LOG( lm, msgLevel,
403
             PR_LOG( lm, msgLevel,
308
                 ( "QName: %s  RName: %s  Desc: %s", 
404
                 ( "QName: %s  RName: %s  Desc: %s", 
309
@@ -160,5 +160,5 @@
405
                 qn, rn, dn ));
406
@@ -127,7 +127,7 @@ static void ListTraces(void)
407
         } 
310
         PR_FIND_NEXT_TRACE_QNAME(qh, qh);
408
         PR_FIND_NEXT_TRACE_QNAME(qh, qh);
311
     }
409
     }
312
-    return;    
410
-    return;    
Lines 313-319 Link Here
313
+#endif
411
+#endif
314
 } /* end ListCounters() */
412
 } /* end ListCounters() */
315
 
413
 
316
@@ -359,5 +359,5 @@
414
 
415
@@ -326,7 +326,7 @@ static void PR_CALLBACK SampleTrace( voi
416
 */
317
 static void TraceTest( void )
417
 static void TraceTest( void )
318
 {
418
 {
319
-    PRInt32 i;
419
-    PRInt32 i;
Lines 320-328 Link Here
320
+    PRIntn i = 0;
420
+    PRIntn i = 0;
321
     PRInt32 size;
421
     PRInt32 size;
322
     PR_DEFINE_TRACE( th );
422
     PR_DEFINE_TRACE( th );
323
--- ../pr/tests/layer.c	Fri Apr 29 18:46:05 2005
423
     PRThread *t1, *t2;
324
+++ ../pr/tests/layer.c	Mon Jul 25 20:53:03 2005
424
--- ../pr/tests/io_timeout.c.orig	2015-10-16 13:22:19.000000000 +0000
325
@@ -78,5 +78,8 @@
425
+++ ../pr/tests/io_timeout.c	2015-11-04 02:02:20.452831000 +0000
426
@@ -22,11 +22,13 @@
427
 /* Used to get the command line option */
428
 #include "plgetopt.h"
429
 
430
+#include <errno.h>
431
 #include <stdio.h>
432
+#include <string.h>
433
 #include "nspr.h"
434
 
435
 #define NUM_THREADS 1
436
-#define BASE_PORT   8000
437
+#define BASE_PORT   38011
438
 #define DEFAULT_ACCEPT_TIMEOUT 2
439
 
440
 typedef struct threadInfo {
441
@@ -38,7 +40,7 @@ typedef struct threadInfo {
442
 } threadInfo;
443
 
444
 PRIntn failed_already = 0;
445
-PRIntn debug_mode = 0;
446
+PRIntn debug_mode = 1;
447
 
448
 #define	LOCAL_SCOPE_STRING			"LOCAL scope"
449
 #define	GLOBAL_SCOPE_STRING			"GLOBAL scope"
450
@@ -54,7 +56,7 @@ thread_main(void *_info)
451
     PRFileDesc *clientSock;
452
     PRStatus rv;
453
 	PRThreadScope tscope;
454
-	char *scope_str;
455
+	const char *scope_str;
456
 
457
  
458
 	if (debug_mode)
459
@@ -73,6 +75,7 @@ thread_main(void *_info)
460
 			break;
461
 		default:
462
 			PR_NOT_REACHED("Invalid thread scope");
463
+			scope_str = NULL;
464
 			break;
465
 	}
466
 	printf("thread id %d, scope %s\n", info->id, scope_str);
467
@@ -91,7 +94,12 @@ thread_main(void *_info)
468
     rv = PR_Bind(listenSock, &listenAddr);
469
     if (rv == PR_FAILURE) {
470
 		if (debug_mode)
471
-        	printf("unable to bind\n");
472
+			printf("unable to bind to %d: %s\n",
473
+			    BASE_PORT + info->id, strerror(PR_GetOSError()));
474
+		if (PR_GetOSError() == EADDRINUSE) {
475
+			printf("can not proceed with this test\n");
476
+			exit(0);
477
+		}
478
 		failed_already=1;
479
         goto dead;
480
     }
481
@@ -113,8 +121,9 @@ thread_main(void *_info)
482
     if (clientSock == NULL) {
483
         if (PR_GetError() == PR_IO_TIMEOUT_ERROR) {
484
 			if (debug_mode) {	
485
-            	printf("PR_Accept() timeout worked!\n"); 
486
-				printf("TEST PASSED! PR_Accept() returned error %d\n",
487
+				printf("PR_Accept() timeout worked!\n"
488
+				    "TEST PASSED! PR_Accept() returned error "
489
+				    "PR_IO_TIMEOUT_ERROR (%ld)\n",
490
 							PR_IO_TIMEOUT_ERROR);
491
 			}
492
     	} else {
493
--- ../pr/tests/layer.c.orig	2015-10-16 13:22:19.000000000 +0000
494
+++ ../pr/tests/layer.c	2015-11-04 02:02:20.441092000 +0000
495
@@ -45,7 +45,10 @@ static PRUint16 default_port = 12273;
496
 static PRFileDesc *PushLayer(PRFileDesc *stack)
326
 {
497
 {
327
     PRFileDesc *layer = PR_CreateIOLayerStub(identity, &myMethods);
498
     PRFileDesc *layer = PR_CreateIOLayerStub(identity, &myMethods);
328
-    PRStatus rv = PR_PushIOLayer(stack, PR_GetLayersIdentity(stack), layer);
499
-    PRStatus rv = PR_PushIOLayer(stack, PR_GetLayersIdentity(stack), layer);
Lines 332-376 Link Here
332
+	PR_PushIOLayer(stack, PR_GetLayersIdentity(stack), layer);
503
+	PR_PushIOLayer(stack, PR_GetLayersIdentity(stack), layer);
333
     if (verbosity > quiet)
504
     if (verbosity > quiet)
334
         PR_fprintf(logFile, "Pushed layer(0x%x) onto stack(0x%x)\n", layer, stack);
505
         PR_fprintf(logFile, "Pushed layer(0x%x) onto stack(0x%x)\n", layer, stack);
335
--- ../pr/tests/lazyinit.c	Sun Apr 25 11:01:02 2004
506
     PR_ASSERT(PR_SUCCESS == rv);
336
+++ ../pr/tests/lazyinit.c	Mon Jul 25 20:54:18 2005
507
--- ../pr/tests/lazyinit.c.orig	2015-10-16 13:22:19.000000000 +0000
337
@@ -76,5 +76,4 @@
508
+++ ../pr/tests/lazyinit.c	2015-11-04 02:02:20.441575000 +0000
509
@@ -43,7 +43,6 @@ int main(int argc, char **argv)
510
     char *path = NULL;
338
     PRDir *dir = NULL;
511
     PRDir *dir = NULL;
339
     PRLock *ml = NULL;
512
     PRLock *ml = NULL;
340
-    PRCondVar *cv = NULL;
513
-    PRCondVar *cv = NULL;
341
     PRThread *thread = NULL;
514
     PRThread *thread = NULL;
342
     PRIntervalTime interval = 0;
515
     PRIntervalTime interval = 0;
343
--- ../pr/tests/lltest.c	Sun Apr 25 11:01:02 2004
516
     PRFileDesc *file, *udp, *tcp, *pair[2];
344
+++ ../pr/tests/lltest.c	Mon Jul 25 20:57:30 2005
517
--- ../pr/tests/lltest.c.orig	2015-10-16 13:22:19.000000000 +0000
345
@@ -578,4 +578,5 @@
518
+++ ../pr/tests/lltest.c	2015-11-04 02:02:20.442340000 +0000
519
@@ -545,6 +545,7 @@ TestConversion( void )
520
     return;
346
 }
521
 }
347
 
522
 
348
+#if 0
523
+#if 0
349
 static void ShiftCompileOnly()
524
 static void ShiftCompileOnly()
350
 {
525
 {
351
@@ -594,4 +595,5 @@
526
     /*
527
@@ -561,6 +562,7 @@ static void ShiftCompileOnly()
528
     LL_ISHL(ia, 49, 32);
352
 
529
 
353
 }  /* ShiftCompileOnly */
530
 }  /* ShiftCompileOnly */
354
+#endif
531
+#endif
355
    
532
    
356
 
533
 
357
@@ -668,5 +670,4 @@
534
 /*
535
@@ -635,7 +637,6 @@ TestArithmetic( void )
536
     PRInt64 largeValPlusOne   = LL_INIT( 0x00000002, 0x00000000 );
358
     PRInt64 largeValTimesTwo  = LL_INIT( 0x00000003, 0xfffffffe );
537
     PRInt64 largeValTimesTwo  = LL_INIT( 0x00000003, 0xfffffffe );
359
     PRInt64 largeMultCand     = LL_INIT( 0x00000000, 0x7fffffff );
538
     PRInt64 largeMultCand     = LL_INIT( 0x00000000, 0x7fffffff );
360
-    PRInt64 largeMinusMultCand = LL_INIT( 0xffffffff, 0x10000001 );
539
-    PRInt64 largeMinusMultCand = LL_INIT( 0xffffffff, 0x10000001 );
361
     PRInt64 largeMultCandx64K = LL_INIT( 0x00007fff, 0xffff0000 );
540
     PRInt64 largeMultCandx64K = LL_INIT( 0x00007fff, 0xffff0000 );
362
     PRInt64 largeNumSHL5      = LL_INIT( 0x0000001f, 0xffffffe0 );        
541
     PRInt64 largeNumSHL5      = LL_INIT( 0x0000001f, 0xffffffe0 );        
363
--- ../pr/tests/nbconn.c	Fri Apr 29 18:46:05 2005
542
     PRInt64 result, result2;
364
+++ ../pr/tests/nbconn.c	Mon Jul 25 21:00:51 2005
543
--- ../pr/tests/mbcs.c.orig	2015-10-16 13:22:19.000000000 +0000
365
@@ -93,6 +93,5 @@
544
+++ ../pr/tests/mbcs.c	2015-11-04 02:02:20.436041000 +0000
545
@@ -54,13 +54,12 @@ char *dirName =  NULL;  /* directory nam
546
 /*
547
 ** Traverse directory
548
 */
549
-static void TraverseDirectory( unsigned char *dir )
550
+static void TraverseDirectory(const char *dir)
551
 {
552
     PRDir *cwd;
553
     PRDirEntry *dirEntry;
554
     PRFileInfo info;
555
     PRStatus rc;
556
-    PRInt32 err;
557
     PRFileDesc *fd;
558
     char    nextDir[256];
559
     char    file[256];
560
@@ -81,16 +80,16 @@ static void TraverseDirectory( unsigned 
561
             exit(1);
562
         }
563
         if ( PR_FILE_FILE == info.type )  {
564
-            printf("File: %s \tsize: %ld\n", dirEntry->name, info.size );
565
+            printf("File: %s \tsize: %ld\n", dirEntry->name, (long)info.size );
566
             fd = PR_Open( file, PR_RDONLY, 0 );
567
             if ( NULL == fd )  {
568
                 printf("PR_Open() failed. Error: %ld, OSError: %ld\n", 
569
-                    PR_GetError(), PR_GetOSError());
570
+                    (long)PR_GetError(), (long)PR_GetOSError());
571
             }
572
             rc = PR_Close( fd );
573
             if ( PR_FAILURE == rc )  {
574
                 printf("PR_Close() failed. Error: %ld, OSError: %ld\n", 
575
-                    PR_GetError(), PR_GetOSError());
576
+                    (long)PR_GetError(), (long)PR_GetOSError());
577
             }
578
         } else if ( PR_FILE_DIRECTORY == info.type ) {
579
             sprintf( nextDir, "%s/%s", dir, dirEntry->name );
580
--- ../pr/tests/nbconn.c.orig	2015-10-16 13:22:19.000000000 +0000
581
+++ ../pr/tests/nbconn.c	2015-11-04 02:02:20.443098000 +0000
582
@@ -54,8 +54,7 @@ int main(int argc, char **argv)
583
     PRStatus rv;
366
     PRSocketOptionData optData;
584
     PRSocketOptionData optData;
367
 	const char *hostname = NULL;
585
 	const char *hostname = NULL;
368
-    PRIntn default_case, n, bytes_read, bytes_sent;
586
-    PRIntn default_case, n, bytes_read, bytes_sent;
369
-	PRInt32 failed_already = 0;
587
-	PRInt32 failed_already = 0;
370
+    PRIntn default_case, n;
588
+    PRIntn default_case, n;
371
 #ifdef XP_MAC
589
 
372
 	int index;
590
     /*
373
@@ -226,5 +225,5 @@
591
      * -d           debug mode
592
@@ -164,7 +163,7 @@ int main(int argc, char **argv)
593
 				exit(1);
374
 			}
594
 			}
375
 			printf( "PR_GetConnectStatus: connect failed: (%ld, %ld)\n",
595
 			printf( "PR_GetConnectStatus: connect failed: (%ld, %ld)\n",
376
-					PR_GetError(), PR_GetOSError());
596
-					PR_GetError(), PR_GetOSError());
Lines 377-383 Link Here
377
+					(long)PR_GetError(), (long)PR_GetOSError());
597
+					(long)PR_GetError(), (long)PR_GetOSError());
378
 		}
598
 		}
379
 		PR_Close(sock);
599
 		PR_Close(sock);
380
@@ -300,5 +299,5 @@
600
     	printf( "PASS\n");
601
@@ -235,7 +234,7 @@ connection_success_test()
602
 	PRThread *thr = NULL;
381
 	Server_Param sp;
603
 	Server_Param sp;
382
 	char send_buf[DATA_BUF_SIZE], recv_buf[DATA_BUF_SIZE];
604
 	char send_buf[DATA_BUF_SIZE], recv_buf[DATA_BUF_SIZE];
383
-    PRIntn default_case, n, bytes_read, bytes_sent;
605
-    PRIntn default_case, n, bytes_read, bytes_sent;
Lines 384-390 Link Here
384
+    PRIntn n, bytes_read, bytes_sent;
606
+    PRIntn n, bytes_read, bytes_sent;
385
     PRIntn failed_already = 0;
607
     PRIntn failed_already = 0;
386
 
608
 
387
@@ -376,5 +375,5 @@
609
 	/*
610
@@ -311,7 +310,7 @@ connection_success_test()
611
 		failed_already=1;
388
 		goto def_exit;
612
 		goto def_exit;
389
 	}
613
 	}
390
-	DPRINTF(("Created TCP_Server thread [0x%x]\n",thr));
614
-	DPRINTF(("Created TCP_Server thread [0x%x]\n",thr));
Lines 391-397 Link Here
391
+	DPRINTF(("Created TCP_Server thread [%p]\n", thr));
615
+	DPRINTF(("Created TCP_Server thread [%p]\n", thr));
392
 	pd.fd = conn_fd;
616
 	pd.fd = conn_fd;
393
 	pd.in_flags = PR_POLL_WRITE | PR_POLL_EXCEPT;
617
 	pd.in_flags = PR_POLL_WRITE | PR_POLL_EXCEPT;
394
@@ -459,5 +458,5 @@
618
 	n = PR_Poll(&pd, 1, PR_INTERVAL_NO_TIMEOUT);
619
@@ -390,7 +389,7 @@ connection_success_test()
620
 		DPRINTF(("Data integrity verified\n"));
395
 	} else {
621
 	} else {
396
 		fprintf(stderr,"PR_GetConnectStatus: connect failed: (%ld, %ld)\n",
622
 		fprintf(stderr,"PR_GetConnectStatus: connect failed: (%ld, %ld)\n",
397
-				PR_GetError(), PR_GetOSError());
623
-				PR_GetError(), PR_GetOSError());
Lines 398-412 Link Here
398
+				(long)PR_GetError(), (long)PR_GetOSError());
624
+				(long)PR_GetError(), (long)PR_GetOSError());
399
 		failed_already = 1;
625
 		failed_already = 1;
400
 		goto def_exit;
626
 		goto def_exit;
401
@@ -569,5 +568,4 @@
402
 	}
627
 	}
628
@@ -496,7 +495,6 @@ connection_failure_test()
629
 		goto def_exit;
630
 	}
403
 	if (PR_GetConnectStatus(&pd) == PR_SUCCESS) {
631
 	if (PR_GetConnectStatus(&pd) == PR_SUCCESS) {
404
-		PRInt32 rv;
632
-		PRInt32 rv;
405
 		fprintf(stderr,"PR_GetConnectStatus succeeded, expected to fail\n");
633
 		fprintf(stderr,"PR_GetConnectStatus succeeded, expected to fail\n");
406
 		failed_already = 1;
634
 		failed_already = 1;
407
--- ../pr/tests/nblayer.c	2009-02-23 00:00:44.000000000 -0500
635
 		goto def_exit;
408
+++ ../pr/tests/nblayer.c	2009-11-04 16:22:00.000000000 -0500
636
--- ../pr/tests/nblayer.c.orig	2015-10-16 13:22:19.000000000 +0000
409
@@ -332,5 +332,5 @@
637
+++ ../pr/tests/nblayer.c	2015-11-04 02:02:20.443837000 +0000
638
@@ -299,7 +299,7 @@ static PRStatus PR_CALLBACK MyClose(PRFi
639
 static PRInt16 PR_CALLBACK MyPoll(
410
     PRFileDesc *fd, PRInt16 in_flags, PRInt16 *out_flags)
640
     PRFileDesc *fd, PRInt16 in_flags, PRInt16 *out_flags)
411
 {
641
 {
412
-    PRInt16 my_flags, new_flags;
642
-    PRInt16 my_flags, new_flags;
Lines 413-419 Link Here
413
+    PRInt16 my_flags = -1, new_flags;
643
+    PRInt16 my_flags = -1, new_flags;
414
     PRFilePrivate *mine = (PRFilePrivate*)fd->secret;
644
     PRFilePrivate *mine = (PRFilePrivate*)fd->secret;
415
     if (0 != (PR_POLL_READ & in_flags))
645
     if (0 != (PR_POLL_READ & in_flags))
416
@@ -375,5 +375,5 @@
646
     {
647
@@ -342,7 +342,7 @@ static PRFileDesc * PR_CALLBACK MyAccept
648
     PRFileDesc *fd, PRNetAddr *addr, PRIntervalTime timeout)
417
 {
649
 {
418
     PRStatus rv;
650
     PRStatus rv;
419
-    PRFileDesc *newfd, *layer = fd;
651
-    PRFileDesc *newfd, *layer = fd;
Lines 420-426 Link Here
420
+    PRFileDesc *newfd;
652
+    PRFileDesc *newfd;
421
     PRFileDesc *newstack;
653
     PRFileDesc *newstack;
422
     PRFilePrivate *newsecret;
654
     PRFilePrivate *newsecret;
423
@@ -461,4 +461,6 @@
655
 
656
@@ -428,6 +428,8 @@ static PRInt32 PR_CALLBACK MyRecv(
657
             mine->rcvinprogress = 0;
424
             return mine->rcvreq;  /* << -- that's it! */
658
             return mine->rcvreq;  /* << -- that's it! */
425
         default:
659
         default:
426
+            PR_ASSERT(!"How did I get this mine->rcvstate?");
660
+            PR_ASSERT(!"How did I get this mine->rcvstate?");
Lines 427-433 Link Here
427
+            rv = -1;
661
+            rv = -1;
428
             break;
662
             break;
429
         }
663
         }
430
@@ -517,4 +517,6 @@
664
     } while (-1 != rv);
665
@@ -484,6 +486,8 @@ static PRInt32 PR_CALLBACK MySend(
666
             mine->xmtinprogress = 0;
431
             return mine->xmtreq;  /* <<-- That's the one! */
667
             return mine->xmtreq;  /* <<-- That's the one! */
432
         default:
668
         default:
433
+            PR_ASSERT(!"How did I get this mine->xmtstate?");
669
+            PR_ASSERT(!"How did I get this mine->xmtstate?");
Lines 434-450 Link Here
434
+            rv = -1;
670
+            rv = -1;
435
             break;
671
             break;
436
         }
672
         }
437
--- ../pr/tests/obsints.c	Sun Apr 25 11:01:02 2004
673
     } while (-1 != rv);
438
+++ ../pr/tests/obsints.c	Mon Jul 25 21:04:56 2005
674
--- ../pr/tests/nonblock.c.orig	2015-10-16 13:22:19.000000000 +0000
439
@@ -58,4 +58,7 @@
675
+++ ../pr/tests/nonblock.c	2015-11-04 02:02:20.436606000 +0000
676
@@ -39,7 +39,7 @@
677
 static void PR_CALLBACK
678
 clientThreadFunc(void *arg)
679
 {
680
-    PRUintn port = (PRUintn)arg;
681
+    intptr_t port = (intptr_t)arg;
682
     PRFileDesc *sock;
683
     PRNetAddr addr;
684
     char buf[CHUNK_SIZE];
685
@@ -147,7 +147,7 @@ static PRIntn PR_CALLBACK RealMain( PRIn
686
     printf("%s", buf);
440
 
687
 
688
     clientThread = PR_CreateThread(PR_USER_THREAD,
689
-	    clientThreadFunc, (void *) listenPort,
690
+	    clientThreadFunc, (void *) (intptr_t)listenPort,
691
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
692
 	    PR_UNJOINABLE_THREAD, 0);
693
     if (clientThread == NULL) {
694
@@ -191,7 +191,7 @@ static PRIntn PR_CALLBACK RealMain( PRIn
695
 	if (retVal != -1 || PR_GetError() != PR_WOULD_BLOCK_ERROR) {
696
         PL_PrintError("First Receive:\n");
697
 	    fprintf(stderr, "First PR_Recv: retVal: %ld, Error: %ld\n",
698
-            retVal, PR_GetError());
699
+            (long)retVal, (long)PR_GetError());
700
 	    exit(1);
701
         }
702
 	printf("read: EWOULDBLOCK, good\n");
703
@@ -201,7 +201,7 @@ static PRIntn PR_CALLBACK RealMain( PRIn
704
 	if (retVal != CHUNK_SIZE) {
705
         PL_PrintError("Second Receive:\n");
706
 	    fprintf(stderr, "Second PR_Recv: retVal: %ld, Error: %ld\n", 
707
-            retVal, PR_GetError());
708
+            (long)retVal, (long)PR_GetError());
709
 	    exit(1);
710
         }
711
 	printf("read: %d bytes, good\n", retVal);
712
--- ../pr/tests/obsints.c.orig	2015-10-16 13:22:19.000000000 +0000
713
+++ ../pr/tests/obsints.c	2015-11-04 02:02:20.444330000 +0000
714
@@ -25,6 +25,9 @@ int main(int argc, char **argv)
715
 #else /* NO_NSPR_10_SUPPORT */
716
 
441
 #include "prtypes.h"  /* which includes protypes.h */
717
 #include "prtypes.h"  /* which includes protypes.h */
442
+#if !defined(__GNUC__)
718
+#if !defined(__GNUC__)
443
+#	define __unused
719
+#	define __unused
444
+#endif
720
+#endif
445
 
721
 
446
 int main()
722
 int main(int argc, char **argv)
447
@@ -65,15 +68,15 @@
723
 {
724
@@ -32,17 +35,17 @@ int main(int argc, char **argv)
725
      * Compilation fails if any of these integer types are not
448
      * defined by protypes.h.
726
      * defined by protypes.h.
449
      */
727
      */
450
-    intn in;
728
-    intn in;
Lines 471-479 Link Here
471
+    uint64 ui64 __unused;
749
+    uint64 ui64 __unused;
472
 
750
 
473
     printf("PASS\n");
751
     printf("PASS\n");
474
--- ../pr/tests/perf.c	Sun Apr 25 11:01:02 2004
752
     return 0;
475
+++ ../pr/tests/perf.c	Mon Jul 25 21:05:55 2005
753
--- ../pr/tests/parsetm.c.orig	2015-10-16 13:22:19.000000000 +0000
476
@@ -181,5 +181,5 @@
754
+++ ../pr/tests/parsetm.c	2015-11-04 02:02:20.467739000 +0000
755
@@ -31,8 +31,8 @@ static void PrintExplodedTime(const PREx
756
 
757
     /* Print day of the week, month, day, hour, minute, and second */
758
     if (debug_mode) printf("%s %s %ld %02ld:%02ld:%02ld ",
759
-	    dayOfWeek[et->tm_wday], month[et->tm_month], et->tm_mday,
760
-	    et->tm_hour, et->tm_min, et->tm_sec);
761
+	    dayOfWeek[et->tm_wday], month[et->tm_month], (long)et->tm_mday,
762
+	    (long)et->tm_hour, (long)et->tm_min, (long)et->tm_sec);
763
 
764
     /* Print time zone */
765
     totalOffset = et->tm_params.tp_gmt_offset + et->tm_params.tp_dst_offset;
766
@@ -47,7 +47,7 @@ static void PrintExplodedTime(const PREx
767
         hourOffset = totalOffset / 3600;
768
         minOffset = (totalOffset % 3600) / 60;
769
         if (debug_mode) 
770
-            printf("%s%02ld%02ld ", sign, hourOffset, minOffset);
771
+            printf("%s%02ld%02ld ", sign, (long)hourOffset, (long)minOffset);
772
     }
773
 
774
     /* Print year */
775
--- ../pr/tests/peek.c.orig	2015-10-16 13:22:19.000000000 +0000
776
+++ ../pr/tests/peek.c	2015-11-04 02:02:20.437204000 +0000
777
@@ -135,7 +135,7 @@ static void ClientNB(void *arg)
778
 {
779
     PRFileDesc *sock;
780
     PRSocketOptionData opt;
781
-    PRUint16 port = (PRUint16) arg;
782
+    PRUint16 port = (intptr_t) arg;
783
     PRNetAddr addr;
784
     char buf[BUFFER_SIZE];
785
     PRPollDesc pd;
786
@@ -299,7 +299,7 @@ RunTest(PRThreadScope scope, PRFileDesc 
787
         exit(1);
788
     }
789
     client = PR_CreateThread(
790
-            PR_USER_THREAD, ClientNB, (void *) port,
791
+            PR_USER_THREAD, ClientNB, (void *)(intptr_t) port,
792
             PR_PRIORITY_NORMAL, scope, PR_JOINABLE_THREAD, 0);
793
     if (NULL == client) {
794
         fprintf(stderr, "PR_CreateThread failed\n");
795
--- ../pr/tests/perf.c.orig	2015-10-16 13:22:19.000000000 +0000
796
+++ ../pr/tests/perf.c	2015-11-04 02:02:20.445028000 +0000
797
@@ -141,7 +141,7 @@ static void PR_CALLBACK CXReader(void *a
798
     n = count / 2;
477
     for (i = 0; i < n; i++) {
799
     for (i = 0; i < n; i++) {
478
     while (cxq == 0) {
800
     while (cxq == 0) {
479
-            DPRINTF(("CXReader: thread = 0x%lx waiting\n",
801
-            DPRINTF(("CXReader: thread = 0x%lx waiting\n",
Lines 480-486 Link Here
480
+            DPRINTF(("CXReader: thread = %p waiting\n",
802
+            DPRINTF(("CXReader: thread = %p waiting\n",
481
                     PR_GetCurrentThread()));
803
                     PR_GetCurrentThread()));
482
         PR_Wait(mon, PR_INTERVAL_NO_TIMEOUT);
804
         PR_Wait(mon, PR_INTERVAL_NO_TIMEOUT);
483
@@ -194,5 +194,5 @@
805
     }
806
@@ -154,7 +154,7 @@ static void PR_CALLBACK CXReader(void *a
807
     --alive;
484
     PR_Notify(mon2);
808
     PR_Notify(mon2);
485
     PR_ExitMonitor(mon2);
809
     PR_ExitMonitor(mon2);
486
-    DPRINTF(("CXReader: thread = 0x%lx exiting\n", PR_GetCurrentThread()));
810
-    DPRINTF(("CXReader: thread = 0x%lx exiting\n", PR_GetCurrentThread()));
Lines 487-493 Link Here
487
+    DPRINTF(("CXReader: thread = %p exiting\n", PR_GetCurrentThread()));
811
+    DPRINTF(("CXReader: thread = %p exiting\n", PR_GetCurrentThread()));
488
 }
812
 }
489
 
813
 
490
@@ -205,5 +205,5 @@
814
 static void PR_CALLBACK CXWriter(void *arg)
815
@@ -165,7 +165,7 @@ static void PR_CALLBACK CXWriter(void *a
816
     n = count / 2;
491
     for (i = 0; i < n; i++) {
817
     for (i = 0; i < n; i++) {
492
     while (cxq == 1) {
818
     while (cxq == 1) {
493
-            DPRINTF(("CXWriter: thread = 0x%lx waiting\n",
819
-            DPRINTF(("CXWriter: thread = 0x%lx waiting\n",
Lines 494-500 Link Here
494
+            DPRINTF(("CXWriter: thread = %p waiting\n",
820
+            DPRINTF(("CXWriter: thread = %p waiting\n",
495
                     PR_GetCurrentThread()));
821
                     PR_GetCurrentThread()));
496
         PR_Wait(mon, PR_INTERVAL_NO_TIMEOUT);
822
         PR_Wait(mon, PR_INTERVAL_NO_TIMEOUT);
497
@@ -218,5 +218,5 @@
823
     }
824
@@ -178,7 +178,7 @@ static void PR_CALLBACK CXWriter(void *a
825
     --alive;
498
     PR_Notify(mon2);
826
     PR_Notify(mon2);
499
     PR_ExitMonitor(mon2);
827
     PR_ExitMonitor(mon2);
500
-    DPRINTF(("CXWriter: thread = 0x%lx exiting\n", PR_GetCurrentThread()));
828
-    DPRINTF(("CXWriter: thread = 0x%lx exiting\n", PR_GetCurrentThread()));
Lines 501-507 Link Here
501
+    DPRINTF(("CXWriter: thread = %p exiting\n", PR_GetCurrentThread()));
829
+    DPRINTF(("CXWriter: thread = %p exiting\n", PR_GetCurrentThread()));
502
 }
830
 }
503
 
831
 
504
@@ -238,5 +238,5 @@
832
 static void ContextSwitch(PRThreadScope scope1, PRThreadScope scope2)
833
@@ -198,7 +198,7 @@ static void ContextSwitch(PRThreadScope 
834
     if (NULL == t1) {
505
         fprintf(stderr, "ContextSwitch: cannot create thread\n");
835
         fprintf(stderr, "ContextSwitch: cannot create thread\n");
506
     } else {
836
     } else {
507
-        DPRINTF(("ContextSwitch: created %s thread = 0x%lx\n",
837
-        DPRINTF(("ContextSwitch: created %s thread = 0x%lx\n",
Lines 508-514 Link Here
508
+        DPRINTF(("ContextSwitch: created %s thread = %p\n",
838
+        DPRINTF(("ContextSwitch: created %s thread = %p\n",
509
                 (scope1 == PR_GLOBAL_THREAD ?
839
                 (scope1 == PR_GLOBAL_THREAD ?
510
                 "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD"),
840
                 "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD"),
511
@@ -252,5 +252,5 @@
841
                             t1));
842
@@ -212,7 +212,7 @@ static void ContextSwitch(PRThreadScope 
843
     if (NULL == t2) {
512
         fprintf(stderr, "ContextSwitch: cannot create thread\n");
844
         fprintf(stderr, "ContextSwitch: cannot create thread\n");
513
     } else {
845
     } else {
514
-        DPRINTF(("ContextSwitch: created %s thread = 0x%lx\n",
846
-        DPRINTF(("ContextSwitch: created %s thread = 0x%lx\n",
Lines 515-521 Link Here
515
+        DPRINTF(("ContextSwitch: created %s thread = %p\n",
847
+        DPRINTF(("ContextSwitch: created %s thread = %p\n",
516
                 (scope2 == PR_GLOBAL_THREAD ?
848
                 (scope2 == PR_GLOBAL_THREAD ?
517
                 "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD"),
849
                 "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD"),
518
@@ -294,8 +294,8 @@
850
                             t2));
851
@@ -254,10 +254,10 @@ static void PR_CALLBACK SemaThread(void 
852
 
519
     n = count / 2;
853
     n = count / 2;
520
     for (i = 0; i < n; i++) {
854
     for (i = 0; i < n; i++) {
521
-        DPRINTF(("SemaThread: thread = 0x%lx waiting on sem = 0x%lx\n",
855
-        DPRINTF(("SemaThread: thread = 0x%lx waiting on sem = 0x%lx\n",
Lines 526-532 Link Here
526
+        DPRINTF(("SemaThread: thread = %p posting on sem = %p\n",
860
+        DPRINTF(("SemaThread: thread = %p posting on sem = %p\n",
527
                 PR_GetCurrentThread(), sem[1]));
861
                 PR_GetCurrentThread(), sem[1]));
528
         PR_PostSem(sem[1]);
862
         PR_PostSem(sem[1]);
529
@@ -306,5 +306,5 @@
863
     }
864
@@ -266,7 +266,7 @@ static void PR_CALLBACK SemaThread(void 
865
     --alive;
530
     PR_Notify(mon2);
866
     PR_Notify(mon2);
531
     PR_ExitMonitor(mon2);
867
     PR_ExitMonitor(mon2);
532
-    DPRINTF(("SemaThread: thread = 0x%lx exiting\n", PR_GetCurrentThread()));
868
-    DPRINTF(("SemaThread: thread = 0x%lx exiting\n", PR_GetCurrentThread()));
Lines 533-539 Link Here
533
+    DPRINTF(("SemaThread: thread = %p exiting\n", PR_GetCurrentThread()));
869
+    DPRINTF(("SemaThread: thread = %p exiting\n", PR_GetCurrentThread()));
534
 }
870
 }
535
 
871
 
536
@@ -334,5 +334,5 @@
872
 static  PRSemaphore *sem_set1[2];
873
@@ -294,7 +294,7 @@ static void SemaContextSwitch(PRThreadSc
874
     if (NULL == t1) {
537
         fprintf(stderr, "SemaContextSwitch: cannot create thread\n");
875
         fprintf(stderr, "SemaContextSwitch: cannot create thread\n");
538
     } else {
876
     } else {
539
-        DPRINTF(("SemaContextSwitch: created %s thread = 0x%lx\n",
877
-        DPRINTF(("SemaContextSwitch: created %s thread = 0x%lx\n",
Lines 540-546 Link Here
540
+        DPRINTF(("SemaContextSwitch: created %s thread = %p\n",
878
+        DPRINTF(("SemaContextSwitch: created %s thread = %p\n",
541
                 (scope1 == PR_GLOBAL_THREAD ?
879
                 (scope1 == PR_GLOBAL_THREAD ?
542
                 "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD"),
880
                 "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD"),
543
@@ -349,5 +349,5 @@
881
                             t1));
882
@@ -309,7 +309,7 @@ static void SemaContextSwitch(PRThreadSc
883
     if (NULL == t2) {
544
         fprintf(stderr, "SemaContextSwitch: cannot create thread\n");
884
         fprintf(stderr, "SemaContextSwitch: cannot create thread\n");
545
     } else {
885
     } else {
546
-        DPRINTF(("SemaContextSwitch: created %s thread = 0x%lx\n",
886
-        DPRINTF(("SemaContextSwitch: created %s thread = 0x%lx\n",
Lines 547-562 Link Here
547
+        DPRINTF(("SemaContextSwitch: created %s thread = %p\n",
887
+        DPRINTF(("SemaContextSwitch: created %s thread = %p\n",
548
                 (scope2 == PR_GLOBAL_THREAD ?
888
                 (scope2 == PR_GLOBAL_THREAD ?
549
                 "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD"),
889
                 "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD"),
550
--- ../pr/tests/prpoll.c	2009-05-06 01:40:39.000000000 -0400
890
                             t2));
551
+++ ../pr/tests/prpoll.c	2009-11-04 16:31:54.000000000 -0500
891
--- ../pr/tests/pipepong.c.orig	2015-10-16 13:22:19.000000000 +0000
552
@@ -72,5 +72,5 @@
892
+++ ../pr/tests/pipepong.c	2015-11-04 02:02:20.437688000 +0000
893
@@ -36,7 +36,7 @@ int main(int argc, char **argv)
894
         nBytes = fread(buf, 1, 5, stdin);
895
         fprintf(stderr, "pong process: received \"%s\"\n", buf);
896
         if (nBytes != 5) {
897
-            fprintf(stderr, "pong process: expected 5 bytes but got %d bytes\n",
898
+            fprintf(stderr, "pong process: expected 5 bytes but got %zd bytes\n",
899
                     nBytes);
900
             exit(1);
901
         }
902
--- ../pr/tests/poll_nm.c.orig	2015-10-16 13:22:19.000000000 +0000
903
+++ ../pr/tests/poll_nm.c	2015-11-04 02:02:20.438299000 +0000
904
@@ -47,7 +47,7 @@ PRIntn debug_mode;
905
 static void PR_CALLBACK
553
 clientThreadFunc(void *arg)
906
 clientThreadFunc(void *arg)
554
 {
907
 {
908
-    PRUintn port = (PRUintn) arg;
909
+    PRUintn port = (intptr_t) arg;
910
     PRFileDesc *sock;
911
     PRNetAddr addr;
912
     char buf[128];
913
@@ -196,7 +196,7 @@ int main(int argc, char **argv)
914
     npds = 5;
915
 
916
     clientThread = PR_CreateThread(PR_USER_THREAD,
917
-	    clientThreadFunc, (void *) listenPort1,
918
+	    clientThreadFunc, (void *)(intptr_t)listenPort1,
919
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
920
 	    PR_UNJOINABLE_THREAD, 0);
921
     if (clientThread == NULL) {
922
@@ -206,7 +206,7 @@ int main(int argc, char **argv)
923
     }
924
 
925
     clientThread = PR_CreateThread(PR_USER_THREAD,
926
-	    clientThreadFunc, (void *) listenPort2,
927
+	    clientThreadFunc, (void *)(intptr_t)listenPort2,
928
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
929
 	    PR_UNJOINABLE_THREAD, 0);
930
     if (clientThread == NULL) {
931
--- ../pr/tests/provider.c.orig	2015-10-16 13:22:19.000000000 +0000
932
+++ ../pr/tests/provider.c	2015-11-04 02:02:20.468667000 +0000
933
@@ -1049,7 +1049,7 @@ int main(int argc, char **argv)
934
 {
935
     PRUintn index;
936
     PRBool boolean;
937
-    CSClient_t *client;
938
+    CSClient_t *client = NULL;
939
     PRStatus rv, joinStatus;
940
     CSServer_t *server = NULL;
941
 	char *thread_type;
942
--- ../pr/tests/prpoll.c.orig	2015-10-16 13:22:19.000000000 +0000
943
+++ ../pr/tests/prpoll.c	2015-11-04 02:02:20.445656000 +0000
944
@@ -39,7 +39,7 @@ int main(int argc, char **argv)
945
 static void
946
 clientThreadFunc(void *arg)
947
 {
555
-    PRUint16 port = (PRUint16) arg;
948
-    PRUint16 port = (PRUint16) arg;
556
+    PRUint16 port = (PRUint16)(uintptr_t)arg;
949
+    PRUint16 port = (PRUint16)(uintptr_t)arg;
557
     PRFileDesc *sock;
950
     PRFileDesc *sock;
558
     PRNetAddr addr;
951
     PRNetAddr addr;
559
@@ -106,5 +106,5 @@
952
     char buf[BUF_SIZE];
953
@@ -73,7 +73,7 @@ int main(int argc, char **argv)
954
     PRInt32 rv;
560
     PROsfd sd;
955
     PROsfd sd;
561
     struct sockaddr_in saddr;
956
     struct sockaddr_in saddr;
562
-    PRIntn saddr_len;
957
-    PRIntn saddr_len;
Lines 563-569 Link Here
563
+    socklen_t saddr_len;
958
+    socklen_t saddr_len;
564
     PRUint16 listenPort3;
959
     PRUint16 listenPort3;
565
     PRFileDesc *socket_poll_fd;
960
     PRFileDesc *socket_poll_fd;
566
@@ -232,5 +232,5 @@
961
     PRIntn i, j;
962
@@ -199,7 +199,7 @@ int main(int argc, char **argv)
963
     npds--;
567
 
964
 
568
     clientThread = PR_CreateThread(PR_USER_THREAD,
965
     clientThread = PR_CreateThread(PR_USER_THREAD,
569
-	    clientThreadFunc, (void *) listenPort1,
966
-	    clientThreadFunc, (void *) listenPort1,
Lines 570-576 Link Here
570
+	    clientThreadFunc, (void *)(uintptr_t)listenPort1,
967
+	    clientThreadFunc, (void *)(uintptr_t)listenPort1,
571
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
968
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
572
 	    PR_UNJOINABLE_THREAD, 0);
969
 	    PR_UNJOINABLE_THREAD, 0);
573
@@ -241,5 +241,5 @@
970
     if (clientThread == NULL) {
971
@@ -208,7 +208,7 @@ int main(int argc, char **argv)
972
     }
574
 
973
 
575
     clientThread = PR_CreateThread(PR_USER_THREAD,
974
     clientThread = PR_CreateThread(PR_USER_THREAD,
576
-	    clientThreadFunc, (void *) listenPort2,
975
-	    clientThreadFunc, (void *) listenPort2,
Lines 577-583 Link Here
577
+	    clientThreadFunc, (void *)(uintptr_t)listenPort2,
976
+	    clientThreadFunc, (void *)(uintptr_t)listenPort2,
578
 	    PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD,
977
 	    PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD,
579
 	    PR_UNJOINABLE_THREAD, 0);
978
 	    PR_UNJOINABLE_THREAD, 0);
580
@@ -250,5 +250,5 @@
979
     if (clientThread == NULL) {
980
@@ -217,7 +217,7 @@ int main(int argc, char **argv)
981
     }
581
 
982
 
582
     clientThread = PR_CreateThread(PR_USER_THREAD,
983
     clientThread = PR_CreateThread(PR_USER_THREAD,
583
-	    clientThreadFunc, (void *) listenPort3,
984
-	    clientThreadFunc, (void *) listenPort3,
Lines 584-592 Link Here
584
+	    clientThreadFunc, (void *)(uintptr_t)listenPort3,
985
+	    clientThreadFunc, (void *)(uintptr_t)listenPort3,
585
 	    PR_PRIORITY_NORMAL, PR_GLOBAL_BOUND_THREAD,
986
 	    PR_PRIORITY_NORMAL, PR_GLOBAL_BOUND_THREAD,
586
 	    PR_UNJOINABLE_THREAD, 0);
987
 	    PR_UNJOINABLE_THREAD, 0);
587
--- ../pr/tests/ranfile.c	Sun Apr 25 11:01:02 2004
988
     if (clientThread == NULL) {
588
+++ ../pr/tests/ranfile.c	Mon Jul 25 21:13:44 2005
989
--- ../pr/tests/randseed.c.orig	2015-10-16 13:22:19.000000000 +0000
589
@@ -169,5 +169,5 @@
990
+++ ../pr/tests/randseed.c	2015-11-04 02:02:20.446756000 +0000
991
@@ -48,7 +48,6 @@ static void Help( void )
992
 static void PrintRand( void *buf, PRIntn size )
993
 {
994
     PRUint32 *rp = buf;
995
-    PRIntn   i;
996
 
997
     printf("%4.4d--\n", size );
998
     while (size > 0 ) {
999
--- ../pr/tests/ranfile.c.orig	2015-10-16 13:22:19.000000000 +0000
1000
+++ ../pr/tests/ranfile.c	2015-11-04 02:02:20.446281000 +0000
1001
@@ -130,7 +130,7 @@ static void PR_CALLBACK Thread(void *arg
1002
     PRStatus rv = PR_SUCCESS;
590
     Hammer_t *cd = (Hammer_t*)arg;
1003
     Hammer_t *cd = (Hammer_t*)arg;
591
 
1004
 
592
-    (void)sprintf(filename, "%ssg%04ld.dat", baseName, cd->id);
1005
-    (void)sprintf(filename, "%ssg%04ld.dat", baseName, cd->id);
Lines 593-599 Link Here
593
+    (void)sprintf(filename, "%ssg%04d.dat", baseName, (int)cd->id);
1006
+    (void)sprintf(filename, "%ssg%04d.dat", baseName, (int)cd->id);
594
 
1007
 
595
     if (debug_mode) printf("Starting work on %s\n", filename);
1008
     if (debug_mode) printf("Starting work on %s\n", filename);
596
@@ -408,6 +408,6 @@
1009
 
1010
@@ -364,14 +364,14 @@ int main(int argc, char **argv)
1011
                 }
597
                 else
1012
                 else
598
                     if (debug_mode) printf(
1013
                     if (debug_mode) printf(
599
-                        "%s: test failed %s after %ld seconds\n",
1014
-                        "%s: test failed %s after %ld seconds\n",
Lines 602-608 Link Here
602
+                        programName, where[hammer[poll].problem], (int)duration);
1017
+                        programName, where[hammer[poll].problem], (int)duration);
603
 					else failed_already=1;
1018
 					else failed_already=1;
604
             }
1019
             }
605
@@ -415,5 +415,5 @@
1020
         }
606
     }
1021
     }
607
     if (debug_mode) printf(
1022
     if (debug_mode) printf(
608
-        "%s: [%ld [%ld] %ld] writes/sec average\n",
1023
-        "%s: [%ld [%ld] %ld] writes/sec average\n",
Lines 609-625 Link Here
609
+        "%s: [%d [%d] %d] writes/sec average\n",
1024
+        "%s: [%d [%d] %d] writes/sec average\n",
610
         programName, writesMin, writesTot * 1000 / durationTot, writesMax);
1025
         programName, writesMin, writesTot * 1000 / durationTot, writesMax);
611
 
1026
 
612
--- ../pr/tests/randseed.c	Fri Apr 29 18:46:05 2005
1027
     PR_DestroyCondVar(cv);
613
+++ ../pr/tests/randseed.c	Mon Jul 25 21:15:01 2005
1028
--- ../pr/tests/runtests.sh.orig	2015-10-16 13:22:19.000000000 +0000
614
@@ -81,5 +81,4 @@
1029
+++ ../pr/tests/runtests.sh	2015-11-04 02:02:20.463710000 +0000
615
 {
1030
@@ -58,9 +58,6 @@ fi
616
     PRUint32 *rp = buf;
1031
 # Tests not run (but should)
617
-    PRIntn   i;
1032
 #
618
 
1033
 
619
     printf("%4.4d--\n", size );
1034
-#forktest (failed on IRIX)
620
--- ../pr/tests/sel_spd.c	2009-05-06 01:40:39.000000000 -0400
1035
-#nbconn - fails on some platforms 
621
+++ ../pr/tests/sel_spd.c	2009-11-04 16:34:14.000000000 -0500
1036
-#poll_er - fails on some platforms? limited use?
622
@@ -48,4 +48,7 @@
1037
 #prpoll -  the bad-FD test needs to be moved to a different test
1038
 #sleep	-  specific to OS/2
1039
 
1040
@@ -92,6 +89,7 @@ exit
1041
 fdcach
1042
 fileio
1043
 foreign
1044
+forktest
1045
 formattm
1046
 fsync
1047
 gethost
1048
@@ -99,7 +97,6 @@ getproto
1049
 i2l
1050
 initclk
1051
 inrval
1052
-instrumt
1053
 intrio
1054
 intrupt
1055
 io_timeout
1056
@@ -120,6 +117,7 @@ logger
1057
 many_cv
1058
 multiwait
1059
 nameshm1
1060
+nbconn
1061
 nblayer
1062
 nonblock
1063
 ntioto
1064
@@ -136,6 +134,7 @@ perf
1065
 pipeping
1066
 pipeping2
1067
 pipeself
1068
+poll_er
1069
 poll_nm
1070
 poll_to
1071
 pollable
1072
@@ -208,7 +207,7 @@ OBJDIR=`basename $PWD`
1073
 printf "\nNSPR Test Results - $OBJDIR\n\n"
1074
 printf "BEGIN\t\t\t`date`\n"
1075
 printf "NSPR_TEST_LOGFILE\t${LOGFILE}\n\n"
1076
-printf "Test\t\t\tResult\n\n"
1077
+printf "            Test\t\t\tResult\n\n"
1078
 if [ $OS_PLATFORM = "Windows_95" ] || [ $OS_PLATFORM = "Windows_98" ] || [ $OS_PLATFORM = "Windows_NT" ] || [ $OS_PLATFORM = "OS/2" ] ; then
1079
 	for prog in $TESTS
1080
 	do
1081
@@ -226,10 +225,8 @@ if [ $OS_PLATFORM = "Windows_95" ] || [ 
1082
 else
1083
 	for prog in $TESTS
1084
 	do
1085
-		printf "$prog"
1086
-		printf "\nBEGIN TEST: $prog\n\n" >> ${LOGFILE} 2>&1
1087
-		export test_rval
1088
-		./$prog >> ${LOGFILE} 2>&1 &
1089
+		printf %16s $prog
1090
+		./$prog >> $prog.output 2>&1 &
1091
 		test_pid=$!
1092
 		sleep_pid=0
1093
 		if test -n "$TEST_TIMEOUT" && test "$TEST_TIMEOUT" -gt 0
1094
@@ -244,28 +241,11 @@ else
1095
 			printf "\t\t\tPassed\n";
1096
 		else
1097
 			printf "\t\t\tFAILED\n";
1098
+			sed "s,^,	$prog:	," < $prog.output
1099
 			rval=1
1100
 		fi;
1101
-		printf "\nEND TEST: $prog\n\n" >> ${LOGFILE} 2>&1
1102
 	done
1103
 fi;
1104
 
1105
 printf "END\t\t\t`date`\n"
1106
 exit $rval
1107
-
1108
-
1109
-
1110
-
1111
-
1112
-
1113
-
1114
-
1115
-
1116
-
1117
-
1118
-
1119
-
1120
-
1121
-
1122
-
1123
-
1124
--- ../pr/tests/sel_spd.c.orig	2015-10-16 13:22:19.000000000 +0000
1125
+++ ../pr/tests/sel_spd.c	2015-11-04 02:02:20.447432000 +0000
1126
@@ -15,6 +15,9 @@
1127
 #include <stdio.h>
623
 #include <errno.h>
1128
 #include <errno.h>
624
 #include <string.h>
1129
 #include <string.h>
625
+#if defined(XP_UNIX) || defined(XP_OS2_EMX)
1130
+#if defined(XP_UNIX) || defined(XP_OS2_EMX)
Lines 627-633 Link Here
627
+#endif
1132
+#endif
628
 #ifdef SYMBIAN
1133
 #ifdef SYMBIAN
629
 #include <getopt.h>
1134
 #include <getopt.h>
630
@@ -55,14 +58,14 @@
1135
 #endif
1136
@@ -22,16 +25,16 @@
1137
 #define PORT_BASE 19000
631
 
1138
 
632
 typedef struct timer_slot_t {
1139
 typedef struct timer_slot_t {
633
-	unsigned long d_connect;
1140
-	unsigned long d_connect;
Lines 650-656 Link Here
650
+static int _client_data = 8192;
1157
+static int _client_data = 8192;
651
 
1158
 
652
 #ifdef SYMBIAN
1159
 #ifdef SYMBIAN
653
@@ -73,10 +76,9 @@
1160
 /*
1161
@@ -40,12 +43,11 @@ static long _client_data = 8192;
1162
  * memory and not be able to allocate thread stack or client/server data
654
  * buffer.
1163
  * buffer.
655
  */
1164
  */
656
-static long _server_data = (8*1024);
1165
-static long _server_data = (8*1024);
Lines 664-670 Link Here
664
+static int _threads_max = 10, _threads = 10;
1173
+static int _threads_max = 10, _threads = 10;
665
 
1174
 
666
 static int verbose=0;
1175
 static int verbose=0;
667
@@ -134,5 +136,5 @@
1176
 static PRMonitor *exit_cv;
1177
@@ -101,7 +103,7 @@ _server_thread(void *arg_id)
1178
 	void _client_thread(void *);
668
 	PRThread *thread;
1179
 	PRThread *thread;
669
 	int *id =  (int *)arg_id;
1180
 	int *id =  (int *)arg_id;
670
-	PRFileDesc *sock;
1181
-	PRFileDesc *sock;
Lines 671-677 Link Here
671
+	PRFileDesc *sock = NULL;
1182
+	PRFileDesc *sock = NULL;
672
 	PRSocketOptionData sockopt;
1183
 	PRSocketOptionData sockopt;
673
 	PRNetAddr sa;
1184
 	PRNetAddr sa;
674
@@ -502,10 +504,10 @@
1185
 	PRFileDesc * newsock;
1186
@@ -469,12 +471,12 @@ void
1187
 tally_results(int verbose)
675
 {
1188
 {
676
 	int index;
1189
 	int index;
677
-	unsigned long tot_connect = 0;
1190
-	unsigned long tot_connect = 0;
Lines 688-696 Link Here
688
+	unsigned int tot_requests = 0;
1201
+	unsigned int tot_requests = 0;
689
 
1202
 
690
 	fprintf(stdout, "Server results:\n\n");
1203
 	fprintf(stdout, "Server results:\n\n");
691
--- ../pr/tests/selct_nm.c	Sun Apr 25 11:01:02 2004
1204
 	for (index=0; index<_threads_max*2; index+=2) {
692
+++ ../pr/tests/selct_nm.c	Mon Jul 25 21:21:56 2005
1205
--- ../pr/tests/selct_nm.c.orig	2015-10-16 13:22:19.000000000 +0000
693
@@ -82,5 +82,5 @@
1206
+++ ../pr/tests/selct_nm.c	2015-11-04 02:02:20.447983000 +0000
1207
@@ -45,7 +45,7 @@ PRIntn debug_mode;
1208
 static void
694
 clientThreadFunc(void *arg)
1209
 clientThreadFunc(void *arg)
695
 {
1210
 {
696
-    PRUintn port = (PRUintn) arg;
1211
-    PRUintn port = (PRUintn) arg;
Lines 697-703 Link Here
697
+    PRUintn port = (PRUintn)(uintptr_t)arg;
1212
+    PRUintn port = (PRUintn)(uintptr_t)arg;
698
     PRFileDesc *sock;
1213
     PRFileDesc *sock;
699
     PRNetAddr addr;
1214
     PRNetAddr addr;
700
@@ -202,5 +202,5 @@
1215
     char buf[128];
1216
@@ -165,7 +165,7 @@ failed_already=1;
1217
     if (debug_mode) printf("%s", buf);
701
 
1218
 
702
     clientThread = PR_CreateThread(PR_USER_THREAD,
1219
     clientThread = PR_CreateThread(PR_USER_THREAD,
703
-	    clientThreadFunc, (void *) listenPort1,
1220
-	    clientThreadFunc, (void *) listenPort1,
Lines 704-710 Link Here
704
+	    clientThreadFunc, (void *)(uintptr_t)listenPort1,
1221
+	    clientThreadFunc, (void *)(uintptr_t)listenPort1,
705
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
1222
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
706
 	    PR_UNJOINABLE_THREAD, 0);
1223
 	    PR_UNJOINABLE_THREAD, 0);
707
@@ -212,5 +212,5 @@
1224
     if (clientThread == NULL) {
1225
@@ -175,7 +175,7 @@ failed_already=1;
1226
     }
708
 
1227
 
709
     clientThread = PR_CreateThread(PR_USER_THREAD,
1228
     clientThread = PR_CreateThread(PR_USER_THREAD,
710
-	    clientThreadFunc, (void *) listenPort2,
1229
-	    clientThreadFunc, (void *) listenPort2,
Lines 711-725 Link Here
711
+	    clientThreadFunc, (void *)(uintptr_t)listenPort2,
1230
+	    clientThreadFunc, (void *)(uintptr_t)listenPort2,
712
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
1231
 	    PR_PRIORITY_NORMAL, PR_LOCAL_THREAD,
713
 	    PR_UNJOINABLE_THREAD, 0);
1232
 	    PR_UNJOINABLE_THREAD, 0);
714
--- ../pr/tests/select2.c	Sun Apr 25 11:01:02 2004
1233
     if (clientThread == NULL) {
715
+++ ../pr/tests/select2.c	Mon Jul 25 21:27:44 2005
1234
--- ../pr/tests/select2.c.orig	2015-10-16 13:22:19.000000000 +0000
716
@@ -86,4 +86,5 @@
1235
+++ ../pr/tests/select2.c	2015-11-04 02:02:20.448561000 +0000
1236
@@ -53,6 +53,7 @@ PRInt32 count;
1237
 **      
717
 ***********************************************************************/
1238
 ***********************************************************************/
718
 
1239
 
719
+static int exitcode = 2;
1240
+static int exitcode = 2;
720
 
1241
 
721
 static void Test_Result (int result)
1242
 static void Test_Result (int result)
722
@@ -93,7 +94,10 @@
1243
 {
1244
@@ -60,9 +61,12 @@ static void Test_Result (int result)
1245
 	{
723
 		case PASS:
1246
 		case PASS:
724
 			printf ("PASS\n");
1247
 			printf ("PASS\n");
725
+			if (exitcode == 2)
1248
+			if (exitcode == 2)
Lines 730-743 Link Here
730
+			exitcode = 1;
1253
+			exitcode = 1;
731
 			break;
1254
 			break;
732
 		default:
1255
 		default:
733
@@ -352,3 +357,4 @@
1256
 			printf ("NOSTATUS\n");
1257
@@ -319,4 +323,5 @@ int main(int argc, char **argv)
1258
     PR_Cleanup();
734
 
1259
 
735
 
1260
 
736
+    return exitcode;
1261
+    return exitcode;
737
 }
1262
 }
738
--- ../pr/tests/semaerr.c	Sun Apr 25 11:01:02 2004
1263
--- ../pr/tests/semaerr.c.orig	2015-10-16 13:22:19.000000000 +0000
739
+++ ../pr/tests/semaerr.c	Mon Jul 25 21:29:23 2005
1264
+++ ../pr/tests/semaerr.c	2015-11-04 02:02:20.449040000 +0000
740
@@ -91,5 +91,5 @@
1265
@@ -65,7 +65,7 @@ int main(int argc, char **argv)
1266
         exit(1);
741
     }
1267
     }
742
     if (PR_GetError() != PR_FILE_NOT_FOUND_ERROR) {
1268
     if (PR_GetError() != PR_FILE_NOT_FOUND_ERROR) {
743
-        fprintf(stderr, "Expected error is %d but got (%d, %d)\n",
1269
-        fprintf(stderr, "Expected error is %d but got (%d, %d)\n",
Lines 744-761 Link Here
744
+        fprintf(stderr, "Expected error is %ld (PR_FILE_NOT_FOUND_ERROR) but got (%d, %d)\n",
1270
+        fprintf(stderr, "Expected error is %ld (PR_FILE_NOT_FOUND_ERROR) but got (%d, %d)\n",
745
                 PR_FILE_NOT_FOUND_ERROR, PR_GetError(), PR_GetOSError());
1271
                 PR_FILE_NOT_FOUND_ERROR, PR_GetError(), PR_GetOSError());
746
         exit(1);
1272
         exit(1);
747
--- ../pr/tests/semaerr1.c	Sun Apr 25 11:01:02 2004
748
+++ ../pr/tests/semaerr1.c	Mon Jul 25 21:30:25 2005
749
@@ -103,5 +103,5 @@
750
     }
1273
     }
1274
--- ../pr/tests/semaerr1.c.orig	2015-10-16 13:22:19.000000000 +0000
1275
+++ ../pr/tests/semaerr1.c	2015-11-04 02:02:20.449526000 +0000
1276
@@ -75,7 +75,7 @@ int main(int argc, char **argv)
1277
         exit(1);
1278
     }
751
     if (PR_GetError() != PR_FILE_EXISTS_ERROR) {
1279
     if (PR_GetError() != PR_FILE_EXISTS_ERROR) {
752
-        fprintf(stderr, "Expect %d but got %d\n", PR_FILE_EXISTS_ERROR,
1280
-        fprintf(stderr, "Expect %d but got %d\n", PR_FILE_EXISTS_ERROR,
753
+        fprintf(stderr, "Expected %ld (PR_FILE_EXISTS_ERROR) but got %d\n", PR_FILE_EXISTS_ERROR,
1281
+        fprintf(stderr, "Expected %ld (PR_FILE_EXISTS_ERROR) but got %d\n", PR_FILE_EXISTS_ERROR,
754
                 PR_GetError());
1282
                 PR_GetError());
755
         exit(1);
1283
         exit(1);
756
--- ../pr/tests/sendzlf.c	Sun Apr 25 11:01:02 2004
1284
     }
757
+++ ../pr/tests/sendzlf.c	Mon Jul 25 21:31:35 2005
1285
--- ../pr/tests/sendzlf.c.orig	2015-10-16 13:22:19.000000000 +0000
758
@@ -59,5 +59,5 @@
1286
+++ ../pr/tests/sendzlf.c	2015-11-04 02:02:20.450064000 +0000
1287
@@ -26,7 +26,7 @@ static void ClientThread(void *arg)
1288
 {
759
     PRFileDesc *sock;
1289
     PRFileDesc *sock;
760
     PRNetAddr addr;
1290
     PRNetAddr addr;
761
-    PRUint16 port = (PRUint16) arg;
1291
-    PRUint16 port = (PRUint16) arg;
Lines 762-768 Link Here
762
+    PRUint16 port = (PRUint16)(uintptr_t)arg;
1292
+    PRUint16 port = (PRUint16)(uintptr_t)arg;
763
     char buf[1024];
1293
     char buf[1024];
764
     char *bufPtr;
1294
     char *bufPtr;
765
@@ -217,5 +217,5 @@
1295
     PRInt32 nbytes;
1296
@@ -184,7 +184,7 @@ int main(int argc, char **argv)
1297
     }
766
 
1298
 
767
     clientThread = PR_CreateThread(PR_USER_THREAD,
1299
     clientThread = PR_CreateThread(PR_USER_THREAD,
768
-            ClientThread, (void *) PR_ntohs(PR_NetAddrInetPort(&addr)),
1300
-            ClientThread, (void *) PR_ntohs(PR_NetAddrInetPort(&addr)),
Lines 769-777 Link Here
769
+            ClientThread, (void *)(uintptr_t)PR_ntohs(PR_NetAddrInetPort(&addr)),
1301
+            ClientThread, (void *)(uintptr_t)PR_ntohs(PR_NetAddrInetPort(&addr)),
770
             PR_PRIORITY_NORMAL, scope, PR_JOINABLE_THREAD, 0);
1302
             PR_PRIORITY_NORMAL, scope, PR_JOINABLE_THREAD, 0);
771
     if (NULL == clientThread) {
1303
     if (NULL == clientThread) {
772
--- ../pr/tests/servr_kk.c	Sun Apr 25 11:01:02 2004
1304
         fprintf(stderr, "PR_CreateThread failed\n");
773
+++ ../pr/tests/servr_kk.c	Mon Jul 25 21:38:28 2005
1305
--- ../pr/tests/server_test.c.orig	2015-10-16 13:22:19.000000000 +0000
774
@@ -90,5 +90,5 @@
1306
+++ ../pr/tests/server_test.c	2015-11-04 02:02:20.464401000 +0000
1307
@@ -60,7 +60,7 @@ PRCondVar *ServerStateCV;
1308
 #ifdef DEBUGPRINTS
775
 #define DPRINTF printf
1309
 #define DPRINTF printf
776
 #else
1310
 #else
777
-#define DPRINTF
1311
-#define DPRINTF
Lines 778-798 Link Here
778
+#define DPRINTF(...)
1312
+#define DPRINTF(...)
779
 #endif
1313
 #endif
780
 
1314
 
781
@@ -501,4 +501,5 @@
1315
 
1316
@@ -502,6 +502,7 @@ static void do_workUU(void)
1317
     do_work();
782
 }
1318
 }
783
 
1319
 
784
+#if 0
1320
+#if 0
1321
 static void do_workUK(void)
1322
 {
1323
     ServerScope = PR_LOCAL_THREAD;
1324
@@ -522,6 +523,7 @@ static void do_workKK(void)
1325
     ClientScope = PR_GLOBAL_THREAD;
1326
     do_work();
1327
 }
1328
+#endif
1329
 
1330
 
1331
 static void Measure(void (*func)(void), const char *msg)
1332
--- ../pr/tests/servr_kk.c.orig	2015-10-16 13:22:19.000000000 +0000
1333
+++ ../pr/tests/servr_kk.c	2015-11-04 02:02:20.450733000 +0000
1334
@@ -57,7 +57,7 @@ PRCondVar *ServerStateCV;
1335
 #ifdef DEBUGPRINTS
1336
 #define DPRINTF printf
1337
 #else
1338
-#define DPRINTF
1339
+#define DPRINTF(...)
1340
 #endif
1341
 
1342
 PRIntn failed_already=0;
1343
@@ -472,6 +472,7 @@ void do_work()
1344
     PR_JoinThread(ServerThread);
1345
 }
1346
 
1347
+#if 0
785
 static void do_workUU(void)
1348
 static void do_workUU(void)
786
 {
1349
 {
787
@@ -521,4 +522,5 @@
1350
     ServerScope = PR_LOCAL_THREAD;
1351
@@ -492,6 +493,7 @@ static void do_workKU(void)
1352
     ClientScope = PR_LOCAL_THREAD;
788
     do_work();
1353
     do_work();
789
 }
1354
 }
790
+#endif
1355
+#endif
791
 
1356
 
792
 static void do_workKK(void)
1357
 static void do_workKK(void)
793
--- ../pr/tests/short_thread.c	Sun Apr 25 11:01:02 2004
1358
 {
794
+++ ../pr/tests/short_thread.c	Mon Jul 25 21:44:20 2005
1359
--- ../pr/tests/servr_ku.c.orig	2015-10-16 13:22:19.000000000 +0000
795
@@ -76,6 +76,6 @@
1360
+++ ../pr/tests/servr_ku.c	2015-11-04 02:02:20.465050000 +0000
1361
@@ -57,7 +57,7 @@ PRCondVar *ServerStateCV;
1362
 #ifdef DEBUGPRINTS
1363
 #define DPRINTF printf
1364
 #else
1365
-#define DPRINTF
1366
+#define DPRINTF(...)
1367
 #endif
1368
 
1369
 PRIntn failed_already=0;
1370
--- ../pr/tests/servr_uk.c.orig	2015-10-16 13:22:19.000000000 +0000
1371
+++ ../pr/tests/servr_uk.c	2015-11-04 02:02:20.465699000 +0000
1372
@@ -57,7 +57,7 @@ PRCondVar *ServerStateCV;
1373
 #ifdef DEBUGPRINTS
1374
 #define DPRINTF printf
1375
 #else
1376
-#define DPRINTF
1377
+#define DPRINTF(...)
1378
 #endif
1379
 
1380
 PRIntn failed_already=0;
1381
--- ../pr/tests/servr_uu.c.orig	2015-10-16 13:22:19.000000000 +0000
1382
+++ ../pr/tests/servr_uu.c	2015-11-04 02:02:20.466349000 +0000
1383
@@ -57,7 +57,7 @@ PRCondVar *ServerStateCV;
1384
 #ifdef DEBUGPRINTS
1385
 #define DPRINTF printf
1386
 #else
1387
-#define DPRINTF
1388
+#define DPRINTF(...)
1389
 #endif
1390
 
1391
 PRIntn failed_already=0;
1392
--- ../pr/tests/short_thread.c.orig	2015-10-16 13:22:19.000000000 +0000
1393
+++ ../pr/tests/short_thread.c	2015-11-04 02:02:20.451202000 +0000
1394
@@ -43,8 +43,8 @@ int main (int argc, char **argv)
1395
 						 PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_UNJOINABLE_THREAD, 0)) 
796
 																		== NULL ) {
1396
 																		== NULL ) {
797
 		fprintf(stderr,
1397
 		fprintf(stderr,
798
-			"simple_test: Error - PR_CreateThread failed: (%ld, %ld)\n",
1398
-			"simple_test: Error - PR_CreateThread failed: (%ld, %ld)\n",
Lines 801-992 Link Here
801
+						  PR_GetError(), PR_GetOSError());
1401
+						  PR_GetError(), PR_GetOSError());
802
 		exit( 1 );
1402
 		exit( 1 );
803
 	}
1403
 	}
804
--- ../pr/tests/cvar2.c	Sun Apr 25 11:01:02 2004
1404
 	PR_Cleanup();
805
+++ ../pr/tests/cvar2.c	Mon Jul 25 20:37:10 2005
1405
--- ../pr/tests/socket.c.orig	2015-10-16 13:22:19.000000000 +0000
806
@@ -128,5 +128,5 @@
1406
+++ ../pr/tests/socket.c	2015-11-04 02:02:20.454777000 +0000
807
         PR_Lock(info->lock);
1407
@@ -103,13 +103,15 @@ char *LARGE_FILE_NAME = "/tmp/prsocket_t
808
         if (*info->tcount == 0) {
1408
 #endif
809
-	    DPRINTF(("PrivateCondVarThread: thread 0x%lx waiting on cvar = 0x%lx\n",
810
+	    DPRINTF(("PrivateCondVarThread: thread %p waiting on cvar = %p\n",
811
 				PR_GetCurrentThread(), info->cvar));
812
             PR_WaitCondVar(info->cvar, info->timeout);
813
@@ -141,6 +141,6 @@
814
         (*info->exitcount)++;
815
         PR_NotifyCondVar(info->exitcvar);
816
-DPRINTF(("PrivateCondVarThread: thread 0x%lx notified exitcvar = 0x%lx cnt = %ld\n",
817
-			PR_GetCurrentThread(), info->exitcvar,(*info->exitcount)));
818
+DPRINTF(("PrivateCondVarThread: thread %p notified exitcvar = %p cnt = %d\n",
819
+			PR_GetCurrentThread(), info->exitcvar,(int)(*info->exitcount)));
820
         PR_Unlock(info->exitlock);
821
     }
822
@@ -190,5 +190,5 @@
823
 CondVarTestSUU(void *_arg)
824
 {
825
-    PRInt32 arg = (PRInt32)_arg;
826
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
827
     PRInt32 index, loops;
828
     threadinfo *list;
829
@@ -222,5 +222,5 @@
830
                          PR_LOCAL_THREAD);
831
         index++;
832
-	DPRINTF(("CondVarTestSUU: created thread 0x%lx\n",list[index].thread));
833
+	DPRINTF(("CondVarTestSUU: created thread %p\n",list[index].thread));
834
     }
835
 
1409
 
836
@@ -232,5 +232,5 @@
837
             PR_NotifyCondVar(list[index].cvar);
838
             PR_Unlock(list[index].lock);
839
-	    DPRINTF(("PrivateCondVarThread: thread 0x%lx notified cvar = 0x%lx\n",
840
+	    DPRINTF(("PrivateCondVarThread: thread %p notified cvar = %p\n",
841
 				PR_GetCurrentThread(), list[index].cvar));
842
         }
843
@@ -260,5 +260,5 @@
844
 CondVarTestSUK(void *_arg)
845
 {
846
-    PRInt32 arg = (PRInt32)_arg;
847
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
848
     PRInt32 index, loops;
849
     threadinfo *list;
850
@@ -334,5 +334,5 @@
851
 CondVarTestPUU(void *_arg)
852
 {
853
-    PRInt32 arg = (PRInt32)_arg;
854
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
855
     PRInt32 index, loops;
856
     threadinfo *list;
857
@@ -369,5 +369,5 @@
858
                          PR_LOCAL_THREAD);
859
 
860
-	DPRINTF(("CondVarTestPUU: created thread 0x%lx\n",list[index].thread));
861
+	DPRINTF(("CondVarTestPUU: created thread %p\n",list[index].thread));
862
         index++;
863
 	tcount++;
864
@@ -387,6 +387,6 @@
865
         /* Wait for threads to finish */
866
         while(exitcount < arg) {
867
-DPRINTF(("CondVarTestPUU: thread 0x%lx waiting on exitcvar = 0x%lx cnt = %ld\n",
868
-				PR_GetCurrentThread(), exitcvar, exitcount));
869
+DPRINTF(("CondVarTestPUU: thread %p waiting on exitcvar = %p cnt = %d\n",
870
+				PR_GetCurrentThread(), exitcvar, (int)exitcount));
871
             	PR_WaitCondVar(exitcvar, PR_SecondsToInterval(60));
872
 	}
873
@@ -398,5 +398,5 @@
874
     /* Join all the threads */
875
     for(index=0; index<(arg); index++)  {
876
-	DPRINTF(("CondVarTestPUU: joining thread 0x%lx\n",list[index].thread));
877
+	DPRINTF(("CondVarTestPUU: joining thread %p\n",list[index].thread));
878
         PR_JoinThread(list[index].thread);
879
         if (list[index].internal) {
880
@@ -420,5 +420,5 @@
881
 CondVarTestPUK(void *_arg)
882
 {
883
-    PRInt32 arg = (PRInt32)_arg;
884
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
885
     PRInt32 index, loops;
886
     threadinfo *list;
887
@@ -501,5 +501,5 @@
888
 CondVarTest(void *_arg)
889
 {
890
-    PRInt32 arg = (PRInt32)_arg;
891
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
892
     PRInt32 index, loops;
893
     threadinfo *list;
894
@@ -634,5 +634,5 @@
895
 CondVarTimeoutTest(void *_arg)
896
 {
897
-    PRInt32 arg = (PRInt32)_arg;
898
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
899
     PRInt32 index, loops;
900
     threadinfo *list;
901
@@ -745,5 +745,5 @@
902
 CondVarMixedTest(void *_arg)
903
 {
904
-    PRInt32 arg = (PRInt32)_arg;
905
+    PRInt32 arg = (PRInt32)(intptr_t)_arg;
906
     PRInt32 index, loops;
907
     threadinfo *list;
908
@@ -835,5 +835,5 @@
909
 
910
             PR_Lock(list[index].lock);
911
-            *list[index].tcount++;
912
+            list[index].tcount++;
913
             PR_NotifyCondVar(list[index].cvar);
914
             PR_Unlock(list[index].lock);
915
@@ -906,5 +906,5 @@
916
 
917
     start = PR_IntervalNow();
918
-    (*func)((void *)arg);
919
+    (*func)((void *)(intptr_t)arg);
920
     stop = PR_IntervalNow();
921
 
922
@@ -965,5 +965,5 @@
923
 
924
     for (threads = default_threads; threads < default_threads*5; threads+=default_threads) {
925
-        printf("\n%ld Thread tests\n", threads);
926
+        printf("\n%d Thread tests\n", (int)threads);
927
         Measure(CondVarTestSUU, threads, "Condvar simple test shared UU");
928
         Measure(CondVarTestSUK, threads, "Condvar simple test shared UK");
929
--- ../pr/tests/io_timeout.c	Sun Apr 25 11:01:02 2004
930
+++ ../pr/tests/io_timeout.c	Mon Jul 25 20:50:40 2005
931
@@ -55,9 +55,11 @@
932
 #include "plgetopt.h"
933
 
934
+#include <errno.h>
935
 #include <stdio.h>
936
+#include <string.h>
937
 #include "nspr.h"
938
 
939
 #define NUM_THREADS 1
940
-#define BASE_PORT   8000
941
+#define BASE_PORT   38011
942
 #define DEFAULT_ACCEPT_TIMEOUT 2
943
 
944
@@ -71,5 +73,5 @@
945
 
946
 PRIntn failed_already = 0;
947
-PRIntn debug_mode = 0;
948
+PRIntn debug_mode = 1;
949
 
950
 #define	LOCAL_SCOPE_STRING			"LOCAL scope"
951
@@ -87,5 +89,5 @@
952
     PRStatus rv;
953
 	PRThreadScope tscope;
954
-	char *scope_str;
955
+	const char *scope_str;
956
 
957
  
958
@@ -106,4 +108,5 @@
959
 		default:
960
 			PR_ASSERT(!"Invalid thread scope");
961
+			scope_str = NULL;
962
 			break;
963
 	}
964
@@ -124,5 +127,10 @@
965
     if (rv == PR_FAILURE) {
966
 		if (debug_mode)
967
-        	printf("unable to bind\n");
968
+			printf("unable to bind to %d: %s\n",
969
+			    BASE_PORT + info->id, strerror(PR_GetOSError()));
970
+		if (PR_GetOSError() == EADDRINUSE) {
971
+			printf("can not proceed with this test\n");
972
+			exit(0);
973
+		}
974
 		failed_already=1;
975
         goto dead;
976
@@ -146,6 +154,7 @@
977
         if (PR_GetError() == PR_IO_TIMEOUT_ERROR) {
978
 			if (debug_mode) {	
979
-            	printf("PR_Accept() timeout worked!\n"); 
980
-				printf("TEST PASSED! PR_Accept() returned error %d\n",
981
+				printf("PR_Accept() timeout worked!\n"
982
+				    "TEST PASSED! PR_Accept() returned error "
983
+				    "PR_IO_TIMEOUT_ERROR (%ld)\n",
984
 							PR_IO_TIMEOUT_ERROR);
985
 			}
986
--- ../pr/tests/socket.c	2009-05-06 01:40:39.000000000 -0400
987
+++ ../pr/tests/socket.c	2009-11-04 16:45:41.000000000 -0500
988
@@ -132,11 +132,13 @@
989
 
990
 static PRInt32 num_tcp_clients = NUM_TCP_CLIENTS;
1410
 static PRInt32 num_tcp_clients = NUM_TCP_CLIENTS;
991
-static PRInt32 num_udp_clients = NUM_UDP_CLIENTS;
1411
-static PRInt32 num_udp_clients = NUM_UDP_CLIENTS;
992
 static PRInt32 num_transmitfile_clients = NUM_TRANSMITFILE_CLIENTS;
1412
 static PRInt32 num_transmitfile_clients = NUM_TRANSMITFILE_CLIENTS;
Lines 1000-1006 Link Here
1000
+#endif
1420
+#endif
1001
 
1421
 
1002
 static PRInt32 thread_count;
1422
 static PRInt32 thread_count;
1003
@@ -210,5 +212,7 @@
1423
 PRUint16 server_domain = PR_AF_INET, client_domain = PR_AF_INET;
1424
@@ -181,19 +183,23 @@ readn(PRFileDesc *sockfd, char *buf, int
1425
     int rem;
1004
     int bytes;
1426
     int bytes;
1005
     int offset = 0;
1427
     int offset = 0;
1006
+#ifdef WINNT
1428
+#ifdef WINNT
Lines 1008-1014 Link Here
1008
+#endif
1430
+#endif
1009
 	PRIntervalTime timeout = PR_INTERVAL_NO_TIMEOUT;
1431
 	PRIntervalTime timeout = PR_INTERVAL_NO_TIMEOUT;
1010
 
1432
 
1011
@@ -217,10 +221,12 @@
1433
 	if (test_cancelio)
1434
 		timeout = PR_SecondsToInterval(2);
1012
 
1435
 
1013
     for (rem=len; rem; offset += bytes, rem -= bytes) {
1436
     for (rem=len; rem; offset += bytes, rem -= bytes) {
1014
-        DPRINTF(("thread = 0x%lx: calling PR_Recv, bytes = %d\n",
1437
-        DPRINTF(("thread = 0x%lx: calling PR_Recv, bytes = %d\n",
Lines 1023-1029 Link Here
1023
+        DPRINTF(("thread = %p: returning from PR_Recv, bytes = %d\n",
1446
+        DPRINTF(("thread = %p: returning from PR_Recv, bytes = %d\n",
1024
             PR_GetCurrentThread(), bytes));
1447
             PR_GetCurrentThread(), bytes));
1025
         if (bytes < 0) {
1448
         if (bytes < 0) {
1026
@@ -253,9 +259,9 @@
1449
 #ifdef WINNT
1450
@@ -224,11 +230,11 @@ writen(PRFileDesc *sockfd, char *buf, in
1451
     int offset = 0;
1027
 
1452
 
1028
     for (rem=len; rem; offset += bytes, rem -= bytes) {
1453
     for (rem=len; rem; offset += bytes, rem -= bytes) {
1029
-        DPRINTF(("thread = 0x%lx: calling PR_Send, bytes = %d\n",
1454
-        DPRINTF(("thread = 0x%lx: calling PR_Send, bytes = %d\n",
Lines 1035-1041 Link Here
1035
+        DPRINTF(("thread = %p: returning from PR_Send, bytes = %d\n",
1460
+        DPRINTF(("thread = %p: returning from PR_Send, bytes = %d\n",
1036
             PR_GetCurrentThread(), bytes));
1461
             PR_GetCurrentThread(), bytes));
1037
         if (bytes <= 0)
1462
         if (bytes <= 0)
1038
@@ -308,5 +314,5 @@
1463
             return -1;
1464
@@ -279,7 +285,7 @@ Serve_Client(void *arg)
1465
                 fprintf(stderr,"prsocket_test: ERROR - PR_Shutdown\n");
1039
             }
1466
             }
1040
 #endif
1467
 #endif
1041
-        DPRINTF(("Serve_Client [0x%lx]: inbuf[0] = 0x%lx\n",PR_GetCurrentThread(),
1468
-        DPRINTF(("Serve_Client [0x%lx]: inbuf[0] = 0x%lx\n",PR_GetCurrentThread(),
Lines 1042-1048 Link Here
1042
+        DPRINTF(("Serve_Client [%p]: inbuf[0] = %d\n",PR_GetCurrentThread(),
1469
+        DPRINTF(("Serve_Client [%p]: inbuf[0] = %d\n",PR_GetCurrentThread(),
1043
             (*((int *) in_buf->data))));
1470
             (*((int *) in_buf->data))));
1044
         if (writen(sockfd, in_buf->data, bytes) < bytes) {
1471
         if (writen(sockfd, in_buf->data, bytes) < bytes) {
1045
@@ -447,5 +453,5 @@
1472
             fprintf(stderr,"prsocket_test: ERROR - Serve_Client:writen\n");
1473
@@ -418,7 +424,7 @@ TCP_Server(void *arg)
1474
         goto exit;
1046
     }
1475
     }
1047
 
1476
 
1048
-    DPRINTF(("TCP_Server: PR_BIND netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
1477
-    DPRINTF(("TCP_Server: PR_BIND netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
Lines 1049-1055 Link Here
1049
+    DPRINTF(("TCP_Server: PR_BIND netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
1478
+    DPRINTF(("TCP_Server: PR_BIND netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
1050
         netaddr.inet.ip, netaddr.inet.port));
1479
         netaddr.inet.ip, netaddr.inet.port));
1051
 	if (PR_SetNetAddr(PR_IpAddrLoopback, client_domain,
1480
 	if (PR_SetNetAddr(PR_IpAddrLoopback, client_domain,
1052
@@ -489,5 +495,5 @@
1481
 									PR_ntohs(PR_NetAddrInetPort(&netaddr)),
1482
@@ -460,7 +466,7 @@ TCP_Server(void *arg)
1483
         scp->datalen = sp->datalen;
1053
 
1484
 
1054
         t = create_new_thread(PR_USER_THREAD,
1485
         t = create_new_thread(PR_USER_THREAD,
1055
-            Serve_Client, (void *)scp, 
1486
-            Serve_Client, (void *)scp, 
Lines 1056-1062 Link Here
1056
+            Serve_Client, (void *)scp,
1487
+            Serve_Client, (void *)scp,
1057
             PR_PRIORITY_NORMAL,
1488
             PR_PRIORITY_NORMAL,
1058
             PR_LOCAL_THREAD,
1489
             PR_LOCAL_THREAD,
1059
@@ -499,5 +505,5 @@
1490
             PR_UNJOINABLE_THREAD,
1491
@@ -470,7 +476,7 @@ TCP_Server(void *arg)
1492
             failed_already=1;
1060
             goto exit;
1493
             goto exit;
1061
         }
1494
         }
1062
-        DPRINTF(("TCP_Server: Created Serve_Client = 0x%lx\n", t));
1495
-        DPRINTF(("TCP_Server: Created Serve_Client = 0x%lx\n", t));
Lines 1063-1069 Link Here
1063
+        DPRINTF(("TCP_Server: Created Serve_Client = %p\n", t));
1496
+        DPRINTF(("TCP_Server: Created Serve_Client = %p\n", t));
1064
     }
1497
     }
1065
 
1498
 
1066
@@ -515,7 +521,8 @@
1499
 exit:
1500
@@ -486,9 +492,10 @@ exit:
1501
     --(*sp->exit_counter);
1067
     PR_Notify(sp->exit_mon);
1502
     PR_Notify(sp->exit_mon);
1068
     PR_ExitMonitor(sp->exit_mon);
1503
     PR_ExitMonitor(sp->exit_mon);
1069
-    DPRINTF(("TCP_Server [0x%lx] exiting\n", PR_GetCurrentThread()));
1504
-    DPRINTF(("TCP_Server [0x%lx] exiting\n", PR_GetCurrentThread()));
Lines 1073-1079 Link Here
1073
+#if defined(SYMBIAN) && !defined(__WINSCW__)
1508
+#if defined(SYMBIAN) && !defined(__WINSCW__)
1074
 /*
1509
 /*
1075
  * UDP Server
1510
  * UDP Server
1076
@@ -573,5 +580,5 @@
1511
  *    Server Thread
1512
@@ -544,7 +551,7 @@ UDP_Server(void *arg)
1513
         return;
1077
     }
1514
     }
1078
 
1515
 
1079
-    DPRINTF(("PR_Bind: UDP Server netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
1516
-    DPRINTF(("PR_Bind: UDP Server netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
Lines 1080-1086 Link Here
1080
+    DPRINTF(("PR_Bind: UDP Server netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
1517
+    DPRINTF(("PR_Bind: UDP Server netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
1081
         netaddr.inet.ip, netaddr.inet.port));
1518
         netaddr.inet.ip, netaddr.inet.port));
1082
     /*
1519
     /*
1083
@@ -611,5 +618,5 @@
1520
      * We can't use the IP address returned by PR_GetSockName in
1521
@@ -582,13 +589,13 @@ UDP_Server(void *arg)
1522
      */
1084
     memset(&netaddr, 0 , sizeof(netaddr));
1523
     memset(&netaddr, 0 , sizeof(netaddr));
1085
     for (i = 0; i < (num_udp_clients * num_udp_datagrams_per_client); i++) {
1524
     for (i = 0; i < (num_udp_clients * num_udp_datagrams_per_client); i++) {
1086
-        DPRINTF(("UDP_Server: calling PR_RecvFrom client  - ip = 0x%lx, port = %d bytes = %d inbuf = 0x%lx, inbuf[0] = 0x%lx\n",
1525
-        DPRINTF(("UDP_Server: calling PR_RecvFrom client  - ip = 0x%lx, port = %d bytes = %d inbuf = 0x%lx, inbuf[0] = 0x%lx\n",
Lines 1087-1093 Link Here
1087
+        DPRINTF(("UDP_Server: calling PR_RecvFrom client  - ip = 0x%x, port = %d bytes = %d inbuf = %p, inbuf[0] = 0x%x\n",
1526
+        DPRINTF(("UDP_Server: calling PR_RecvFrom client  - ip = 0x%x, port = %d bytes = %d inbuf = %p, inbuf[0] = 0x%x\n",
1088
             netaddr.inet.ip, netaddr.inet.port, bytes, in_buf->data,
1527
             netaddr.inet.ip, netaddr.inet.port, bytes, in_buf->data,
1089
             in_buf->data[0]));
1528
             in_buf->data[0]));
1090
@@ -617,5 +624,5 @@
1529
 
1091
         rv = PR_RecvFrom(sockfd, in_buf->data, bytes, 0, &netaddr,
1530
         rv = PR_RecvFrom(sockfd, in_buf->data, bytes, 0, &netaddr,
1092
             PR_INTERVAL_NO_TIMEOUT);
1531
             PR_INTERVAL_NO_TIMEOUT);
1093
-        DPRINTF(("UDP_Server: PR_RecvFrom client  - ip = 0x%lx, port = %d bytes = %d inbuf = 0x%lx, inbuf[0] = 0x%lx\n",
1532
-        DPRINTF(("UDP_Server: PR_RecvFrom client  - ip = 0x%lx, port = %d bytes = %d inbuf = 0x%lx, inbuf[0] = 0x%lx\n",
Lines 1094-1100 Link Here
1094
+        DPRINTF(("UDP_Server: PR_RecvFrom client  - ip = 0x%x, port = %d bytes = %d inbuf = %p, inbuf[0] = 0x%x\n",
1533
+        DPRINTF(("UDP_Server: PR_RecvFrom client  - ip = 0x%x, port = %d bytes = %d inbuf = %p, inbuf[0] = 0x%x\n",
1095
             netaddr.inet.ip, netaddr.inet.port, rv, in_buf->data,
1534
             netaddr.inet.ip, netaddr.inet.port, rv, in_buf->data,
1096
             in_buf->data[0]));
1535
             in_buf->data[0]));
1097
@@ -640,6 +647,7 @@
1536
         if (rv != bytes) {
1537
@@ -611,8 +618,9 @@ UDP_Server(void *arg)
1538
     --(*sp->exit_counter);
1098
     PR_Notify(sp->exit_mon);
1539
     PR_Notify(sp->exit_mon);
1099
     PR_ExitMonitor(sp->exit_mon);
1540
     PR_ExitMonitor(sp->exit_mon);
1100
-    DPRINTF(("UDP_Server [0x%x] exiting\n", PR_GetCurrentThread()));
1541
-    DPRINTF(("UDP_Server [0x%x] exiting\n", PR_GetCurrentThread()));
Lines 1103-1109 Link Here
1103
+#endif /* defined(SYMBIAN) && !defined(__WINSCW__) */
1544
+#endif /* defined(SYMBIAN) && !defined(__WINSCW__) */
1104
 
1545
 
1105
 /*
1546
 /*
1106
@@ -684,5 +692,5 @@
1547
  * TCP_Client
1548
@@ -655,7 +663,7 @@ TCP_Client(void *arg)
1549
         }
1107
         if (PR_Connect(sockfd, &netaddr,PR_INTERVAL_NO_TIMEOUT) < 0){
1550
         if (PR_Connect(sockfd, &netaddr,PR_INTERVAL_NO_TIMEOUT) < 0){
1108
         	fprintf(stderr, "PR_Connect failed: (%ld, %ld)\n",
1551
         	fprintf(stderr, "PR_Connect failed: (%ld, %ld)\n",
1109
-            		PR_GetError(), PR_GetOSError());
1552
-            		PR_GetError(), PR_GetOSError());
Lines 1110-1116 Link Here
1110
+            		(long)PR_GetError(), (long)PR_GetOSError());
1553
+            		(long)PR_GetError(), (long)PR_GetOSError());
1111
             failed_already=1;
1554
             failed_already=1;
1112
             return;
1555
             return;
1113
@@ -692,5 +700,5 @@
1556
         }
1557
@@ -663,7 +671,7 @@ TCP_Client(void *arg)
1558
             /*
1114
              * fill in random data
1559
              * fill in random data
1115
              */
1560
              */
1116
-            memset(out_buf->data, ((PRInt32) (&netaddr)) + i + j, bytes);
1561
-            memset(out_buf->data, ((PRInt32) (&netaddr)) + i + j, bytes);
Lines 1117-1123 Link Here
1117
+            memset(out_buf->data, ((intptr_t)(&netaddr)) + i + j, bytes);
1562
+            memset(out_buf->data, ((intptr_t)(&netaddr)) + i + j, bytes);
1118
             /*
1563
             /*
1119
              * write to server
1564
              * write to server
1120
@@ -705,5 +713,5 @@
1565
              */
1566
@@ -676,7 +684,7 @@ TCP_Client(void *arg)
1567
                 failed_already=1;
1121
                 return;
1568
                 return;
1122
             }
1569
             }
1123
-            DPRINTF(("TCP Client [0x%lx]: out_buf = 0x%lx out_buf[0] = 0x%lx\n",
1570
-            DPRINTF(("TCP Client [0x%lx]: out_buf = 0x%lx out_buf[0] = 0x%lx\n",
Lines 1124-1130 Link Here
1124
+            DPRINTF(("TCP Client [%p]: out_buf = %p out_buf[0] = 0x%x\n",
1571
+            DPRINTF(("TCP Client [%p]: out_buf = %p out_buf[0] = 0x%x\n",
1125
                 PR_GetCurrentThread(), out_buf, (*((int *) out_buf->data))));
1572
                 PR_GetCurrentThread(), out_buf, (*((int *) out_buf->data))));
1126
             if (readn(sockfd, in_buf->data, bytes) < bytes) {
1573
             if (readn(sockfd, in_buf->data, bytes) < bytes) {
1127
@@ -745,11 +753,12 @@
1574
                 fprintf(stderr,"prsocket_test: ERROR - TCP_Client:readn\n");
1575
@@ -716,13 +724,14 @@ TCP_Client(void *arg)
1576
     --(*cp->exit_counter);
1128
     PR_Notify(cp->exit_mon);
1577
     PR_Notify(cp->exit_mon);
1129
     PR_ExitMonitor(cp->exit_mon);
1578
     PR_ExitMonitor(cp->exit_mon);
1130
-    DPRINTF(("TCP_Client [0x%x] exiting\n", PR_GetCurrentThread()));
1579
-    DPRINTF(("TCP_Client [0x%x] exiting\n", PR_GetCurrentThread()));
Lines 1139-1145 Link Here
1139
+ *    Create a socket and bind an address
1588
+ *    Create a socket and bind an address
1140
  *    Communicate with the server at the address specified in the argument.
1589
  *    Communicate with the server at the address specified in the argument.
1141
  *    Fill in a buffer, write data to server, read it back and check
1590
  *    Fill in a buffer, write data to server, read it back and check
1142
@@ -809,5 +818,5 @@
1591
  *    for data corruption.
1592
@@ -780,7 +789,7 @@ UDP_Client(void *arg)
1593
         return;
1143
     }
1594
     }
1144
 
1595
 
1145
-    DPRINTF(("PR_Bind: UDP Client netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
1596
-    DPRINTF(("PR_Bind: UDP Client netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
Lines 1146-1152 Link Here
1146
+    DPRINTF(("PR_Bind: UDP Client netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
1597
+    DPRINTF(("PR_Bind: UDP Client netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
1147
         netaddr.inet.ip, netaddr.inet.port));
1598
         netaddr.inet.ip, netaddr.inet.port));
1148
 
1599
 
1149
@@ -826,7 +835,7 @@
1600
     netaddr = cp->server_addr;
1601
@@ -797,9 +806,9 @@ UDP_Client(void *arg)
1602
         /*
1150
          * fill in random data
1603
          * fill in random data
1151
          */
1604
          */
1152
-        DPRINTF(("UDP_Client [0x%lx]: out_buf = 0x%lx bytes = 0x%lx\n",
1605
-        DPRINTF(("UDP_Client [0x%lx]: out_buf = 0x%lx bytes = 0x%lx\n",
Lines 1156-1162 Link Here
1156
+        memset(out_buf->data, ((intptr_t)(&netaddr)) + i, bytes);
1609
+        memset(out_buf->data, ((intptr_t)(&netaddr)) + i, bytes);
1157
         /*
1610
         /*
1158
          * write to server
1611
          * write to server
1159
@@ -841,5 +850,5 @@
1612
          */
1613
@@ -812,7 +821,7 @@ UDP_Client(void *arg)
1614
         if (rv != bytes) {
1160
             return;
1615
             return;
1161
         }
1616
         }
1162
-        DPRINTF(("UDP_Client [0x%lx]: out_buf = 0x%lx out_buf[0] = 0x%lx\n",
1617
-        DPRINTF(("UDP_Client [0x%lx]: out_buf = 0x%lx out_buf[0] = 0x%lx\n",
Lines 1163-1169 Link Here
1163
+        DPRINTF(("UDP_Client [%p]: out_buf = %p out_buf[0] = 0x%x\n",
1618
+        DPRINTF(("UDP_Client [%p]: out_buf = %p out_buf[0] = 0x%x\n",
1164
             PR_GetCurrentThread(), out_buf, (*((int *) out_buf->data))));
1619
             PR_GetCurrentThread(), out_buf, (*((int *) out_buf->data))));
1165
         if (cp->udp_connect)
1620
         if (cp->udp_connect)
1166
@@ -852,5 +861,5 @@
1621
             rv = PR_Recv(sockfd, in_buf->data, bytes, 0,
1622
@@ -823,7 +832,7 @@ UDP_Client(void *arg)
1623
         if (rv != bytes) {
1167
             return;
1624
             return;
1168
         }
1625
         }
1169
-        DPRINTF(("UDP_Client [0x%lx]: in_buf = 0x%lx in_buf[0] = 0x%lx\n",
1626
-        DPRINTF(("UDP_Client [0x%lx]: in_buf = 0x%lx in_buf[0] = 0x%lx\n",
Lines 1170-1176 Link Here
1170
+        DPRINTF(("UDP_Client [%p]: in_buf = %p in_buf[0] = 0x%x\n",
1627
+        DPRINTF(("UDP_Client [%p]: in_buf = %p in_buf[0] = 0x%x\n",
1171
             PR_GetCurrentThread(), in_buf, (*((int *) in_buf->data))));
1628
             PR_GetCurrentThread(), in_buf, (*((int *) in_buf->data))));
1172
         /*
1629
         /*
1173
@@ -877,10 +886,11 @@
1630
          * verify the data read
1631
@@ -848,12 +857,13 @@ UDP_Client(void *arg)
1632
     PR_Notify(cp->exit_mon);
1174
     PR_ExitMonitor(cp->exit_mon);
1633
     PR_ExitMonitor(cp->exit_mon);
1175
     PR_DELETE(cp);
1634
     PR_DELETE(cp);
1176
-    DPRINTF(("UDP_Client [0x%x] exiting\n", PR_GetCurrentThread()));
1635
-    DPRINTF(("UDP_Client [0x%x] exiting\n", PR_GetCurrentThread()));
Lines 1184-1190 Link Here
1184
+ *
1643
+ *
1185
  *    One server and several clients are started
1644
  *    One server and several clients are started
1186
  *    Each client connects to the server and sends a chunk of data
1645
  *    Each client connects to the server and sends a chunk of data
1187
@@ -934,5 +944,5 @@
1646
  *    For each connection, server starts another thread to read the data
1647
@@ -905,7 +915,7 @@ TCP_Socket_Client_Server_Test(void)
1648
     sparamp->exit_counter = &thread_count;
1188
     sparamp->datalen = datalen;
1649
     sparamp->datalen = datalen;
1189
     t = PR_CreateThread(PR_USER_THREAD,
1650
     t = PR_CreateThread(PR_USER_THREAD,
1190
-        TCP_Server, (void *)sparamp, 
1651
-        TCP_Server, (void *)sparamp, 
Lines 1191-1197 Link Here
1191
+        TCP_Server, (void *)sparamp,
1652
+        TCP_Server, (void *)sparamp,
1192
         PR_PRIORITY_NORMAL,
1653
         PR_PRIORITY_NORMAL,
1193
         PR_LOCAL_THREAD,
1654
         PR_LOCAL_THREAD,
1194
@@ -944,5 +954,5 @@
1655
         PR_UNJOINABLE_THREAD,
1656
@@ -915,7 +925,7 @@ TCP_Socket_Client_Server_Test(void)
1657
         failed_already=1;
1195
         return -1;
1658
         return -1;
1196
     }
1659
     }
1197
-    DPRINTF(("Created TCP server = 0x%lx\n", t));
1660
-    DPRINTF(("Created TCP server = 0x%lx\n", t));
Lines 1198-1204 Link Here
1198
+    DPRINTF(("Created TCP server = %p\n", t));
1661
+    DPRINTF(("Created TCP server = %p\n", t));
1199
     thread_count++;
1662
     thread_count++;
1200
 
1663
 
1201
@@ -978,5 +988,5 @@
1664
     /*
1665
@@ -949,7 +959,7 @@ TCP_Socket_Client_Server_Test(void)
1666
             failed_already=1;
1202
             return -1;
1667
             return -1;
1203
         }
1668
         }
1204
-        DPRINTF(("Created TCP client = 0x%lx\n", t));
1669
-        DPRINTF(("Created TCP client = 0x%lx\n", t));
Lines 1205-1211 Link Here
1205
+        DPRINTF(("Created TCP client = %p\n", t));
1670
+        DPRINTF(("Created TCP client = %p\n", t));
1206
         thread_count++;
1671
         thread_count++;
1207
     }
1672
     }
1208
@@ -988,7 +998,7 @@
1673
     /* Wait for server and client threads to exit */
1674
@@ -959,17 +969,18 @@ TCP_Socket_Client_Server_Test(void)
1675
     }
1209
     PR_ExitMonitor(mon2);
1676
     PR_ExitMonitor(mon2);
1210
     printf("%30s","TCP_Socket_Client_Server_Test:");
1677
     printf("%30s","TCP_Socket_Client_Server_Test:");
1211
-    printf("%2ld Server %2ld Clients %2ld connections_per_client\n",1l,
1678
-    printf("%2ld Server %2ld Clients %2ld connections_per_client\n",1l,
Lines 1215-1221 Link Here
1215
+    printf("%30s %2d messages_per_connection %4d bytes_per_message\n",":",
1682
+    printf("%30s %2d messages_per_connection %4d bytes_per_message\n",":",
1216
         num_tcp_mesgs_per_connection, tcp_mesg_size);
1683
         num_tcp_mesgs_per_connection, tcp_mesg_size);
1217
 
1684
 
1218
@@ -996,7 +1006,8 @@
1685
     return 0;
1219
 }
1686
 }
1220
 
1687
 
1221
+#if defined(SYMBIAN) && !defined(__WINSCW__)
1688
+#if defined(SYMBIAN) && !defined(__WINSCW__)
Lines 1225-1231 Link Here
1225
+ *
1692
+ *
1226
  *    One server and several clients are started
1693
  *    One server and several clients are started
1227
  *    Each client connects to the server and sends a chunk of data
1694
  *    Each client connects to the server and sends a chunk of data
1228
@@ -1052,5 +1063,5 @@
1695
  *    For each connection, server starts another thread to read the data
1696
@@ -1023,7 +1034,7 @@ UDP_Socket_Client_Server_Test(void)
1697
     sparamp->datalen = datalen;
1229
     DPRINTF(("Creating UDP server"));
1698
     DPRINTF(("Creating UDP server"));
1230
     t = PR_CreateThread(PR_USER_THREAD,
1699
     t = PR_CreateThread(PR_USER_THREAD,
1231
-        UDP_Server, (void *)sparamp, 
1700
-        UDP_Server, (void *)sparamp, 
Lines 1232-1238 Link Here
1232
+        UDP_Server, (void *)sparamp,
1701
+        UDP_Server, (void *)sparamp,
1233
         PR_PRIORITY_NORMAL,
1702
         PR_PRIORITY_NORMAL,
1234
         PR_LOCAL_THREAD,
1703
         PR_LOCAL_THREAD,
1235
@@ -1113,10 +1124,11 @@
1704
         PR_UNJOINABLE_THREAD,
1705
@@ -1084,12 +1095,13 @@ UDP_Socket_Client_Server_Test(void)
1706
     }
1236
     PR_ExitMonitor(mon2);
1707
     PR_ExitMonitor(mon2);
1237
     printf("%30s","UDP_Socket_Client_Server_Test: ");
1708
     printf("%30s","UDP_Socket_Client_Server_Test: ");
1238
-    printf("%2ld Server %2ld Clients\n",1l, num_udp_clients);
1709
-    printf("%2ld Server %2ld Clients\n",1l, num_udp_clients);
Lines 1246-1252 Link Here
1246
+#endif /* defined(SYMBIAN) && !defined(__WINSCW__) */
1717
+#endif /* defined(SYMBIAN) && !defined(__WINSCW__) */
1247
 
1718
 
1248
 static PRFileDesc *small_file_fd, *large_file_fd;
1719
 static PRFileDesc *small_file_fd, *large_file_fd;
1249
@@ -1470,5 +1482,5 @@
1720
 static void *small_file_addr, *small_file_header, *large_file_addr;
1721
@@ -1441,7 +1453,7 @@ TransmitFile_Client(void *arg)
1722
     --(*cp->exit_counter);
1250
     PR_Notify(cp->exit_mon);
1723
     PR_Notify(cp->exit_mon);
1251
     PR_ExitMonitor(cp->exit_mon);
1724
     PR_ExitMonitor(cp->exit_mon);
1252
-    DPRINTF(("TransmitFile_Client [0x%lx] exiting\n", PR_GetCurrentThread()));
1725
-    DPRINTF(("TransmitFile_Client [0x%lx] exiting\n", PR_GetCurrentThread()));
Lines 1253-1259 Link Here
1253
+    DPRINTF(("TransmitFile_Client [%p] exiting\n", PR_GetCurrentThread()));
1726
+    DPRINTF(("TransmitFile_Client [%p] exiting\n", PR_GetCurrentThread()));
1254
 }
1727
 }
1255
 
1728
 
1256
@@ -1513,5 +1525,5 @@
1729
 /*
1730
@@ -1484,7 +1496,7 @@ Serve_TransmitFile_Client(void *arg)
1731
     if (bytes != (SMALL_FILE_SIZE+ SMALL_FILE_HEADER_SIZE)) {
1257
         fprintf(stderr,
1732
         fprintf(stderr,
1258
             "prsocet_test: PR_TransmitFile failed: (%ld, %ld)\n",
1733
             "prsocet_test: PR_TransmitFile failed: (%ld, %ld)\n",
1259
-            PR_GetError(), PR_GetOSError());
1734
-            PR_GetError(), PR_GetOSError());
Lines 1260-1266 Link Here
1260
+            (long)PR_GetError(), (long)PR_GetOSError());
1735
+            (long)PR_GetError(), (long)PR_GetOSError());
1261
         failed_already=1;
1736
         failed_already=1;
1262
     }
1737
     }
1263
@@ -1521,5 +1533,5 @@
1738
     bytes = PR_TransmitFile(sockfd, local_large_file_fd, NULL, 0,
1739
@@ -1492,7 +1504,7 @@ Serve_TransmitFile_Client(void *arg)
1740
     if (bytes != LARGE_FILE_SIZE) {
1264
         fprintf(stderr,
1741
         fprintf(stderr,
1265
             "prsocket_test: PR_TransmitFile failed: (%ld, %ld)\n",
1742
             "prsocket_test: PR_TransmitFile failed: (%ld, %ld)\n",
1266
-            PR_GetError(), PR_GetOSError());
1743
-            PR_GetError(), PR_GetOSError());
Lines 1267-1273 Link Here
1267
+            (long)PR_GetError(), (long)PR_GetOSError());
1744
+            (long)PR_GetError(), (long)PR_GetOSError());
1268
         failed_already=1;
1745
         failed_already=1;
1269
     }
1746
     }
1270
@@ -1549,5 +1561,5 @@
1747
 
1748
@@ -1520,7 +1532,7 @@ Serve_TransmitFile_Client(void *arg)
1749
 									slen, bytes);
1271
         fprintf(stderr,
1750
         fprintf(stderr,
1272
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1751
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1273
-            PR_GetError(), PR_GetOSError());
1752
-            PR_GetError(), PR_GetOSError());
Lines 1274-1280 Link Here
1274
+            (long)PR_GetError(), (long)PR_GetOSError());
1753
+            (long)PR_GetError(), (long)PR_GetOSError());
1275
         failed_already=1;
1754
         failed_already=1;
1276
     }
1755
     }
1277
@@ -1573,5 +1585,5 @@
1756
 
1757
@@ -1544,7 +1556,7 @@ Serve_TransmitFile_Client(void *arg)
1758
 									slen, bytes);
1278
         fprintf(stderr,
1759
         fprintf(stderr,
1279
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1760
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1280
-            PR_GetError(), PR_GetOSError());
1761
-            PR_GetError(), PR_GetOSError());
Lines 1281-1287 Link Here
1281
+            (long)PR_GetError(), (long)PR_GetOSError());
1762
+            (long)PR_GetError(), (long)PR_GetOSError());
1282
         failed_already=1;
1763
         failed_already=1;
1283
     }
1764
     }
1284
@@ -1595,5 +1607,5 @@
1765
 	/*
1766
@@ -1566,7 +1578,7 @@ Serve_TransmitFile_Client(void *arg)
1767
 									slen, bytes);
1285
         fprintf(stderr,
1768
         fprintf(stderr,
1286
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1769
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1287
-            PR_GetError(), PR_GetOSError());
1770
-            PR_GetError(), PR_GetOSError());
Lines 1288-1294 Link Here
1288
+            (long)PR_GetError(), (long)PR_GetOSError());
1771
+            (long)PR_GetError(), (long)PR_GetOSError());
1289
         failed_already=1;
1772
         failed_already=1;
1290
     }
1773
     }
1291
@@ -1617,5 +1629,5 @@
1774
 	/*
1775
@@ -1588,7 +1600,7 @@ Serve_TransmitFile_Client(void *arg)
1776
 									slen, bytes);
1292
         fprintf(stderr,
1777
         fprintf(stderr,
1293
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1778
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1294
-            PR_GetError(), PR_GetOSError());
1779
-            PR_GetError(), PR_GetOSError());
Lines 1295-1301 Link Here
1295
+            (long)PR_GetError(), (long)PR_GetOSError());
1780
+            (long)PR_GetError(), (long)PR_GetOSError());
1296
         failed_already=1;
1781
         failed_already=1;
1297
     }
1782
     }
1298
@@ -1639,5 +1651,5 @@
1783
 	/*
1784
@@ -1610,7 +1622,7 @@ Serve_TransmitFile_Client(void *arg)
1785
 									slen, bytes);
1299
         fprintf(stderr,
1786
         fprintf(stderr,
1300
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1787
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1301
-            PR_GetError(), PR_GetOSError());
1788
-            PR_GetError(), PR_GetOSError());
Lines 1302-1308 Link Here
1302
+            (long)PR_GetError(), (long)PR_GetOSError());
1789
+            (long)PR_GetError(), (long)PR_GetOSError());
1303
         failed_already=1;
1790
         failed_already=1;
1304
     }
1791
     }
1305
@@ -1661,5 +1673,5 @@
1792
 	/*
1793
@@ -1632,7 +1644,7 @@ Serve_TransmitFile_Client(void *arg)
1794
 									slen, bytes);
1306
         fprintf(stderr,
1795
         fprintf(stderr,
1307
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1796
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1308
-            PR_GetError(), PR_GetOSError());
1797
-            PR_GetError(), PR_GetOSError());
Lines 1309-1315 Link Here
1309
+            (long)PR_GetError(), (long)PR_GetOSError());
1798
+            (long)PR_GetError(), (long)PR_GetOSError());
1310
         failed_already=1;
1799
         failed_already=1;
1311
     }
1800
     }
1312
@@ -1683,5 +1695,5 @@
1801
 	/*
1802
@@ -1654,7 +1666,7 @@ Serve_TransmitFile_Client(void *arg)
1803
 									slen, bytes);
1313
         fprintf(stderr,
1804
         fprintf(stderr,
1314
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1805
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1315
-            PR_GetError(), PR_GetOSError());
1806
-            PR_GetError(), PR_GetOSError());
Lines 1316-1322 Link Here
1316
+            (long)PR_GetError(), (long)PR_GetOSError());
1807
+            (long)PR_GetError(), (long)PR_GetOSError());
1317
         failed_already=1;
1808
         failed_already=1;
1318
     }
1809
     }
1319
@@ -1707,5 +1719,5 @@
1810
 	/*
1811
@@ -1678,7 +1690,7 @@ Serve_TransmitFile_Client(void *arg)
1812
 									slen, bytes);
1320
         fprintf(stderr,
1813
         fprintf(stderr,
1321
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1814
             "prsocket_test: PR_SendFile failed: (%ld, %ld)\n",
1322
-            PR_GetError(), PR_GetOSError());
1815
-            PR_GetError(), PR_GetOSError());
Lines 1323-1329 Link Here
1323
+            (long)PR_GetError(), (long)PR_GetOSError());
1816
+            (long)PR_GetError(), (long)PR_GetOSError());
1324
         failed_already=1;
1817
         failed_already=1;
1325
     }
1818
     }
1326
@@ -1781,5 +1793,5 @@
1819
 done:
1820
@@ -1752,7 +1764,7 @@ TransmitFile_Server(void *arg)
1821
         goto exit;
1327
     }
1822
     }
1328
 
1823
 
1329
-    DPRINTF(("TCP_Server: PR_BIND netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
1824
-    DPRINTF(("TCP_Server: PR_BIND netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
Lines 1330-1336 Link Here
1330
+    DPRINTF(("TCP_Server: PR_BIND netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
1825
+    DPRINTF(("TCP_Server: PR_BIND netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
1331
         netaddr.inet.ip, netaddr.inet.port));
1826
         netaddr.inet.ip, netaddr.inet.port));
1332
     tcp_server_addr.inet.family = netaddr.inet.family;
1827
     tcp_server_addr.inet.family = netaddr.inet.family;
1333
@@ -1836,5 +1848,5 @@
1828
     tcp_server_addr.inet.port = netaddr.inet.port;
1829
@@ -1807,7 +1819,7 @@ TransmitFile_Server(void *arg)
1830
         scp->datalen = sp->datalen;
1334
 
1831
 
1335
         t[i] = PR_CreateThread(PR_USER_THREAD,
1832
         t[i] = PR_CreateThread(PR_USER_THREAD,
1336
-            Serve_TransmitFile_Client, (void *)scp, 
1833
-            Serve_TransmitFile_Client, (void *)scp, 
Lines 1337-1343 Link Here
1337
+            Serve_TransmitFile_Client, (void *)scp,
1834
+            Serve_TransmitFile_Client, (void *)scp,
1338
             PR_PRIORITY_NORMAL,
1835
             PR_PRIORITY_NORMAL,
1339
             PR_LOCAL_THREAD,
1836
             PR_LOCAL_THREAD,
1340
@@ -1847,5 +1859,5 @@
1837
             PR_JOINABLE_THREAD,
1838
@@ -1818,7 +1830,7 @@ TransmitFile_Server(void *arg)
1839
             failed_already=1;
1341
             goto exit;
1840
             goto exit;
1342
         }
1841
         }
1343
-        DPRINTF(("TransmitFile_Server: Created Serve_TransmitFile_Client = 0x%lx\n", t));
1842
-        DPRINTF(("TransmitFile_Server: Created Serve_TransmitFile_Client = 0x%lx\n", t));
Lines 1344-1350 Link Here
1344
+        DPRINTF(("TransmitFile_Server: Created Serve_TransmitFile_Client = %p\n", t));
1843
+        DPRINTF(("TransmitFile_Server: Created Serve_TransmitFile_Client = %p\n", t));
1345
     }
1844
     }
1346
 
1845
 
1347
@@ -1875,10 +1887,10 @@
1846
     /*
1847
@@ -1846,12 +1858,12 @@ exit:
1848
     --(*sp->exit_counter);
1348
     PR_Notify(sp->exit_mon);
1849
     PR_Notify(sp->exit_mon);
1349
     PR_ExitMonitor(sp->exit_mon);
1850
     PR_ExitMonitor(sp->exit_mon);
1350
-    DPRINTF(("TransmitFile_Server [0x%lx] exiting\n", PR_GetCurrentThread()));
1851
-    DPRINTF(("TransmitFile_Server [0x%lx] exiting\n", PR_GetCurrentThread()));
Lines 1358-1364 Link Here
1358
+ *
1859
+ *
1359
  */
1860
  */
1360
 static PRInt32
1861
 static PRInt32
1361
@@ -2015,5 +2027,5 @@
1862
 Socket_Misc_Test(void)
1863
@@ -1986,7 +1998,7 @@ Socket_Misc_Test(void)
1864
             fprintf(stderr,
1362
                 "prsocket_test failed to write to file %s: (%ld, %ld)\n",
1865
                 "prsocket_test failed to write to file %s: (%ld, %ld)\n",
1363
                 LARGE_FILE_NAME,
1866
                 LARGE_FILE_NAME,
1364
-                PR_GetError(), PR_GetOSError());
1867
-                PR_GetError(), PR_GetOSError());
Lines 1365-1371 Link Here
1365
+                (long)PR_GetError(), (long)PR_GetOSError());
1868
+                (long)PR_GetError(), (long)PR_GetOSError());
1366
             failed_already=1;
1869
             failed_already=1;
1367
             rv = -1;
1870
             rv = -1;
1368
@@ -2094,5 +2106,5 @@
1871
             goto done;
1872
@@ -2065,7 +2077,7 @@ Socket_Misc_Test(void)
1873
     sparamp->exit_counter = &thread_count;
1369
     sparamp->datalen = datalen;
1874
     sparamp->datalen = datalen;
1370
     t = PR_CreateThread(PR_USER_THREAD,
1875
     t = PR_CreateThread(PR_USER_THREAD,
1371
-        TransmitFile_Server, (void *)sparamp, 
1876
-        TransmitFile_Server, (void *)sparamp, 
Lines 1372-1378 Link Here
1372
+        TransmitFile_Server, (void *)sparamp,
1877
+        TransmitFile_Server, (void *)sparamp,
1373
         PR_PRIORITY_NORMAL,
1878
         PR_PRIORITY_NORMAL,
1374
         PR_LOCAL_THREAD,
1879
         PR_LOCAL_THREAD,
1375
@@ -2105,5 +2117,5 @@
1880
         PR_UNJOINABLE_THREAD,
1881
@@ -2076,7 +2088,7 @@ Socket_Misc_Test(void)
1882
         rv = -1;
1376
         goto done;
1883
         goto done;
1377
     }
1884
     }
1378
-    DPRINTF(("Created TCP server = 0x%x\n", t));
1885
-    DPRINTF(("Created TCP server = 0x%x\n", t));
Lines 1379-1385 Link Here
1379
+    DPRINTF(("Created TCP server = %p\n", t));
1886
+    DPRINTF(("Created TCP server = %p\n", t));
1380
     thread_count++;
1887
     thread_count++;
1381
 
1888
 
1382
@@ -2142,5 +2154,5 @@
1889
     /*
1890
@@ -2113,7 +2125,7 @@ Socket_Misc_Test(void)
1891
             failed_already=1;
1383
             goto done;
1892
             goto done;
1384
         }
1893
         }
1385
-        DPRINTF(("Created TransmitFile client = 0x%lx\n", t));
1894
-        DPRINTF(("Created TransmitFile client = 0x%lx\n", t));
Lines 1386-1392 Link Here
1386
+        DPRINTF(("Created TransmitFile client = %p\n", t));
1895
+        DPRINTF(("Created TransmitFile client = %p\n", t));
1387
         thread_count++;
1896
         thread_count++;
1388
     }
1897
     }
1389
@@ -2173,5 +2185,5 @@
1898
     /* Wait for server and client threads to exit */
1899
@@ -2144,7 +2156,7 @@ done:
1900
     }
1390
     if ((PR_RmDir(TEST_DIR)) == PR_FAILURE) {
1901
     if ((PR_RmDir(TEST_DIR)) == PR_FAILURE) {
1391
         fprintf(stderr,"prsocket_test failed to rmdir %s: (%ld, %ld)\n",
1902
         fprintf(stderr,"prsocket_test failed to rmdir %s: (%ld, %ld)\n",
1392
-            TEST_DIR, PR_GetError(), PR_GetOSError());
1903
-            TEST_DIR, PR_GetError(), PR_GetOSError());
Lines 1393-1401 Link Here
1393
+            TEST_DIR, (long)PR_GetError(), (long)PR_GetOSError());
1904
+            TEST_DIR, (long)PR_GetError(), (long)PR_GetOSError());
1394
         failed_already=1;
1905
         failed_already=1;
1395
     }
1906
     }
1396
--- ../pr/tests/sprintf.c	Sun Apr 25 11:01:02 2004
1907
 
1397
+++ ../pr/tests/sprintf.c	Mon Jul 25 22:21:32 2005
1908
--- ../pr/tests/sprintf.c.orig	2015-10-16 13:22:19.000000000 +0000
1398
@@ -162,5 +162,5 @@
1909
+++ ../pr/tests/sprintf.c	2015-11-04 02:02:20.455364000 +0000
1910
@@ -127,7 +127,7 @@ static void test_l(char *pattern, char *
1911
 	(strncmp(s, sbuf, sizeof(sbuf)) != 0)) {
1399
 	fprintf(stderr,
1912
 	fprintf(stderr,
1400
 	   "pattern='%s' l=%ld\nPR_smprintf='%s'\nPR_snprintf='%s'\n    sprintf='%s'\n",
1913
 	   "pattern='%s' l=%ld\nPR_smprintf='%s'\nPR_snprintf='%s'\n    sprintf='%s'\n",
1401
-	   pattern, l, s, buf, sbuf);
1914
-	   pattern, l, s, buf, sbuf);
Lines 1402-1417 Link Here
1402
+	   pattern, (long)l, s, buf, sbuf);
1915
+	   pattern, (long)l, s, buf, sbuf);
1403
 	PR_smprintf_free(s);
1916
 	PR_smprintf_free(s);
1404
 	exit(-1);
1917
 	exit(-1);
1405
--- ../pr/tests/stack.c	Sun Apr 25 11:01:02 2004
1918
     }
1406
+++ ../pr/tests/stack.c	Mon Jul 25 22:22:43 2005
1919
--- ../pr/tests/stack.c.orig	2015-10-16 13:22:19.000000000 +0000
1407
@@ -86,5 +86,5 @@
1920
+++ ../pr/tests/stack.c	2015-11-04 02:02:20.455937000 +0000
1408
 PRIntn main(PRIntn argc, char **argv)
1921
@@ -54,7 +54,7 @@ PRFileDesc  *errhandle;
1922
 int main(int argc, char **argv)
1409
 {
1923
 {
1924
 #if !(defined(SYMBIAN) && defined(__WINS__))
1410
-    PRInt32 rv, cnt, sum;
1925
-    PRInt32 rv, cnt, sum;
1411
+    PRInt32 cnt, sum;
1926
+    PRInt32 cnt, sum;
1412
 	DataRecord	*Item;
1927
 	DataRecord	*Item;
1413
 	PRStack		*list1, *list2;
1928
 	PRStack		*list1, *list2;
1414
@@ -240,5 +240,5 @@
1929
 	PRStackElem	*node;
1930
@@ -209,7 +209,7 @@ int main(int argc, char **argv)
1931
 static void stackop(void *thread_arg)
1415
 {
1932
 {
1416
     PRInt32 val, cnt, index, loops;
1933
     PRInt32 val, cnt, index, loops;
1417
-	DataRecord	*Items, *Item;
1934
-	DataRecord	*Items, *Item;
Lines 1418-1426 Link Here
1418
+	DataRecord	*Items;
1935
+	DataRecord	*Items;
1419
 	PRStack		*list1, *list2;
1936
 	PRStack		*list1, *list2;
1420
 	PRStackElem	*node;
1937
 	PRStackElem	*node;
1421
--- ../pr/tests/suspend.c.orig	2010-09-24 20:14:40.000000000 +0200
1938
 	stack_data *arg = (stack_data *) thread_arg;
1422
+++ ../pr/tests/suspend.c	2011-01-15 13:56:43.000000000 +0100
1939
--- ../pr/tests/suspend.c.orig	2015-10-16 13:22:19.000000000 +0000
1423
@@ -62,14 +62,14 @@
1940
+++ ../pr/tests/suspend.c	2015-11-04 02:02:20.456555000 +0000
1941
@@ -30,14 +30,14 @@ void PR_CALLBACK
1424
 Level_2_Thread(void *arg)
1942
 Level_2_Thread(void *arg)
1425
 {
1943
 {
1426
     PR_Sleep(PR_MillisecondsToInterval(4 * 1000));
1944
     PR_Sleep(PR_MillisecondsToInterval(4 * 1000));
Lines 1437-1443 Link Here
1437
     PRThreadScope scope = (PRThreadScope) tmp;
1955
     PRThreadScope scope = (PRThreadScope) tmp;
1438
     PRThread *thr;
1956
     PRThread *thr;
1439
 
1957
 
1440
@@ -84,7 +84,7 @@
1958
@@ -52,7 +52,7 @@ Level_1_Thread(void *arg)
1441
     if (!thr) {
1959
     if (!thr) {
1442
         printf("Could not create thread!\n");
1960
         printf("Could not create thread!\n");
1443
     } else {
1961
     } else {
Lines 1446-1452 Link Here
1446
             PR_GetCurrentThread(),
1964
             PR_GetCurrentThread(),
1447
             (scope == PR_GLOBAL_THREAD) ?
1965
             (scope == PR_GLOBAL_THREAD) ?
1448
             "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD",
1966
             "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD",
1449
@@ -95,7 +95,7 @@
1967
@@ -63,7 +63,7 @@ Level_1_Thread(void *arg)
1450
     alive--;
1968
     alive--;
1451
     PR_Notify(mon);
1969
     PR_Notify(mon);
1452
     PR_ExitMonitor(mon);
1970
     PR_ExitMonitor(mon);
Lines 1455-1461 Link Here
1455
 }
1973
 }
1456
 
1974
 
1457
 static PRStatus PR_CALLBACK print_thread(PRThread *thread, int i, void *arg)
1975
 static PRStatus PR_CALLBACK print_thread(PRThread *thread, int i, void *arg)
1458
@@ -104,14 +104,15 @@
1976
@@ -72,14 +72,15 @@ static PRStatus PR_CALLBACK print_thread
1459
     PRWord *registers;
1977
     PRWord *registers;
1460
 
1978
 
1461
     printf(
1979
     printf(
Lines 1475-1481 Link Here
1475
     return PR_SUCCESS;
1993
     return PR_SUCCESS;
1476
 }
1994
 }
1477
 
1995
 
1478
@@ -139,7 +140,7 @@
1996
@@ -107,7 +108,7 @@ static void Level_0_Thread(PRThreadScope
1479
             printf("Could not create thread!\n");
1997
             printf("Could not create thread!\n");
1480
             alive--;
1998
             alive--;
1481
         }
1999
         }
Lines 1484-1490 Link Here
1484
             PR_GetCurrentThread(),
2002
             PR_GetCurrentThread(),
1485
             (scope1 == PR_GLOBAL_THREAD) ?
2003
             (scope1 == PR_GLOBAL_THREAD) ?
1486
             "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD",
2004
             "PR_GLOBAL_THREAD" : "PR_LOCAL_THREAD",
1487
@@ -151,9 +152,10 @@
2005
@@ -119,9 +120,10 @@ static void Level_0_Thread(PRThreadScope
1488
     PR_EnumerateThreads(print_thread, NULL);
2006
     PR_EnumerateThreads(print_thread, NULL);
1489
     registers = PR_GetGCRegisters(me, 1, (int *)&words);
2007
     registers = PR_GetGCRegisters(me, 1, (int *)&words);
1490
     if (registers)
2008
     if (registers)
Lines 1498-1506 Link Here
1498
     PR_ResumeAll();
2016
     PR_ResumeAll();
1499
 
2017
 
1500
     /* Wait for all threads to exit */
2018
     /* Wait for all threads to exit */
1501
--- ../pr/tests/testfile.c	Tue Jun 20 17:46:54 2000
2019
--- ../pr/tests/switch.c.orig	2015-10-16 13:22:19.000000000 +0000
1502
+++ ../pr/tests/testfile.c	Mon Jul 25 22:36:39 2005
2020
+++ ../pr/tests/switch.c	2015-11-04 02:02:20.469217000 +0000
1503
@@ -69,4 +69,7 @@
2021
@@ -80,7 +80,7 @@ PRIntn PR_CALLBACK Switch(PRIntn argc, c
2022
     PRStatus status;
2023
     PRBool help = PR_FALSE;
2024
     PRUintn concurrency = 1;
2025
-    Shared *shared, *link;
2026
+    Shared *shared = NULL, *link;
2027
     PRIntervalTime timein, timeout;
2028
     PRThreadScope thread_scope = PR_LOCAL_THREAD;
2029
     PRUintn thread_count, inner_count, loop_count, average;
2030
--- ../pr/tests/testfile.c.orig	2015-10-16 13:22:19.000000000 +0000
2031
+++ ../pr/tests/testfile.c	2015-11-04 02:02:20.457379000 +0000
2032
@@ -36,6 +36,9 @@ static int _debug_on = 0;
2033
 #ifdef XP_WIN
1504
 #define mode_t int
2034
 #define mode_t int
1505
 #endif
2035
 #endif
1506
+#if defined(XP_UNIX) || defined(XP_OS2_EMX)
2036
+#if defined(XP_UNIX) || defined(XP_OS2_EMX)
Lines 1508-1521 Link Here
1508
+#endif
2038
+#endif
1509
 
2039
 
1510
 #define DPRINTF(arg) if (_debug_on) printf arg
2040
 #define DPRINTF(arg) if (_debug_on) printf arg
1511
@@ -119,5 +122,5 @@
1512
 
2041
 
2042
@@ -93,7 +96,7 @@ static PRInt32 PR_CALLBACK DirTest(void 
2043
 PRInt32 dirtest_failed = 0;
2044
 
1513
 PRThread* create_new_thread(PRThreadType type,
2045
 PRThread* create_new_thread(PRThreadType type,
1514
-							void (*start)(void *arg),
2046
-							void (*start)(void *arg),
1515
+							void *(*start)(void *arg),
2047
+							void *(*start)(void *arg),
1516
 							void *arg,
2048
 							void *arg,
1517
 							PRThreadPriority priority,
2049
 							PRThreadPriority priority,
1518
@@ -181,5 +184,5 @@
2050
 							PRThreadScope scope,
2051
@@ -155,7 +158,7 @@ PRInt32 native_thread = 0;
2052
 		return((PRThread *) thandle);
1519
 #endif
2053
 #endif
1520
 	} else {
2054
 	} else {
1521
-		return(PR_CreateThread(type,start,arg,priority,scope,state,stackSize));
2055
-		return(PR_CreateThread(type,start,arg,priority,scope,state,stackSize));
Lines 1522-1528 Link Here
1522
+		return(PR_CreateThread(type,(void (*)(void*))start,arg,priority,scope,state,stackSize));
2056
+		return(PR_CreateThread(type,(void (*)(void*))start,arg,priority,scope,state,stackSize));
1523
 	}
2057
 	}
1524
 #else
2058
 #else
1525
@@ -342,6 +345,6 @@
2059
 	return(PR_CreateThread(type,start,arg,priority,scope,state,stackSize));
2060
@@ -316,8 +319,8 @@ char tmpname[1024];
2061
 		printf(
1526
 		"testfile PR_GetFileInfo returned incorrect status-change time: %s\n",
2062
 		"testfile PR_GetFileInfo returned incorrect status-change time: %s\n",
1527
 		pathname);
2063
 		pathname);
1528
-		printf("ft = %lld, ft1 = %lld\n",file_info.creationTime,
2064
-		printf("ft = %lld, ft1 = %lld\n",file_info.creationTime,
Lines 1531-1537 Link Here
1531
+			(long long)file_info1.creationTime);
2067
+			(long long)file_info1.creationTime);
1532
 		rv = -1;
2068
 		rv = -1;
1533
 		goto cleanup;
2069
 		goto cleanup;
1534
@@ -368,6 +371,6 @@
2070
 	}
2071
@@ -342,8 +345,8 @@ char tmpname[1024];
2072
 		printf(
1535
 		"testfile PR_GetFileInfo returned incorrect modify time: %s\n",
2073
 		"testfile PR_GetFileInfo returned incorrect modify time: %s\n",
1536
 		pathname);
2074
 		pathname);
1537
-		printf("ft = %lld, ft1 = %lld\n",file_info.modifyTime,
2075
-		printf("ft = %lld, ft1 = %lld\n",file_info.modifyTime,
Lines 1540-1546 Link Here
1540
+			(long long)file_info1.modifyTime);
2078
+			(long long)file_info1.modifyTime);
1541
 		rv = -1;
2079
 		rv = -1;
1542
 		goto cleanup;
2080
 		goto cleanup;
1543
@@ -495,5 +498,5 @@
2081
 	}
2082
@@ -469,7 +472,7 @@ File_Rdwr_Param *fparamp;
2083
 		memset(fparamp->buf, i, len);
1544
 
2084
 
1545
 		t = create_new_thread(PR_USER_THREAD,
2085
 		t = create_new_thread(PR_USER_THREAD,
1546
-			      File_Write, (void *)fparamp, 
2086
-			      File_Write, (void *)fparamp, 
Lines 1547-1553 Link Here
1547
+			      (void *(*)(void *))File_Write, (void *)fparamp, 
2087
+			      (void *(*)(void *))File_Write, (void *)fparamp, 
1548
 			      PR_PRIORITY_NORMAL,
2088
 			      PR_PRIORITY_NORMAL,
1549
 			      scope,
2089
 			      scope,
1550
@@ -530,5 +533,5 @@
2090
 			      PR_UNJOINABLE_THREAD,
2091
@@ -504,7 +507,7 @@ File_Rdwr_Param *fparamp;
2092
 		fparamp->len = len;
1551
 
2093
 
1552
 		t = create_new_thread(PR_USER_THREAD,
2094
 		t = create_new_thread(PR_USER_THREAD,
1553
-			      File_Read, (void *)fparamp, 
2095
-			      File_Read, (void *)fparamp, 
Lines 1554-1560 Link Here
1554
+			      (void *(*)(void *))File_Read, (void *)fparamp, 
2096
+			      (void *(*)(void *))File_Read, (void *)fparamp, 
1555
 			      PR_PRIORITY_NORMAL,
2097
 			      PR_PRIORITY_NORMAL,
1556
 			      scope,
2098
 			      scope,
1557
@@ -598,5 +601,5 @@
2099
 			      PR_UNJOINABLE_THREAD,
2100
@@ -572,7 +575,7 @@ struct dirtest_arg thrarg;
2101
 
1558
 		thrarg.done= 0;
2102
 		thrarg.done= 0;
1559
 		t = create_new_thread(PR_USER_THREAD,
2103
 		t = create_new_thread(PR_USER_THREAD,
1560
-			      DirTest, &thrarg, 
2104
-			      DirTest, &thrarg, 
Lines 1561-1617 Link Here
1561
+			      (void *(*)(void *))DirTest, &thrarg, 
2105
+			      (void *(*)(void *))DirTest, &thrarg, 
1562
 			      PR_PRIORITY_NORMAL,
2106
 			      PR_PRIORITY_NORMAL,
1563
 			      PR_LOCAL_THREAD,
2107
 			      PR_LOCAL_THREAD,
1564
@@ -953,6 +956,4 @@
2108
 			      PR_UNJOINABLE_THREAD,
1565
 #if defined(XP_UNIX) || defined(XP_OS2_EMX)
2109
@@ -895,8 +898,6 @@ int main(int argc, char **argv)
2110
 #endif
2111
 #if defined(XP_UNIX) || defined(XP_OS2)
1566
         int opt;
2112
         int opt;
1567
-        extern char *optarg;
2113
-        extern char *optarg;
1568
-	extern int optind;
2114
-	extern int optind;
1569
 #endif
2115
 #endif
1570
 #if defined(XP_UNIX) || defined(XP_OS2_EMX)
2116
 #if defined(XP_UNIX) || defined(XP_OS2)
1571
--- ../pr/tests/thrpool_server.c	2009-05-06 01:40:39.000000000 -0400
2117
         while ((opt = getopt(argc, argv, "d")) != EOF) {
1572
+++ ../pr/tests/thrpool_server.c	2009-11-04 16:53:49.000000000 -0500
2118
--- ../pr/tests/threads.c.orig	2015-10-16 13:22:19.000000000 +0000
1573
@@ -351,5 +351,5 @@
2119
+++ ../pr/tests/threads.c	2015-11-04 02:02:20.459183000 +0000
2120
@@ -27,7 +27,7 @@ void
2121
 PR_CALLBACK
2122
 DumbThread(void *arg)
2123
 {
2124
-    PRInt32 tmp = (PRInt32)arg;
2125
+    PRInt32 tmp = (PRInt32)(intptr_t)arg;
2126
     PRThreadScope scope = (PRThreadScope)tmp;
2127
     PRThread *thr;
1574
 
2128
 
1575
     DPRINTF((
2129
@@ -167,10 +167,10 @@ int main(int argc, char **argv)
1576
-	"TCP_Server: PR_BIND netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
1577
+	"TCP_Server: PR_BIND netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
1578
         netaddr.inet.ip, netaddr.inet.port));
1579
 
2130
 
1580
@@ -363,5 +363,5 @@
2131
     if (debug_mode)
1581
 	sp->iod.timeout = PR_SecondsToInterval(60);
2132
     {
1582
 	sp->datalen = tcp_mesg_size;
2133
-    printf("\
1583
-	sp->exit_mon = sc_mon;
2134
-** Tests lots of thread creations.  \n\
1584
+	sp->exit_mon = NULL;
2135
-** Create %ld native threads %ld times. \n\
1585
 	sp->job_counterp = &job_counter;
2136
-** Create %ld user threads %ld times \n", iterations,count,iterations,count);
1586
 	sp->conn_counter = 0;
2137
+    printf("** Tests lots of thread creations.\n"
1587
@@ -486,5 +486,5 @@
2138
+	"** Create %d native threads %d times.\n"
2139
+	"** Create %d user threads %d times.\n", iterations, count,
2140
+	iterations, count);
2141
     }
1588
 
2142
 
1589
 	PR_ASSERT(NULL != jobp);
2143
     for (index=0; index<iterations; index++) {
1590
-	DPRINTF(("TCP_Server: Created Serve_Client = 0x%lx\n", jobp));
2144
--- ../pr/tests/thrpool_client.c.orig	2015-10-16 13:22:19.000000000 +0000
1591
+	DPRINTF(("TCP_Server: Created Serve_Client = %p\n", jobp));
2145
+++ ../pr/tests/thrpool_client.c	2015-11-04 02:02:20.458656000 +0000
2146
@@ -82,11 +82,11 @@ readn(PRFileDesc *sockfd, char *buf, int
2147
 	PRIntervalTime timeout = PR_INTERVAL_NO_TIMEOUT;
1592
 
2148
 
1593
 	/*
1594
@@ -503,5 +503,5 @@
1595
 
1596
 	PR_ASSERT(NULL != jobp);
1597
-	DPRINTF(("TCP_Server: Created print_stats timer job = 0x%lx\n", jobp));
1598
+	DPRINTF(("TCP_Server: Created print_stats timer job = %p\n", jobp));
1599
 
1600
 exit:
1601
@@ -520,7 +520,7 @@
1602
 	PR_DestroyMonitor(sp->exit_mon);
1603
     printf("%30s","TCP_Socket_Client_Server_Test:");
1604
-    printf("%2ld Server %2ld Clients %2ld connections_per_client\n",1l,
1605
+    printf(" 1 Server %2d Clients %2d connections_per_client\n",
1606
         num_tcp_clients, num_tcp_connections_per_client);
1607
-    printf("%30s %2ld messages_per_connection %4ld bytes_per_message\n",":",
1608
+    printf("%30s %2d messages_per_connection %4d bytes_per_message\n",":",
1609
         num_tcp_mesgs_per_connection, tcp_mesg_size);
1610
 
1611
--- ../pr/tests/thrpool_client.c	Sun Apr 25 11:01:02 2004
1612
+++ ../pr/tests/thrpool_client.c	Mon Jul 25 22:40:45 2005
1613
@@ -127,9 +127,9 @@
1614
 
1615
     for (rem=len; rem; offset += bytes, rem -= bytes) {
2149
     for (rem=len; rem; offset += bytes, rem -= bytes) {
1616
-        DPRINTF(("thread = 0x%lx: calling PR_Recv, bytes = %d\n",
2150
-        DPRINTF(("thread = 0x%lx: calling PR_Recv, bytes = %d\n",
1617
+        DPRINTF(("thread = %p: calling PR_Recv, bytes = %d\n",
2151
+        DPRINTF(("thread = %p: calling PR_Recv, bytes = %d\n",
Lines 1622-1628 Link Here
1622
+        DPRINTF(("thread = %p: returning from PR_Recv, bytes = %d\n",
2156
+        DPRINTF(("thread = %p: returning from PR_Recv, bytes = %d\n",
1623
             PR_GetCurrentThread(), bytes));
2157
             PR_GetCurrentThread(), bytes));
1624
         if (bytes < 0) {
2158
         if (bytes < 0) {
1625
@@ -152,9 +152,9 @@
2159
 			return -1;
2160
@@ -107,11 +107,11 @@ writen(PRFileDesc *sockfd, char *buf, in
2161
     int offset = 0;
1626
 
2162
 
1627
     for (rem=len; rem; offset += bytes, rem -= bytes) {
2163
     for (rem=len; rem; offset += bytes, rem -= bytes) {
1628
-        DPRINTF(("thread = 0x%lx: calling PR_Send, bytes = %d\n",
2164
-        DPRINTF(("thread = 0x%lx: calling PR_Send, bytes = %d\n",
Lines 1634-1640 Link Here
1634
+        DPRINTF(("thread = %p: returning from PR_Send, bytes = %d\n",
2170
+        DPRINTF(("thread = %p: returning from PR_Send, bytes = %d\n",
1635
             PR_GetCurrentThread(), bytes));
2171
             PR_GetCurrentThread(), bytes));
1636
         if (bytes <= 0)
2172
         if (bytes <= 0)
1637
@@ -209,5 +209,5 @@
2173
             return -1;
2174
@@ -164,7 +164,7 @@ TCP_Client(void *arg)
2175
 
1638
         DPRINTF(("TCP client connecting to server:%d\n", server_port));
2176
         DPRINTF(("TCP client connecting to server:%d\n", server_port));
1639
         if (PR_Connect(sockfd, &netaddr,PR_INTERVAL_NO_TIMEOUT) < 0){
2177
         if (PR_Connect(sockfd, &netaddr,PR_INTERVAL_NO_TIMEOUT) < 0){
1640
-        	fprintf(stderr, "PR_Connect failed: (%ld, %ld)\n",
2178
-        	fprintf(stderr, "PR_Connect failed: (%ld, %ld)\n",
Lines 1641-1647 Link Here
1641
+        	fprintf(stderr, "PR_Connect failed: (%d, %d)\n",
2179
+        	fprintf(stderr, "PR_Connect failed: (%d, %d)\n",
1642
             		PR_GetError(), PR_GetOSError());
2180
             		PR_GetError(), PR_GetOSError());
1643
             failed_already=1;
2181
             failed_already=1;
1644
@@ -218,5 +218,5 @@
2182
             return;
2183
@@ -173,7 +173,7 @@ TCP_Client(void *arg)
2184
             /*
1645
              * fill in random data
2185
              * fill in random data
1646
              */
2186
              */
1647
-            memset(out_buf->data, ((PRInt32) (&netaddr)) + i + j, bytes);
2187
-            memset(out_buf->data, ((PRInt32) (&netaddr)) + i + j, bytes);
Lines 1648-1654 Link Here
1648
+            memset(out_buf->data, ((intptr_t)(&netaddr)) + i + j, bytes);
2188
+            memset(out_buf->data, ((intptr_t)(&netaddr)) + i + j, bytes);
1649
             /*
2189
             /*
1650
              * write to server
2190
              * write to server
1651
@@ -326,5 +326,5 @@
2191
              */
2192
@@ -281,7 +281,7 @@ TCP_Socket_Client_Server_Test(void)
2193
     	PR_EnterMonitor(mon2);
1652
         connections++;
2194
         connections++;
1653
     	PR_ExitMonitor(mon2);
2195
     	PR_ExitMonitor(mon2);
1654
-        DPRINTF(("Created TCP client = 0x%lx\n", thr));
2196
-        DPRINTF(("Created TCP client = 0x%lx\n", thr));
Lines 1655-1661 Link Here
1655
+        DPRINTF(("Created TCP client = %p\n", thr));
2197
+        DPRINTF(("Created TCP client = %p\n", thr));
1656
     }
2198
     }
1657
     /* Wait for client jobs to exit */
2199
     /* Wait for client jobs to exit */
1658
@@ -336,7 +336,7 @@
2200
     PR_EnterMonitor(mon2);
2201
@@ -291,9 +291,9 @@ TCP_Socket_Client_Server_Test(void)
2202
     }
1659
     PR_ExitMonitor(mon2);
2203
     PR_ExitMonitor(mon2);
1660
     printf("%30s","TCP_Socket_Client_Server_Test:");
2204
     printf("%30s","TCP_Socket_Client_Server_Test:");
1661
-    printf("%2ld Server %2ld Clients %2ld connections_per_client\n",1l,
2205
-    printf("%2ld Server %2ld Clients %2ld connections_per_client\n",1l,
Lines 1665-1695 Link Here
1665
+    printf("%30s %2d messages_per_connection %4d bytes_per_message\n",":",
2209
+    printf("%30s %2d messages_per_connection %4d bytes_per_message\n",":",
1666
         num_tcp_mesgs_per_connection, tcp_mesg_size);
2210
         num_tcp_mesgs_per_connection, tcp_mesg_size);
1667
 
2211
 
1668
--- ../pr/tests/threads.c	Sun Apr 25 11:01:02 2004
2212
     PR_DELETE(cparamp);
1669
+++ ../pr/tests/threads.c	Mon Jul 25 22:43:10 2005
2213
--- ../pr/tests/thrpool_server.c.orig	2015-10-16 13:22:19.000000000 +0000
1670
@@ -66,5 +66,5 @@
2214
+++ ../pr/tests/thrpool_server.c	2015-11-04 02:02:20.458033000 +0000
1671
 DumbThread(void *arg)
2215
@@ -329,7 +329,7 @@ TCP_Server(void *arg)
1672
 {
1673
-    PRInt32 tmp = (PRInt32)arg;
1674
+    PRInt32 tmp = (PRInt32)(intptr_t)arg;
1675
     PRThreadScope scope = (PRThreadScope)tmp;
1676
     PRThread *thr;
1677
@@ -214,8 +214,8 @@
1678
     if (debug_mode)
1679
     {
1680
-    printf("\
1681
-** Tests lots of thread creations.  \n\
1682
-** Create %ld native threads %ld times. \n\
1683
-** Create %ld user threads %ld times \n", iterations,count,iterations,count);
1684
+    printf("** Tests lots of thread creations.\n"
1685
+	"** Create %d native threads %d times.\n"
1686
+	"** Create %d user threads %d times.\n", iterations, count,
1687
+	iterations, count);
1688
     }
2216
     }
1689
 
2217
 
1690
--- ../pr/tests/thruput.c.orig	2009-02-23 00:00:45.000000000 -0500
2218
     DPRINTF((
1691
+++ ../pr/tests/thruput.c	2009-11-04 16:56:33.000000000 -0500
2219
-	"TCP_Server: PR_BIND netaddr.inet.ip = 0x%lx, netaddr.inet.port = %d\n",
1692
@@ -99,5 +99,5 @@
2220
+	"TCP_Server: PR_BIND netaddr.inet.ip = 0x%x, netaddr.inet.port = %d\n",
2221
         netaddr.inet.ip, netaddr.inet.port));
2222
 
2223
 	sp = PR_NEW(Server_Param);
2224
@@ -341,7 +341,7 @@ TCP_Server(void *arg)
2225
 	sp->iod.socket = sockfd;
2226
 	sp->iod.timeout = PR_SecondsToInterval(60);
2227
 	sp->datalen = tcp_mesg_size;
2228
-	sp->exit_mon = sc_mon;
2229
+	sp->exit_mon = NULL;
2230
 	sp->job_counterp = &job_counter;
2231
 	sp->conn_counter = 0;
2232
 	sp->tp = tp;
2233
@@ -464,7 +464,7 @@ TCP_Server_Accept(void *arg)
2234
 						PR_FALSE);
2235
 
2236
 	PR_ASSERT(NULL != jobp);
2237
-	DPRINTF(("TCP_Server: Created Serve_Client = 0x%lx\n", jobp));
2238
+	DPRINTF(("TCP_Server: Created Serve_Client = %p\n", jobp));
2239
 
2240
 	/*
2241
 	 * single-threaded update; no lock needed
2242
@@ -481,7 +481,7 @@ TCP_Server_Accept(void *arg)
2243
 						print_stats, sp, PR_FALSE);
2244
 
2245
 	PR_ASSERT(NULL != jobp);
2246
-	DPRINTF(("TCP_Server: Created print_stats timer job = 0x%lx\n", jobp));
2247
+	DPRINTF(("TCP_Server: Created print_stats timer job = %p\n", jobp));
2248
 
2249
 exit:
2250
 	PR_EnterMonitor(sp->exit_mon);
2251
@@ -498,9 +498,9 @@ exit:
2252
     }
2253
 	PR_DestroyMonitor(sp->exit_mon);
2254
     printf("%30s","TCP_Socket_Client_Server_Test:");
2255
-    printf("%2ld Server %2ld Clients %2ld connections_per_client\n",1l,
2256
+    printf(" 1 Server %2d Clients %2d connections_per_client\n",
2257
         num_tcp_clients, num_tcp_connections_per_client);
2258
-    printf("%30s %2ld messages_per_connection %4ld bytes_per_message\n",":",
2259
+    printf("%30s %2d messages_per_connection %4d bytes_per_message\n",":",
2260
         num_tcp_mesgs_per_connection, tcp_mesg_size);
2261
 
2262
 	DPRINTF(("%s: calling PR_ShutdownThreadPool\n", program_name));
2263
--- ../pr/tests/thruput.c.orig	2015-10-16 13:22:19.000000000 +0000
2264
+++ ../pr/tests/thruput.c	2015-11-04 02:02:20.459783000 +0000
2265
@@ -66,7 +66,7 @@ static void PR_CALLBACK Clientel(void *a
2266
 {
1693
     PRStatus rv;
2267
     PRStatus rv;
1694
     PRFileDesc *xport;
2268
     PRFileDesc *xport;
1695
-    PRInt32 bytes, sampled;
2269
-    PRInt32 bytes, sampled;
Lines 1696-1702 Link Here
1696
+    PRInt32 bytes, sampled = -1;
2270
+    PRInt32 bytes, sampled = -1;
1697
     PRIntervalTime now, interval;
2271
     PRIntervalTime now, interval;
1698
     PRBool do_display = PR_FALSE;
2272
     PRBool do_display = PR_FALSE;
1699
@@ -208,5 +208,5 @@
2273
     Shared *shared = (Shared*)arg;
2274
@@ -175,7 +175,7 @@ static void Client(const char *server_na
2275
 
1700
 static void PR_CALLBACK Servette(void *arg)
2276
 static void PR_CALLBACK Servette(void *arg)
1701
 {
2277
 {
1702
-    PRInt32 bytes, sampled;
2278
-    PRInt32 bytes, sampled;
Lines 1703-1717 Link Here
1703
+    PRInt32 bytes, sampled = -1;
2279
+    PRInt32 bytes, sampled = -1;
1704
     PRIntervalTime now, interval;
2280
     PRIntervalTime now, interval;
1705
     PRBool do_display = PR_FALSE;
2281
     PRBool do_display = PR_FALSE;
1706
@@ -405,4 +405,5 @@
2282
     PRFileDesc *client = (PRFileDesc*)arg;
2283
@@ -373,6 +373,7 @@ int main(int argc, char **argv)
1707
     else Client(server_name);
2284
     else Client(server_name);
1708
 
2285
 
2286
     return 0;
1709
+    return 0;
2287
+    return 0;
1710
 }  /* main */
2288
 }  /* main */
1711
 
2289
 
1712
--- ../pr/tests/timemac.c	Sun Apr 25 11:01:02 2004
2290
 /* thruput.c */
1713
+++ ../pr/tests/timemac.c	Mon Jul 25 22:45:33 2005
2291
--- ../pr/tests/timemac.c.orig	2015-10-16 13:22:19.000000000 +0000
1714
@@ -63,5 +63,5 @@
2292
+++ ../pr/tests/timemac.c	2015-11-04 02:02:20.460286000 +0000
2293
@@ -24,7 +24,7 @@ static void printExplodedTime(const PREx
2294
     const char *sign;
1715
 
2295
 
1716
     /* Print day of the week, month, day, hour, minute, and second */
2296
     /* Print day of the week, month, day, hour, minute, and second */
1717
-    printf( "%s %s %ld %02ld:%02ld:%02ld ",
2297
-    printf( "%s %s %ld %02ld:%02ld:%02ld ",
Lines 1718-1724 Link Here
1718
+    printf( "%s %s %d %02d:%02d:%02d ",
2298
+    printf( "%s %s %d %02d:%02d:%02d ",
1719
 	    dayOfWeek[et->tm_wday], month[et->tm_month], et->tm_mday,
2299
 	    dayOfWeek[et->tm_wday], month[et->tm_month], et->tm_mday,
1720
 	    et->tm_hour, et->tm_min, et->tm_sec);
2300
 	    et->tm_hour, et->tm_min, et->tm_sec);
1721
@@ -79,5 +79,5 @@
2301
 
2302
@@ -40,7 +40,7 @@ static void printExplodedTime(const PREx
2303
         }
1722
         hourOffset = totalOffset / 3600;
2304
         hourOffset = totalOffset / 3600;
1723
         minOffset = (totalOffset % 3600) / 60;
2305
         minOffset = (totalOffset % 3600) / 60;
1724
-        printf("%s%02ld%02ld ", sign, hourOffset, minOffset);
2306
-        printf("%s%02ld%02ld ", sign, hourOffset, minOffset);
Lines 1725-1731 Link Here
1725
+        printf("%s%02d%02d ", sign, hourOffset, minOffset);
2307
+        printf("%s%02d%02d ", sign, hourOffset, minOffset);
1726
     }
2308
     }
1727
 
2309
 
1728
@@ -140,5 +140,5 @@
2310
     /* Print year */
2311
@@ -97,7 +97,7 @@ int main(int argc, char** argv)
2312
         printf("Current local time is ");
1729
 	printExplodedTime(&et);
2313
 	printExplodedTime(&et);
1730
 	printf("\n");
2314
 	printf("\n");
1731
-	printf("GMT offset is %ld, DST offset is %ld\n",
2315
-	printf("GMT offset is %ld, DST offset is %ld\n",
Lines 1732-1740 Link Here
1732
+	printf("GMT offset is %d, DST offset is %d\n",
2316
+	printf("GMT offset is %d, DST offset is %d\n",
1733
 		et.tm_params.tp_gmt_offset, et.tm_params.tp_dst_offset);
2317
 		et.tm_params.tp_gmt_offset, et.tm_params.tp_dst_offset);
1734
         t2 = PR_ImplodeTime(&et);
2318
         t2 = PR_ImplodeTime(&et);
1735
--- ../pr/tests/timetest.c	Sun Apr 25 11:01:02 2004
2319
         if (LL_NE(t1, t2)) {
1736
+++ ../pr/tests/timetest.c	Mon Jul 25 22:48:03 2005
2320
--- ../pr/tests/timetest.c.orig	2015-10-16 13:22:19.000000000 +0000
1737
@@ -75,5 +75,5 @@
2321
+++ ../pr/tests/timetest.c	2015-11-04 02:02:20.460982000 +0000
2322
@@ -36,7 +36,7 @@ static void PrintExplodedTime(const PREx
2323
     const char *sign;
1738
 
2324
 
1739
     /* Print day of the week, month, day, hour, minute, and second */
2325
     /* Print day of the week, month, day, hour, minute, and second */
1740
-    if (debug_mode) printf("%s %s %ld %02ld:%02ld:%02ld ",
2326
-    if (debug_mode) printf("%s %s %ld %02ld:%02ld:%02ld ",
Lines 1741-1747 Link Here
1741
+    if (debug_mode) printf("%s %s %d %02d:%02d:%02d ",
2327
+    if (debug_mode) printf("%s %s %d %02d:%02d:%02d ",
1742
 	    dayOfWeek[et->tm_wday], month[et->tm_month], et->tm_mday,
2328
 	    dayOfWeek[et->tm_wday], month[et->tm_month], et->tm_mday,
1743
 	    et->tm_hour, et->tm_min, et->tm_sec);
2329
 	    et->tm_hour, et->tm_min, et->tm_sec);
1744
@@ -92,5 +92,5 @@
2330
 
2331
@@ -53,7 +53,7 @@ static void PrintExplodedTime(const PREx
2332
         hourOffset = totalOffset / 3600;
1745
         minOffset = (totalOffset % 3600) / 60;
2333
         minOffset = (totalOffset % 3600) / 60;
1746
         if (debug_mode) 
2334
         if (debug_mode) 
1747
-            printf("%s%02ld%02ld ", sign, hourOffset, minOffset);
2335
-            printf("%s%02ld%02ld ", sign, hourOffset, minOffset);
Lines 1748-1754 Link Here
1748
+            printf("%s%02d%02d ", sign, hourOffset, minOffset);
2336
+            printf("%s%02d%02d ", sign, hourOffset, minOffset);
1749
     }
2337
     }
1750
 
2338
 
1751
@@ -276,5 +276,5 @@
2339
     /* Print year */
2340
@@ -232,7 +232,7 @@ int main(int argc, char** argv)
2341
         if (debug_mode) printf("Current local time is ");
1752
 	PrintExplodedTime(&et);
2342
 	PrintExplodedTime(&et);
1753
 	if (debug_mode) printf("\n");
2343
 	if (debug_mode) printf("\n");
1754
-	if (debug_mode) printf("GMT offset is %ld, DST offset is %ld\n",
2344
-	if (debug_mode) printf("GMT offset is %ld, DST offset is %ld\n",
Lines 1755-1763 Link Here
1755
+	if (debug_mode) printf("GMT offset is %d, DST offset is %d\n",
2345
+	if (debug_mode) printf("GMT offset is %d, DST offset is %d\n",
1756
 		et.tm_params.tp_gmt_offset, et.tm_params.tp_dst_offset);
2346
 		et.tm_params.tp_gmt_offset, et.tm_params.tp_dst_offset);
1757
         t2 = PR_ImplodeTime(&et);
2347
         t2 = PR_ImplodeTime(&et);
1758
--- ../pr/tests/y2k.c	Sun Apr 25 11:01:02 2004
2348
         if (LL_NE(t1, t2)) {
1759
+++ ../pr/tests/y2k.c	Mon Jul 25 22:49:18 2005
2349
--- ../pr/tests/y2k.c.orig	2015-10-16 13:22:19.000000000 +0000
1760
@@ -82,5 +82,5 @@
2350
+++ ../pr/tests/y2k.c	2015-11-04 02:02:20.461806000 +0000
2351
@@ -43,7 +43,7 @@ static void PrintExplodedTime(const PREx
2352
     const char *sign;
1761
 
2353
 
1762
     /* Print day of the week, month, day, hour, minute, and second */
2354
     /* Print day of the week, month, day, hour, minute, and second */
1763
-    printf("%s %s %2ld %02ld:%02ld:%02ld ",
2355
-    printf("%s %s %2ld %02ld:%02ld:%02ld ",
Lines 1764-1770 Link Here
1764
+    printf("%s %s %2d %02d:%02d:%02d ",
2356
+    printf("%s %s %2d %02d:%02d:%02d ",
1765
 	    dayOfWeek[et->tm_wday], month[et->tm_month], et->tm_mday,
2357
 	    dayOfWeek[et->tm_wday], month[et->tm_month], et->tm_mday,
1766
 	    et->tm_hour, et->tm_min, et->tm_sec);
2358
 	    et->tm_hour, et->tm_min, et->tm_sec);
1767
@@ -101,5 +101,5 @@
2359
 
2360
@@ -62,7 +62,7 @@ static void PrintExplodedTime(const PREx
2361
         }
1768
         hourOffset = totalOffset / 3600;
2362
         hourOffset = totalOffset / 3600;
1769
         minOffset = (totalOffset % 3600) / 60;
2363
         minOffset = (totalOffset % 3600) / 60;
1770
-        printf("%s%02ld%02ld ", sign, hourOffset, minOffset);
2364
-        printf("%s%02ld%02ld ", sign, hourOffset, minOffset);
Lines 1771-1779 Link Here
1771
+        printf("%s%02d%02d ", sign, hourOffset, minOffset);
2365
+        printf("%s%02d%02d ", sign, hourOffset, minOffset);
1772
     }
2366
     }
1773
 #ifdef PRINT_DETAILS
2367
 #ifdef PRINT_DETAILS
1774
--- ../pr/tests/y2ktmo.c	Sun Apr 25 11:01:02 2004
2368
 	printf("{%d, %d, %d, %d, %d, %d, %d, %d, %d, { %d, %d}}\n",et->tm_usec,
1775
+++ ../pr/tests/y2ktmo.c	Mon Jul 25 22:58:00 2005
2369
--- ../pr/tests/y2ktmo.c.orig	2015-10-16 13:22:19.000000000 +0000
1776
@@ -95,5 +95,5 @@
2370
+++ ../pr/tests/y2ktmo.c	2015-11-04 02:02:20.462515000 +0000
2371
@@ -70,7 +70,7 @@ static struct _timeb start_time_tb;
2372
 
1777
 static void SleepThread(void *arg)
2373
 static void SleepThread(void *arg)
1778
 {
2374
 {
1779
-    PRIntervalTime timeout = (PRIntervalTime) arg;
2375
-    PRIntervalTime timeout = (PRIntervalTime) arg;
Lines 1780-1786 Link Here
1780
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
2376
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
1781
     PRIntervalTime elapsed;
2377
     PRIntervalTime elapsed;
1782
 #if defined(XP_UNIX) || defined(WIN32)
2378
 #if defined(XP_UNIX) || defined(WIN32)
1783
@@ -142,5 +142,5 @@
2379
     PRInt32 timeout_msecs = PR_IntervalToMilliseconds(timeout);
2380
@@ -121,7 +121,7 @@ static void SleepThread(void *arg)
2381
 
1784
 static void AcceptThread(void *arg)
2382
 static void AcceptThread(void *arg)
1785
 {
2383
 {
1786
-    PRIntervalTime timeout = (PRIntervalTime) arg;
2384
-    PRIntervalTime timeout = (PRIntervalTime) arg;
Lines 1787-1793 Link Here
1787
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
2385
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
1788
     PRIntervalTime elapsed;
2386
     PRIntervalTime elapsed;
1789
 #if defined(XP_UNIX) || defined(WIN32)
2387
 #if defined(XP_UNIX) || defined(WIN32)
1790
@@ -214,5 +214,5 @@
2388
     PRInt32 timeout_msecs = PR_IntervalToMilliseconds(timeout);
2389
@@ -197,7 +197,7 @@ static void AcceptThread(void *arg)
2390
 
1791
 static void PollThread(void *arg)
2391
 static void PollThread(void *arg)
1792
 {
2392
 {
1793
-    PRIntervalTime timeout = (PRIntervalTime) arg;
2393
-    PRIntervalTime timeout = (PRIntervalTime) arg;
Lines 1794-1800 Link Here
1794
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
2394
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
1795
     PRIntervalTime elapsed;
2395
     PRIntervalTime elapsed;
1796
 #if defined(XP_UNIX) || defined(WIN32)
2396
 #if defined(XP_UNIX) || defined(WIN32)
1797
@@ -289,5 +289,5 @@
2397
     PRInt32 timeout_msecs = PR_IntervalToMilliseconds(timeout);
2398
@@ -276,7 +276,7 @@ static void PollThread(void *arg)
2399
 
1798
 static void WaitCondVarThread(void *arg)
2400
 static void WaitCondVarThread(void *arg)
1799
 {
2401
 {
1800
-    PRIntervalTime timeout = (PRIntervalTime) arg;
2402
-    PRIntervalTime timeout = (PRIntervalTime) arg;
Lines 1801-1807 Link Here
1801
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
2403
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
1802
     PRIntervalTime elapsed;
2404
     PRIntervalTime elapsed;
1803
 #if defined(XP_UNIX) || defined(WIN32)
2405
 #if defined(XP_UNIX) || defined(WIN32)
1804
@@ -349,5 +349,5 @@
2406
     PRInt32 timeout_msecs = PR_IntervalToMilliseconds(timeout);
2407
@@ -340,7 +340,7 @@ static void WaitCondVarThread(void *arg)
2408
 
1805
 static void WaitMonitorThread(void *arg)
2409
 static void WaitMonitorThread(void *arg)
1806
 {
2410
 {
1807
-    PRIntervalTime timeout = (PRIntervalTime) arg;
2411
-    PRIntervalTime timeout = (PRIntervalTime) arg;
Lines 1808-1814 Link Here
1808
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
2412
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
1809
     PRIntervalTime elapsed;
2413
     PRIntervalTime elapsed;
1810
 #if defined(XP_UNIX) || defined(WIN32)
2414
 #if defined(XP_UNIX) || defined(WIN32)
1811
@@ -402,5 +402,5 @@
2415
     PRInt32 timeout_msecs = PR_IntervalToMilliseconds(timeout);
2416
@@ -397,7 +397,7 @@ static void WaitMonitorThread(void *arg)
2417
 
1812
 static void WaitCMonitorThread(void *arg)
2418
 static void WaitCMonitorThread(void *arg)
1813
 {
2419
 {
1814
-    PRIntervalTime timeout = (PRIntervalTime) arg;
2420
-    PRIntervalTime timeout = (PRIntervalTime) arg;
Lines 1815-1821 Link Here
1815
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
2421
+    PRIntervalTime timeout = (PRIntervalTime)(intptr_t)arg;
1816
     PRIntervalTime elapsed;
2422
     PRIntervalTime elapsed;
1817
 #if defined(XP_UNIX) || defined(WIN32)
2423
 #if defined(XP_UNIX) || defined(WIN32)
1818
@@ -525,5 +525,5 @@
2424
     PRInt32 timeout_msecs = PR_IntervalToMilliseconds(timeout);
2425
@@ -528,7 +528,7 @@ int main(int argc, char **argv)
2426
     for (i = 0; i < num_thread_scopes; i++) { 
1819
         for (j = 0; j < num_thread_funcs; j++) {
2427
         for (j = 0; j < num_thread_funcs; j++) {
1820
             threads[idx] = PR_CreateThread(PR_USER_THREAD, threadFuncs[j],
2428
             threads[idx] = PR_CreateThread(PR_USER_THREAD, threadFuncs[j],
1821
-                (void*)PR_SecondsToInterval(secs), PR_PRIORITY_NORMAL,
2429
-                (void*)PR_SecondsToInterval(secs), PR_PRIORITY_NORMAL,
Lines 1822-1830 Link Here
1822
+                (void*)(intptr_t)PR_SecondsToInterval(secs), PR_PRIORITY_NORMAL,
2430
+                (void*)(intptr_t)PR_SecondsToInterval(secs), PR_PRIORITY_NORMAL,
1823
                 threadScopes[i], PR_JOINABLE_THREAD, 0);
2431
                 threadScopes[i], PR_JOINABLE_THREAD, 0);
1824
             if (threads[idx] == NULL) {
2432
             if (threads[idx] == NULL) {
1825
--- ../pr/tests/zerolen.c.orig	2012-03-06 14:14:33.000000000 +0100
2433
                 fprintf(stderr, "PR_CreateThread failed\n");
1826
+++ ../pr/tests/zerolen.c	2012-06-04 13:39:40.000000000 +0200
2434
--- ../pr/tests/zerolen.c.orig	2015-10-16 13:22:19.000000000 +0000
1827
@@ -45,7 +45,7 @@
2435
+++ ../pr/tests/zerolen.c	2015-11-04 02:02:20.463071000 +0000
2436
@@ -45,7 +45,7 @@ static void ClientThread(void *arg)
1828
 {
2437
 {
1829
     PRFileDesc *sock;
2438
     PRFileDesc *sock;
1830
     PRNetAddr addr;
2439
     PRNetAddr addr;
Lines 1833-1839 Link Here
1833
     char buf[1024];
2442
     char buf[1024];
1834
     PRInt32 nbytes;
2443
     PRInt32 nbytes;
1835
 
2444
 
1836
@@ -127,7 +127,7 @@
2445
@@ -127,7 +127,7 @@ int main()
1837
      * First test PR_Writev.
2446
      * First test PR_Writev.
1838
      */
2447
      */
1839
     clientThread = PR_CreateThread(PR_USER_THREAD,
2448
     clientThread = PR_CreateThread(PR_USER_THREAD,
Lines 1842-1848 Link Here
1842
             PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
2451
             PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
1843
     if (NULL == clientThread) {
2452
     if (NULL == clientThread) {
1844
         fprintf(stderr, "PR_CreateThread failed\n");
2453
         fprintf(stderr, "PR_CreateThread failed\n");
1845
@@ -171,7 +171,7 @@
2454
@@ -171,7 +171,7 @@ int main()
1846
      * Then test PR_Write.
2455
      * Then test PR_Write.
1847
      */
2456
      */
1848
     clientThread = PR_CreateThread(PR_USER_THREAD,
2457
     clientThread = PR_CreateThread(PR_USER_THREAD,
Lines 1851-1857 Link Here
1851
             PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
2460
             PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
1852
     if (NULL == clientThread) {
2461
     if (NULL == clientThread) {
1853
         fprintf(stderr, "PR_CreateThread failed\n");
2462
         fprintf(stderr, "PR_CreateThread failed\n");
1854
@@ -216,7 +216,7 @@
2463
@@ -216,7 +216,7 @@ int main()
1855
      * Finally test PR_Send.
2464
      * Finally test PR_Send.
1856
      */
2465
      */
1857
     clientThread = PR_CreateThread(PR_USER_THREAD,
2466
     clientThread = PR_CreateThread(PR_USER_THREAD,
Lines 1860-2047 Link Here
1860
             PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
2469
             PR_PRIORITY_NORMAL, PR_GLOBAL_THREAD, PR_JOINABLE_THREAD, 0);
1861
     if (NULL == clientThread) {
2470
     if (NULL == clientThread) {
1862
         fprintf(stderr, "PR_CreateThread failed\n");
2471
         fprintf(stderr, "PR_CreateThread failed\n");
1863
--- ../pr/tests/runtests.sh	Sun Apr 25 11:01:02 2004
1864
+++ ../pr/tests/runtests.sh	Tue Jul 26 00:01:35 2005
1865
@@ -85,7 +85,4 @@
1866
 #
1867
 
1868
-#forktest (failed on IRIX)
1869
-#nbconn - fails on some platforms 
1870
-#poll_er - fails on some platforms? limited use?
1871
 #prpoll -  the bad-FD test needs to be moved to a different test
1872
 #sleep	-  specific to OS/2
1873
@@ -119,4 +116,5 @@
1874
 fileio
1875
 foreign
1876
+forktest
1877
 formattm
1878
 fsync
1879
@@ -126,5 +124,4 @@
1880
 initclk
1881
 inrval
1882
-instrumt
1883
 intrio
1884
 intrupt
1885
@@ -146,4 +143,5 @@
1886
 multiwait
1887
 nameshm1
1888
+nbconn
1889
 nblayer
1890
 nonblock
1891
@@ -161,4 +159,5 @@
1892
 pipeping2
1893
 pipeself
1894
+poll_er
1895
 poll_nm
1896
 poll_to
1897
@@ -230,5 +229,5 @@
1898
 printf "BEGIN\t\t\t`date`\n"
1899
 printf "NSPR_TEST_LOGFILE\t${LOGFILE}\n\n"
1900
-printf "Test\t\t\tResult\n\n"
1901
+printf "            Test\t\t\tResult\n\n"
1902
 if [ $OS_PLATFORM = "Windows_95" ] || [ $OS_PLATFORM = "Windows_98" ] || [ $OS_PLATFORM = "Windows_NT" ] || [ $OS_PLATFORM = "OS/2" ] ; then
1903
 	for prog in $TESTS
1904
@@ -248,8 +247,6 @@
1905
 	for prog in $TESTS
1906
 	do
1907
-		printf "$prog"
1908
-		printf "\nBEGIN TEST: $prog\n\n" >> ${LOGFILE} 2>&1
1909
-		export test_rval
1910
-		./$prog >> ${LOGFILE} 2>&1 &
1911
+		printf %16s $prog
1912
+		./$prog >> $prog.output 2>&1 &
1913
 		test_pid=$!
1914
 		sleep_pid=0
1915
@@ -266,7 +263,7 @@
1916
 		else
1917
 			printf "\t\t\tFAILED\n";
1918
+			sed "s,^,	$prog:	," < $prog.output
1919
 			rval=1
1920
 		fi;
1921
-		printf "\nEND TEST: $prog\n\n" >> ${LOGFILE} 2>&1
1922
 	done
1923
 fi;
1924
@@ -274,19 +271,2 @@
1925
 printf "END\t\t\t`date`\n"
1926
 exit $rval
1927
-
1928
-
1929
-
1930
-
1931
-
1932
-
1933
-
1934
-
1935
-
1936
-
1937
-
1938
-
1939
-
1940
-
1941
-
1942
-
1943
-
1944
--- ../pr/tests/server_test.c.orig	2009-03-18 10:49:45.000000000 +0100
1945
+++ ../pr/tests/server_test.c	2009-06-17 09:30:18.000000000 +0200
1946
@@ -92,7 +92,7 @@
1947
 #ifdef DEBUGPRINTS
1948
 #define DPRINTF printf
1949
 #else
1950
-#define DPRINTF
1951
+#define DPRINTF(...)
1952
 #endif
1953
 
1954
 
1955
@@ -534,6 +534,7 @@
1956
     do_work();
1957
 }
1958
 
1959
+#if 0
1960
 static void do_workUK(void)
1961
 {
1962
     ServerScope = PR_LOCAL_THREAD;
1963
@@ -554,6 +555,7 @@
1964
     ClientScope = PR_GLOBAL_THREAD;
1965
     do_work();
1966
 }
1967
+#endif
1968
 
1969
 
1970
 static void Measure(void (*func)(void), const char *msg)
1971
--- ../pr/tests/servr_ku.c.orig	2009-03-18 10:49:46.000000000 +0100
1972
+++ ../pr/tests/servr_ku.c	2009-06-17 09:51:45.000000000 +0200
1973
@@ -89,7 +89,7 @@
1974
 #ifdef DEBUGPRINTS
1975
 #define DPRINTF printf
1976
 #else
1977
-#define DPRINTF
1978
+#define DPRINTF(...)
1979
 #endif
1980
 
1981
 PRIntn failed_already=0;
1982
--- ../pr/tests/servr_uk.c.orig	2009-03-18 10:49:46.000000000 +0100
1983
+++ ../pr/tests/servr_uk.c	2009-06-17 09:53:37.000000000 +0200
1984
@@ -89,7 +89,7 @@
1985
 #ifdef DEBUGPRINTS
1986
 #define DPRINTF printf
1987
 #else
1988
-#define DPRINTF
1989
+#define DPRINTF(...)
1990
 #endif
1991
 
1992
 PRIntn failed_already=0;
1993
--- ../pr/tests/servr_uu.c.orig	2009-03-18 10:49:46.000000000 +0100
1994
+++ ../pr/tests/servr_uu.c	2009-06-17 09:55:30.000000000 +0200
1995
@@ -89,7 +89,7 @@
1996
 #ifdef DEBUGPRINTS
1997
 #define DPRINTF printf
1998
 #else
1999
-#define DPRINTF
2000
+#define DPRINTF(...)
2001
 #endif
2002
 
2003
 PRIntn failed_already=0;
2004
--- ../pr/tests/cltsrv.c	2009-05-06 01:40:38.000000000 -0400
2005
+++ ../pr/tests/cltsrv.c	2009-11-04 15:34:25.000000000 -0500
2006
@@ -920,5 +920,5 @@
2007
     PRUintn index;
2008
     PRBool boolean;
2009
-    CSClient_t *client;
2010
+    CSClient_t *client = NULL;
2011
     PRStatus rv, joinStatus;
2012
     CSServer_t *server = NULL;
2013
--- ../pr/tests/parsetm.c	2009-05-11 18:23:19.000000000 -0400
2014
+++ ../pr/tests/parsetm.c	2009-11-04 16:27:29.000000000 -0500
2015
@@ -64,6 +64,6 @@
2016
     /* Print day of the week, month, day, hour, minute, and second */
2017
     if (debug_mode) printf("%s %s %ld %02ld:%02ld:%02ld ",
2018
-	    dayOfWeek[et->tm_wday], month[et->tm_month], et->tm_mday,
2019
-	    et->tm_hour, et->tm_min, et->tm_sec);
2020
+	    dayOfWeek[et->tm_wday], month[et->tm_month], (long)et->tm_mday,
2021
+	    (long)et->tm_hour, (long)et->tm_min, (long)et->tm_sec);
2022
 
2023
     /* Print time zone */
2024
@@ -80,4 +80,4 @@
2025
         minOffset = (totalOffset % 3600) / 60;
2026
         if (debug_mode) 
2027
-            printf("%s%02ld%02ld ", sign, hourOffset, minOffset);
2028
+            printf("%s%02ld%02ld ", sign, (long)hourOffset, (long)minOffset);
2029
     }
2030
--- ../pr/tests/provider.c	2009-05-06 01:40:39.000000000 -0400
2031
+++ ../pr/tests/provider.c	2009-11-04 16:29:30.000000000 -0500
2032
@@ -1082,5 +1082,5 @@
2033
     PRUintn index;
2034
     PRBool boolean;
2035
-    CSClient_t *client;
2036
+    CSClient_t *client = NULL;
2037
     PRStatus rv, joinStatus;
2038
     CSServer_t *server = NULL;
2039
--- ../pr/tests/switch.c	2009-05-06 01:40:39.000000000 -0400
2040
+++ ../pr/tests/switch.c	2009-11-04 16:48:07.000000000 -0500
2041
@@ -113,5 +113,5 @@
2042
     PRBool help = PR_FALSE;
2043
     PRUintn concurrency = 1;
2044
-    Shared *shared, *link;
2045
+    Shared *shared = NULL, *link;
2046
     PRIntervalTime timein, timeout;
2047
     PRThreadScope thread_scope = PR_LOCAL_THREAD;
(-)www/firefox/Makefile (-5 / +6 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	firefox
4
PORTNAME=	firefox
5
DISTVERSION=	41.0.2
5
DISTVERSION=	42.0
6
DISTVERSIONSUFFIX=.source
6
DISTVERSIONSUFFIX=.source
7
PORTEPOCH=	1
7
PORTEPOCH=	1
8
CATEGORIES=	www ipv6
8
CATEGORIES=	www ipv6
Lines 25-32 Link Here
25
		v4l_compat>0:${PORTSDIR}/multimedia/v4l_compat \
25
		v4l_compat>0:${PORTSDIR}/multimedia/v4l_compat \
26
		autoconf-2.13:${PORTSDIR}/devel/autoconf213 \
26
		autoconf-2.13:${PORTSDIR}/devel/autoconf213 \
27
		zip:${PORTSDIR}/archivers/zip \
27
		zip:${PORTSDIR}/archivers/zip \
28
		unzip:${PORTSDIR}/archivers/unzip
28
		unzip:${PORTSDIR}/archivers/unzip \
29
#		opus>=1.1:${PORTSDIR}/audio/opus \
29
		libav>0:${PORTSDIR}/multimedia/libav
30
30
31
LIB_DEPENDS=	libv4l2.so:${PORTSDIR}/multimedia/libv4l
31
LIB_DEPENDS=	libv4l2.so:${PORTSDIR}/multimedia/libv4l
32
32
Lines 40-45 Link Here
40
QT_NONSTANDARD=	yes
40
QT_NONSTANDARD=	yes
41
USE_GL=		gl
41
USE_GL=		gl
42
USES=		dos2unix tar:xz
42
USES=		dos2unix tar:xz
43
43
DOS2UNIX_FILES=	media/webrtc/trunk/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp
44
DOS2UNIX_FILES=	media/webrtc/trunk/webrtc/system_wrappers/source/spreadsortlib/spreadsort.hpp
44
45
45
FIREFOX_ICON=		${MOZILLA}.png
46
FIREFOX_ICON=		${MOZILLA}.png
Lines 46-52 Link Here
46
FIREFOX_ICON_SRC=	${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png
47
FIREFOX_ICON_SRC=	${PREFIX}/lib/${MOZILLA}/browser/chrome/icons/default/default48.png
47
MOZ_OPTIONS=	--program-transform-name='s/firefox/${MOZILLA}/' \
48
MOZ_OPTIONS=	--program-transform-name='s/firefox/${MOZILLA}/' \
48
		--enable-application=browser \
49
		--enable-application=browser \
49
		--enable-official-branding
50
		--enable-official-branding --with-system-av
50
51
51
OPTIONS_EXCLUDE=	LOGGING
52
OPTIONS_EXCLUDE=	LOGGING
52
OPTIONS_DEFAULT=	GTK2
53
OPTIONS_DEFAULT=	GTK2
Lines 57-63 Link Here
57
.include "${.CURDIR}/../../www/firefox/Makefile.options"
58
.include "${.CURDIR}/../../www/firefox/Makefile.options"
58
.include <bsd.port.pre.mk>
59
.include <bsd.port.pre.mk>
59
60
60
WRKSRC:=	${WRKDIR}/mozilla-release
61
WRKSRC:=	${WRKDIR}/${PORTNAME}-${PORTVERSION}
61
62
62
.if ${PORT_OPTIONS:MALSA}
63
.if ${PORT_OPTIONS:MALSA}
63
RUN_DEPENDS+=	alsa-lib>=1.0.27.2_1:${PORTSDIR}/audio/alsa-lib
64
RUN_DEPENDS+=	alsa-lib>=1.0.27.2_1:${PORTSDIR}/audio/alsa-lib
(-)www/firefox/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (firefox-41.0.2.source.tar.xz) = ff00689f4d2ff54c5eb7b3aa367560a3645800eb0c96e73a795e461461b1970e
1
SHA256 (firefox-42.0.source.tar.xz) = 994a346699298277b64ec0cab72660b8d3e5b879a2ac79207576f7e6c33da3ae
2
SIZE (firefox-41.0.2.source.tar.xz) = 159761468
2
SIZE (firefox-42.0.source.tar.xz) = 165766832
(-)www/firefox/files/patch-browser-app-nsBrowserApp.cpp (-1 / +1 lines)
Lines 1-6 Link Here
1
--- browser/app/nsBrowserApp.cpp~
1
--- browser/app/nsBrowserApp.cpp~
2
+++ browser/app/nsBrowserApp.cpp
2
+++ browser/app/nsBrowserApp.cpp
3
@@ -417,6 +417,8 @@ int main(int argc, char* argv[])
3
@@ -338,6 +338,8 @@ int main(int argc, char* argv[])
4
   TriggerQuirks();
4
   TriggerQuirks();
5
 #endif
5
 #endif
6
 
6
 
(-)www/firefox/files/patch-bug1181382 (-15 lines)
Lines 1-15 Link Here
1
--- dom/mobilemessage/MobileMessageManager.h.orig	2015-09-17 22:13:25 UTC
2
+++ dom/mobilemessage/MobileMessageManager.h
3
@@ -14,11 +14,11 @@
4
 class nsISmsService;
5
 class nsIDOMMozSmsMessage;
6
 class nsIDOMMozMmsMessage;
7
-class Promise;
8
 
9
 namespace mozilla {
10
 namespace dom {
11
 
12
+class Promise;
13
 class DOMRequest;
14
 class DOMCursor;
15
 struct MmsParameters;
(-)www/firefox/files/patch-bug779713 (-64 / +3 lines)
Lines 1-37 Link Here
1
diff --git mfbt/Alignment.h mfbt/Alignment.h
1
--- mfbt/Alignment.h.orig	2015-10-29 22:17:54.000000000 +0000
2
index e0843ca..353ec36 100644
2
+++ mfbt/Alignment.h	2015-11-03 21:24:20.123910000 +0000
3
--- mfbt/Alignment.h
3
@@ -44,7 +45,10 @@
4
+++ mfbt/Alignment.h
5
@@ -9,11 +9,20 @@
6
 #ifndef mozilla_Alignment_h
7
 #define mozilla_Alignment_h
8
 
9
+#include "mozilla/Attributes.h"
10
+
11
 #include <stddef.h>
12
 #include <stdint.h>
13
 
14
 namespace mozilla {
15
 
16
+#if defined(MOZ_HAVE_CXX11_ALIGNAS)
17
+#define MOZ_ALIGNOF(T) alignof(T)
18
+#elif defined(__GNUC__)
19
+#define MOZ_ALIGNOF(T) __alignof__(T)
20
+#elif defined(_MSC_VER)
21
+#define MOZ_ALIGNOF(T) __alignof(T)
22
+#else
23
 /*
24
  * This class, and the corresponding macro MOZ_ALIGNOF, figures out how many
25
  * bytes of alignment a given type needs.
26
@@ -32,6 +41,7 @@ public:
27
 };
28
 
29
 #define MOZ_ALIGNOF(T) mozilla::AlignmentFinder<T>::alignment
30
+#endif
31
 
32
 /*
33
  * Declare the MOZ_ALIGNED_DECL macro for declaring aligned types.
34
@@ -43,7 +53,10 @@ public:
35
  * will declare a two-character array |arr| aligned to 8 bytes.
4
  * will declare a two-character array |arr| aligned to 8 bytes.
36
  */
5
  */
37
 
6
 
Lines 43-75 Link Here
43
 #  define MOZ_ALIGNED_DECL(_type, _align) \
12
 #  define MOZ_ALIGNED_DECL(_type, _align) \
44
      _type __attribute__((aligned(_align)))
13
      _type __attribute__((aligned(_align)))
45
 #elif defined(_MSC_VER)
14
 #elif defined(_MSC_VER)
46
diff --git mfbt/Attributes.h mfbt/Attributes.h
47
index d317766..ddb13da 100644
48
--- mfbt/Attributes.h
49
+++ mfbt/Attributes.h
50
@@ -50,6 +50,7 @@
51
  * don't indicate support for them here, due to
52
  * http://stackoverflow.com/questions/20498142/visual-studio-2013-explicit-keyword-bug
53
  */
54
+#  define MOZ_HAVE_CXX11_ALIGNAS
55
 #  define MOZ_HAVE_NEVER_INLINE          __declspec(noinline)
56
 #  define MOZ_HAVE_NORETURN              __declspec(noreturn)
57
 #  ifdef __clang__
58
@@ -70,6 +71,9 @@
59
 #  ifndef __has_extension
60
 #    define __has_extension __has_feature /* compatibility, for older versions of clang */
61
 #  endif
62
+#  if __has_extension(cxx_alignas)
63
+#    define MOZ_HAVE_CXX11_ALIGNAS
64
+#  endif
65
 #  if __has_extension(cxx_constexpr)
66
 #    define MOZ_HAVE_CXX11_CONSTEXPR
67
 #  endif
68
@@ -86,6 +90,7 @@
69
 #  if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L
70
 #    define MOZ_HAVE_CXX11_CONSTEXPR
71
 #    if MOZ_GCC_VERSION_AT_LEAST(4, 8, 0)
72
+#      define MOZ_HAVE_CXX11_ALIGNAS
73
 #      define MOZ_HAVE_CXX11_CONSTEXPR_IN_TEMPLATES
74
 #    endif
75
 #    define MOZ_HAVE_EXPLICIT_CONVERSION
(-)www/firefox/files/patch-bug847568 (-1 / +1 lines)
Lines 174-180 Link Here
174
index 1d0c2f9..adb8941 100644
174
index 1d0c2f9..adb8941 100644
175
--- gfx/skia/moz.build
175
--- gfx/skia/moz.build
176
+++ gfx/skia/moz.build
176
+++ gfx/skia/moz.build
177
@@ -970,6 +970,9 @@ if CONFIG['GNU_CXX']:
177
@@ -675,6 +675,9 @@ if CONFIG['GNU_CXX']:
178
     if CONFIG['CPU_ARCH'] == 'arm':
178
     if CONFIG['CPU_ARCH'] == 'arm':
179
         SOURCES['trunk/src/opts/SkBlitRow_opts_arm.cpp'].flags += ['-fomit-frame-pointer']
179
         SOURCES['trunk/src/opts/SkBlitRow_opts_arm.cpp'].flags += ['-fomit-frame-pointer']
180
 
180
 
(-)www/firefox/files/patch-bug981348 (-37 / +7 lines)
Lines 1-41 Link Here
1
diff --git dom/system/OSFileConstants.cpp dom/system/OSFileConstants.cpp
1
--- dom/system/OSFileConstants.cpp.orig	2015-10-29 22:17:58.000000000 +0000
2
index 4b21361..cb3be32 100644
2
+++ dom/system/OSFileConstants.cpp	2015-11-03 21:39:09.106304000 +0000
3
--- dom/system/OSFileConstants.cpp
3
@@ -662,7 +662,7 @@
4
+++ dom/system/OSFileConstants.cpp
5
@@ -596,7 +596,7 @@ static const dom::ConstantSpec gLibcProperties[] =
6
 
4
 
7
   { "OSFILE_SIZEOF_STATVFS", INT_TO_JSVAL(sizeof (struct statvfs)) },
5
   { "OSFILE_SIZEOF_STATVFS", JS::Int32Value(sizeof (struct statvfs)) },
8
 
6
 
9
-  { "OSFILE_OFFSETOF_STATVFS_F_BSIZE", INT_TO_JSVAL(offsetof (struct statvfs, f_bsize)) },
7
-  { "OSFILE_OFFSETOF_STATVFS_F_BSIZE", JS::Int32Value(offsetof (struct statvfs, f_bsize)) },
10
+  { "OSFILE_OFFSETOF_STATVFS_F_FRSIZE", INT_TO_JSVAL(offsetof (struct statvfs, f_frsize)) },
8
+  { "OSFILE_OFFSETOF_STATVFS_F_FRSIZE", JS::Int32Value(offsetof (struct statvfs, f_frsize)) },
11
   { "OSFILE_OFFSETOF_STATVFS_F_BAVAIL", INT_TO_JSVAL(offsetof (struct statvfs, f_bavail)) },
9
   { "OSFILE_OFFSETOF_STATVFS_F_BAVAIL", JS::Int32Value(offsetof (struct statvfs, f_bavail)) },
12
 
10
 
13
 #endif // defined(XP_UNIX)
11
 #endif // defined(XP_UNIX)
14
diff --git toolkit/components/osfile/modules/osfile_unix_back.jsm toolkit/components/osfile/modules/osfile_unix_back.jsm
15
index b59fca4..0cf220b 100644
16
--- toolkit/components/osfile/modules/osfile_unix_back.jsm
17
+++ toolkit/components/osfile/modules/osfile_unix_back.jsm
18
@@ -228,8 +228,8 @@
19
          let statvfs = new SharedAll.HollowStructure("statvfs",
20
            Const.OSFILE_SIZEOF_STATVFS);
21
 
22
-         statvfs.add_field_at(Const.OSFILE_OFFSETOF_STATVFS_F_BSIZE,
23
-                        "f_bsize", Type.unsigned_long.implementation);
24
+         statvfs.add_field_at(Const.OSFILE_OFFSETOF_STATVFS_F_FRSIZE,
25
+                        "f_frsize", Type.unsigned_long.implementation);
26
          statvfs.add_field_at(Const.OSFILE_OFFSETOF_STATVFS_F_BAVAIL,
27
                         "f_bavail", Type.fsblkcnt_t.implementation);
28
 
29
diff --git toolkit/components/osfile/modules/osfile_unix_front.jsm toolkit/components/osfile/modules/osfile_unix_front.jsm
30
index 99e5e9b..de642c5 100644
31
--- toolkit/components/osfile/modules/osfile_unix_front.jsm
32
+++ toolkit/components/osfile/modules/osfile_unix_front.jsm
33
@@ -373,7 +373,7 @@
34
        throw_on_negative("statvfs",  UnixFile.statvfs(sourcePath, fileSystemInfoPtr));
35
 
36
        let bytes = new Type.uint64_t.implementation(
37
-                        fileSystemInfo.f_bsize * fileSystemInfo.f_bavail);
38
+                        fileSystemInfo.f_frsize * fileSystemInfo.f_bavail);
39
 
40
        return bytes.value;
41
      };
(-)www/firefox/files/patch-memory-jemalloc-Makefile.in (-6 / +7 lines)
Lines 1-10 Link Here
1
--- memory/jemalloc/Makefile.in~
1
--- memory/mozjemalloc/Makefile.in.orig	2015-11-03 22:02:29.393485000 +0000
2
+++ memory/jemalloc/Makefile.in
2
+++ memory/mozjemalloc/Makefile.in	2015-11-03 22:02:40.241624000 +0000
3
@@ -7,3 +7,7 @@ include $(topsrcdir)/config/rules.mk
3
@@ -17,3 +17,8 @@ endif
4
 ifdef GNU_CC
5
 CFLAGS += -std=gnu99
6
 endif
4
 endif
7
+
5
 endif
6
7
+include $(topsrcdir)/config/config.mk
8
+ 
8
+# XXX startup crash workaround for gcc47 on amd64
9
+# XXX startup crash workaround for gcc47 on amd64
9
+jemalloc.$(OBJ_SUFFIX): OS_CFLAGS := $(filter-out -O3 -Ofast,$(OS_CFLAGS))
10
+jemalloc.$(OBJ_SUFFIX): OS_CFLAGS := $(filter-out -O3 -Ofast,$(OS_CFLAGS))
10
+jemalloc.$(OBJ_SUFFIX): MOZ_OPTIMIZE_FLAGS=
11
+jemalloc.$(OBJ_SUFFIX): MOZ_OPTIMIZE_FLAGS=
(-)www/firefox/files/patch-noyasm (+77 lines)
Line 0 Link Here
1
--- configure.in
2
+++ configure.in
3
@@ -6404,74 +6404,6 @@ elif test -n "$MOZ_LIBJPEG_TURBO"; then
4
 fi
5
 
6
 dnl ========================================================
7
-dnl = libav-fft configuration
8
-dnl ========================================================
9
-
10
-MOZ_LIBAV_FFT=
11
-
12
-dnl Turn on libav-fft for 32-bit windows, and all 64-bit supported platforms.
13
-dnl 32-bit linux/os x have text relocation issues.
14
-
15
-case "$OS_ARCH:$CPU_ARCH" in
16
-  WINNT:x86)
17
-      MOZ_LIBAV_FFT=1
18
-  ;;
19
-  *:x86_64)
20
-      MOZ_LIBAV_FFT=1
21
-  ;;
22
-esac
23
-
24
-dnl Detect if we can use yasm to compile libav's assembly
25
-
26
-if test -n "$MOZ_LIBAV_FFT"; then
27
-  AC_DEFINE(MOZ_LIBAV_FFT)
28
-  dnl Do we support libav-fft on this platform?
29
-  case "$OS_ARCH:$CPU_ARCH" in
30
-  Darwin:x86_64)
31
-    LIBAV_FFT_ASFLAGS="-f macho64 -rnasm -pnasm -D__x86_64__ -DPIC -DMACHO"
32
-  ;;
33
-  WINNT:x86)
34
-    LIBAV_FFT_ASFLAGS="-f win32 -rnasm -pnasm -DPIC -DWIN32"
35
-  ;;
36
-  WINNT:x86_64)
37
-    LIBAV_FFT_ASFLAGS="-f win64 -rnasm -pnasm -D__x86_64__ -DPIC -DWIN64 -DMSVC"
38
-  ;;
39
-  *:x86_64)
40
-    if $CC -E -dM -</dev/null | grep -q __ELF__; then
41
-      LIBAV_FFT_ASFLAGS="-f elf64 -rnasm -pnasm -D__x86_64__ -DPIC -DELF"
42
-    fi
43
-  ;;
44
-  *)
45
-    AC_MSG_ERROR([libav's FFT routines are only available for 32-bit windows or 64-bit x86 based platforms.])
46
-  ;;
47
-  esac
48
-fi
49
-
50
-if test -n "$LIBAV_FFT_ASFLAGS"; then
51
-  dnl If we're on an x86 or x64 system which supports libav-fft's asm routines
52
-  dnl check for Yasm, and error out if it doesn't exist or we have too old of a
53
-  dnl version.
54
-  LIBAV_FFT_AS=$YASM
55
-  if test -z "$LIBAV_FFT_AS" ; then
56
-    AC_MSG_ERROR([Yasm is required to build with libav's optimized FFT routines, but you do not appear to have Yasm installed. See https://developer.mozilla.org/en/YASM for more details.])
57
-  fi
58
-  dnl Check that we have the right yasm version.  We require 1.0.1 or newer
59
-  dnl on Linux and 1.1 or newer everywhere else.
60
-  if test "$OS_ARCH" = "Linux" ; then
61
-    if test "$_YASM_MAJOR_VERSION" -lt "1" -o \( "$_YASM_MAJOR_VERSION" -eq "1" -a "$_YASM_MINOR_VERSION" -eq "0" -a "$_YASM_RELEASE" -lt "1" \) ; then
62
-      AC_MSG_ERROR([Yasm 1.0.1 or greater is required to build with libav's optimized FFT routines, but you do not appear to have Yasm installed.  See https://developer.mozilla.org/en/YASM for more details.])
63
-    fi
64
-  else
65
-    if test "$_YASM_MAJOR_VERSION" -lt "1" -o \( "$_YASM_MAJOR_VERSION" -eq "1" -a "$_YASM_MINOR_VERSION" -lt "1" \) ; then
66
-      AC_MSG_ERROR([Yasm 1.1 or greater is required to build with libav's optimized FFT routines, but you do not appear to have Yasm installed.  See https://developer.mozilla.org/en/YASM for more details.])
67
-    fi
68
-  fi
69
-elif test -n "$MOZ_LIBAV_FFT" -a "${CPU_ARCH}" != "arm"; then
70
-  dnl Warn if we're not building either libav or opendl-max optimized routines.
71
-  AC_MSG_WARN([No assembler or assembly support for libav-fft.  Using unoptimized C routines.])
72
-fi
73
-
74
-dnl ========================================================
75
 dnl = Enable compilation of specific extension modules
76
 dnl ========================================================
77
 
(-)www/firefox/files/patch-soundtouch-revert (+136 lines)
Line 0 Link Here
1
--- ./dom/media/AudioStream.cpp.orig	2015-10-29 22:17:56.000000000 +0000
2
+++ ./dom/media/AudioStream.cpp	2015-11-04 04:07:11.782776000 +0000
3
@@ -129,7 +129,6 @@ AudioStream::AudioStream()
4
   , mOutChannels(0)
5
   , mWritten(0)
6
   , mAudioClock(this)
7
-  , mTimeStretcher(nullptr)
8
   , mLatencyRequest(HighLatency)
9
   , mReadPoint(0)
10
   , mDumpFile(nullptr)
11
@@ -152,9 +151,6 @@ AudioStream::~AudioStream()
12
   if (mDumpFile) {
13
     fclose(mDumpFile);
14
   }
15
-  if (mTimeStretcher) {
16
-    soundtouch::destroySoundTouchObj(mTimeStretcher);
17
-  }
18
 }
19
 
20
 size_t
21
@@ -177,7 +173,7 @@ nsresult AudioStream::EnsureTimeStretche
22
 {
23
   mMonitor.AssertCurrentThreadOwns();
24
   if (!mTimeStretcher) {
25
-    mTimeStretcher = soundtouch::createSoundTouchObj();
26
+    mTimeStretcher = new soundtouch::SoundTouch();
27
     mTimeStretcher->setSampleRate(mInRate);
28
     mTimeStretcher->setChannels(mOutChannels);
29
     mTimeStretcher->setPitch(1.0);
30
--- ./dom/media/AudioStream.h.orig	2015-10-29 22:17:56.000000000 +0000
31
+++ ./dom/media/AudioStream.h	2015-11-04 04:07:11.783405000 +0000
32
@@ -15,7 +15,7 @@
33
 #include "mozilla/RefPtr.h"
34
 #include "mozilla/UniquePtr.h"
35
 #include "CubebUtils.h"
36
-#include "soundtouch/SoundTouchFactory.h"
37
+#include "soundtouch/SoundTouch.h"
38
 
39
 namespace mozilla {
40
 
41
@@ -329,7 +329,7 @@ private:
42
   // Number of frames written to the buffers.
43
   int64_t mWritten;
44
   AudioClock mAudioClock;
45
-  soundtouch::SoundTouch* mTimeStretcher;
46
+  nsAutoPtr<soundtouch::SoundTouch> mTimeStretcher;
47
   nsRefPtr<AsyncLatencyLogger> mLatencyLog;
48
 
49
   // copy of Latency logger's starting time for offset calculations
50
--- ./media/libsoundtouch/src/SoundTouchFactory.cpp.orig	2015-10-29 22:17:50.000000000 +0000
51
+++ ./media/libsoundtouch/src/SoundTouchFactory.cpp	2015-11-04 04:07:11.783823000 +0000
52
@@ -1,31 +0,0 @@
53
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
54
-/* vim:set ts=2 sw=2 sts=2 et cindent: */
55
-/* This Source Code Form is subject to the terms of the Mozilla Public
56
- * License, v. 2.0. If a copy of the MPL was not distributed with this
57
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
58
-
59
-#include <soundtouch/SoundTouch.h>
60
-
61
-namespace soundtouch
62
-{
63
-
64
-EXPORT
65
-soundtouch::SoundTouch*
66
-createSoundTouchObj()
67
-{
68
-  return new soundtouch::SoundTouch();
69
-}
70
-
71
-EXPORT
72
-void
73
-destroySoundTouchObj(soundtouch::SoundTouch* aObj)
74
-{
75
-  // SoundTouch runs deletes in its destructor, meaning they need to be run in
76
-  // the DLL context. Gecko should send its SoundTouch obj pointers here to be
77
-  // cleaned up.
78
-  if (aObj) {
79
-    delete aObj;
80
-  }
81
-}
82
-
83
-}
84
--- ./media/libsoundtouch/src/SoundTouchFactory.h.orig	2015-10-29 22:17:50.000000000 +0000
85
+++ ./media/libsoundtouch/src/SoundTouchFactory.h	2015-11-04 04:07:11.784212000 +0000
86
@@ -1,22 +0,0 @@
87
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
88
-/* vim:set ts=2 sw=2 sts=2 et cindent: */
89
-/* This Source Code Form is subject to the terms of the Mozilla Public
90
- * License, v. 2.0. If a copy of the MPL was not distributed with this
91
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
92
-
93
-// Code for dealing with creating/deleting SoundTouch objects across DLL
94
-// boundaries.
95
-
96
-#include <soundtouch/STTypes.h>
97
-#include <soundtouch/SoundTouch.h>
98
-
99
-namespace soundtouch
100
-{
101
-EXPORT
102
-soundtouch::SoundTouch*
103
-createSoundTouchObj();
104
-
105
-EXPORT
106
-void
107
-destroySoundTouchObj(soundtouch::SoundTouch* aObj);
108
-}
109
--- ./media/libsoundtouch/src/moz.build.orig	2015-10-29 22:17:50.000000000 +0000
110
+++ ./media/libsoundtouch/src/moz.build	2015-11-04 04:07:11.784640000 +0000
111
@@ -8,7 +8,6 @@ EXPORTS.soundtouch += [
112
     'FIFOSamplePipe.h',
113
     'SoundTouch.h',
114
     'soundtouch_config.h',
115
-    'SoundTouchFactory.h',
116
     'STTypes.h',
117
 ]
118
 
119
@@ -22,7 +21,6 @@ UNIFIED_SOURCES += [
120
     'InterpolateShannon.cpp',
121
     'RateTransposer.cpp',
122
     'SoundTouch.cpp',
123
-    'SoundTouchFactory.cpp',
124
     'TDStretch.cpp',
125
 ]
126
 
127
--- ./media/libsoundtouch/src/soundtouch_perms.h.orig	2015-10-29 22:17:50.000000000 +0000
128
+++ ./media/libsoundtouch/src/soundtouch_perms.h	2015-11-04 04:07:11.785026000 +0000
129
@@ -12,7 +12,6 @@
130
 
131
 #pragma GCC visibility push(default)
132
 #include "SoundTouch.h"
133
-#include "SoundTouchFactory.h"
134
 #pragma GCC visibility pop
135
 
136
 #endif // MOZILLA_SOUNDTOUCH_PERMS_H
(-)www/firefox/files/patch-z-bug517422 (-20 / +6 lines)
Lines 67-85 Link Here
67
 ]
67
 ]
68
 
68
 
69
 DIRS += ['../../' + i for i in external_dirs]
69
 DIRS += ['../../' + i for i in external_dirs]
70
diff --git config/system-headers config/system-headers
71
index bef567c..9807c29 100644
72
--- config/system-headers
70
--- config/system-headers
73
+++ config/system-headers
71
+++ config/system-headers
74
@@ -1263,7 +1263,6 @@ X11/Xlocale.h
72
@@ -1257,8 +1257,6 @@ X11/Xlocale.h
75
 X11/Xos.h
73
 X11/Xos.h
76
 X11/Xutil.h
74
 X11/Xutil.h
77
 zmouse.h
75
 zmouse.h
78
-soundtouch/SoundTouch.h
76
-soundtouch/SoundTouch.h
79
 #if MOZ_NATIVE_PNG==1
77
-soundtouch/SoundTouchFactory.h
80
 png.h
78
 #if MOZ_LIBAV_FFT==1
79
 libavcodec/avfft.h
81
 #endif
80
 #endif
82
@@ -1325,6 +1324,7 @@ vorbis/codec.h
81
@@ -1323,6 +1321,7 @@ vorbis/codec.h
83
 theora/theoradec.h
82
 theora/theoradec.h
84
 tremor/ivorbiscodec.h
83
 tremor/ivorbiscodec.h
85
 speex/speex_resampler.h
84
 speex/speex_resampler.h
Lines 87-93 Link Here
87
 ogg/ogg.h
86
 ogg/ogg.h
88
 ogg/os_types.h
87
 ogg/os_types.h
89
 nestegg/nestegg.h
88
 nestegg/nestegg.h
90
@@ -1365,3 +1365,35 @@ graphite2/Segment.h
89
@@ -1364,3 +1363,35 @@ graphite2/Segment.h
91
 harfbuzz/hb-ot.h
90
 harfbuzz/hb-ot.h
92
 harfbuzz/hb.h
91
 harfbuzz/hb.h
93
 #endif
92
 #endif
Lines 285-303 Link Here
285
 dnl = Disable VP8 decoder support
284
 dnl = Disable VP8 decoder support
286
 dnl ========================================================
285
 dnl ========================================================
287
 MOZ_ARG_DISABLE_BOOL(webm,
286
 MOZ_ARG_DISABLE_BOOL(webm,
288
diff --git dom/media/AudioStream.h dom/media/AudioStream.h
289
index 085676d..00c54fb 100644
290
--- dom/media/AudioStream.h
291
+++ dom/media/AudioStream.h
292
@@ -17,7 +17,7 @@
293
 #include "CubebUtils.h"
294
 
295
 namespace soundtouch {
296
-class SoundTouch;
297
+class MOZ_IMPORT_API SoundTouch;
298
 }
299
 
300
 namespace mozilla {
301
diff --git dom/media/moz.build dom/media/moz.build
287
diff --git dom/media/moz.build dom/media/moz.build
302
index 7526cff..e0a0ca0 100644
288
index 7526cff..e0a0ca0 100644
303
--- dom/media/moz.build
289
--- dom/media/moz.build
(-)www/firefox-i18n/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	firefox-i18n
4
PORTNAME=	firefox-i18n
5
PORTVERSION=	41.0.2
5
PORTVERSION=	42.0
6
CATEGORIES=	www
6
CATEGORIES=	www
7
MASTER_SITES=	MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/linux-i686/xpi \
7
MASTER_SITES=	MOZILLA/${PORTNAME:S|-i18n||}/releases/${DISTVERSION}/linux-i686/xpi \
8
		MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/linux-i686/xpi
8
		MOZILLA/${PORTNAME:S|-i18n||}/candidates/${DISTVERSION}-candidates/build1/linux-i686/xpi
(-)www/firefox-i18n/distinfo (-178 / +178 lines)
Lines 1-178 Link Here
1
SHA256 (xpi/firefox-i18n-41.0.2/ach.xpi) = 3b332869d2deaf179015e59edc3f6c7ee0338018ae0c542d173f0805bfc22064
1
SHA256 (xpi/firefox-i18n-42.0/ach.xpi) = 80b7f285d462ea72b49e482519c8d6265ad4767e89b1bfdc2e2d82eabff45be8
2
SIZE (xpi/firefox-i18n-41.0.2/ach.xpi) = 483441
2
SIZE (xpi/firefox-i18n-42.0/ach.xpi) = 484101
3
SHA256 (xpi/firefox-i18n-41.0.2/af.xpi) = 483ebf4ad220bc63b00fc5ed14cc0daa5093e8618a1f766e27ef7ea702d88404
3
SHA256 (xpi/firefox-i18n-42.0/af.xpi) = 087fc72613b98336eefc5db701b361188d7e3950365650651c2b53ced362eea6
4
SIZE (xpi/firefox-i18n-41.0.2/af.xpi) = 486122
4
SIZE (xpi/firefox-i18n-42.0/af.xpi) = 491004
5
SHA256 (xpi/firefox-i18n-41.0.2/an.xpi) = 141e88b1570061128d7538b86f8a506c9ade736532127615470ab52d2305b43b
5
SHA256 (xpi/firefox-i18n-42.0/an.xpi) = 7b99498a270e20066f9791e92841ee61a1da88b883c36e611cfe79a4abeb7285
6
SIZE (xpi/firefox-i18n-41.0.2/an.xpi) = 464518
6
SIZE (xpi/firefox-i18n-42.0/an.xpi) = 469526
7
SHA256 (xpi/firefox-i18n-41.0.2/ar.xpi) = fbe22a9b348c6a822c7578392d65f229be88da6d03908160ff1c84dc0712884f
7
SHA256 (xpi/firefox-i18n-42.0/ar.xpi) = c4bd2e007fffa25743e8f20f70baf3abcef6aee59b82fc1360a9a2ebf120da69
8
SIZE (xpi/firefox-i18n-41.0.2/ar.xpi) = 521161
8
SIZE (xpi/firefox-i18n-42.0/ar.xpi) = 527045
9
SHA256 (xpi/firefox-i18n-41.0.2/as.xpi) = 95b7be1a421bd70d66f6564df38692230a6cbbcac8f9f49be8ec0a8fd1c11beb
9
SHA256 (xpi/firefox-i18n-42.0/as.xpi) = 397f51b49a9a5c754079561e5245e2e61508e61b1f1386e80fb9aaa91b4424c8
10
SIZE (xpi/firefox-i18n-41.0.2/as.xpi) = 511220
10
SIZE (xpi/firefox-i18n-42.0/as.xpi) = 516804
11
SHA256 (xpi/firefox-i18n-41.0.2/ast.xpi) = ab8e967adfefe0e91290f72617a073790ef279485c06745f9541b329db8051b7
11
SHA256 (xpi/firefox-i18n-42.0/ast.xpi) = a6dd8e3b2439f047c8aa929050df202b1128f54a01c7d55e86a0d582c4372096
12
SIZE (xpi/firefox-i18n-41.0.2/ast.xpi) = 399124
12
SIZE (xpi/firefox-i18n-42.0/ast.xpi) = 409860
13
SHA256 (xpi/firefox-i18n-41.0.2/az.xpi) = b4427e377344c51f76b3707bfbf81d1f7a2bdd507dd06794cfd39a24de9e9017
13
SHA256 (xpi/firefox-i18n-42.0/az.xpi) = fe56a7bd0694dd42946cfc1723c4c7d2075f2588baff2ca742afd2761df434d0
14
SIZE (xpi/firefox-i18n-41.0.2/az.xpi) = 492918
14
SIZE (xpi/firefox-i18n-42.0/az.xpi) = 498264
15
SHA256 (xpi/firefox-i18n-41.0.2/be.xpi) = c225c0927f0855462c4157c3cdcb89660202c1dc16689a66ad8be7cef837fefd
15
SHA256 (xpi/firefox-i18n-42.0/be.xpi) = 0fb8d84bbe69b6402847fe9be3392e50f867a8949b3597947287d1cb5723e40d
16
SIZE (xpi/firefox-i18n-41.0.2/be.xpi) = 453405
16
SIZE (xpi/firefox-i18n-42.0/be.xpi) = 458684
17
SHA256 (xpi/firefox-i18n-41.0.2/bg.xpi) = 7a8f79c1d0b2ec0a5838d2b94c0c920e7143d1be8186122663853ac9748a088d
17
SHA256 (xpi/firefox-i18n-42.0/bg.xpi) = 68f2334cbd91976b12de4d489d46f0a1a02720a02b848d0f1ead2d1475f94b35
18
SIZE (xpi/firefox-i18n-41.0.2/bg.xpi) = 492967
18
SIZE (xpi/firefox-i18n-42.0/bg.xpi) = 497770
19
SHA256 (xpi/firefox-i18n-41.0.2/bn-BD.xpi) = dafbf53ff047ccd787c6996989126feb4749b4569967d47bd6fba56f51055e43
19
SHA256 (xpi/firefox-i18n-42.0/bn-BD.xpi) = c49c4df26fa1396efec68ddecde3947204baf7f5040c4380e4ab0742592db27e
20
SIZE (xpi/firefox-i18n-41.0.2/bn-BD.xpi) = 527572
20
SIZE (xpi/firefox-i18n-42.0/bn-BD.xpi) = 545583
21
SHA256 (xpi/firefox-i18n-41.0.2/bn-IN.xpi) = e12b7af83786242d78b28b6e398db791fe336bfda9cecde66b0275feabca0dca
21
SHA256 (xpi/firefox-i18n-42.0/bn-IN.xpi) = 5b91351ccdcf064eb22f8d3077573d94ed2005e434885535a6018532ca67dfba
22
SIZE (xpi/firefox-i18n-41.0.2/bn-IN.xpi) = 530270
22
SIZE (xpi/firefox-i18n-42.0/bn-IN.xpi) = 537276
23
SHA256 (xpi/firefox-i18n-41.0.2/br.xpi) = f1b321fa81746f334c795555d6cc5e6196462a22bcd4e2f8092a413209ab1bb8
23
SHA256 (xpi/firefox-i18n-42.0/br.xpi) = 5372bf36dbad0f368c6e1926c8c9d6ca40136f25c7dd818d933ca5568f3a1e9f
24
SIZE (xpi/firefox-i18n-41.0.2/br.xpi) = 444532
24
SIZE (xpi/firefox-i18n-42.0/br.xpi) = 449190
25
SHA256 (xpi/firefox-i18n-41.0.2/bs.xpi) = f0998f8e15698245757ce27b5b91bc228b3dc7e182029594f500cc7b6bb0ae03
25
SHA256 (xpi/firefox-i18n-42.0/bs.xpi) = 78784ccf40c531ebecf58bedf96db046a9eed42062ca05c80c5ecc5d5dbb6f48
26
SIZE (xpi/firefox-i18n-41.0.2/bs.xpi) = 486282
26
SIZE (xpi/firefox-i18n-42.0/bs.xpi) = 488131
27
SHA256 (xpi/firefox-i18n-41.0.2/ca.xpi) = a81e043f4cae9e5aba31e904899d57aaf55001a4f7f1967e6262aa2632b7f3e8
27
SHA256 (xpi/firefox-i18n-42.0/ca.xpi) = f60be77d1edc340303d0580d6da07812e5b536223859226cb26adc4b837fa5e9
28
SIZE (xpi/firefox-i18n-41.0.2/ca.xpi) = 461322
28
SIZE (xpi/firefox-i18n-42.0/ca.xpi) = 465823
29
SHA256 (xpi/firefox-i18n-41.0.2/cs.xpi) = 3dd5156b50781e20caac4c96c42631f60c0c8d06a28f7e495f17bb43dff60bc0
29
SHA256 (xpi/firefox-i18n-42.0/cs.xpi) = ff4f81fbc34e17b6c742a20927a8dee0dc7cdf8743d6c5219f898ffd0d750ba6
30
SIZE (xpi/firefox-i18n-41.0.2/cs.xpi) = 450334
30
SIZE (xpi/firefox-i18n-42.0/cs.xpi) = 455106
31
SHA256 (xpi/firefox-i18n-41.0.2/cy.xpi) = 93a3c98479aa4be8531e4665eef9b0051605cf1d4c897147b223e1a350a3221a
31
SHA256 (xpi/firefox-i18n-42.0/cy.xpi) = 3d01d9210c7bd2708f99add6299c089654030a8b47e87e9a6debb9d58ab2eeeb
32
SIZE (xpi/firefox-i18n-41.0.2/cy.xpi) = 448184
32
SIZE (xpi/firefox-i18n-42.0/cy.xpi) = 451680
33
SHA256 (xpi/firefox-i18n-41.0.2/da.xpi) = 5cac7e3161cc1fc01cc22ba9b9f10a58dd111c241c5305589249987643877ad0
33
SHA256 (xpi/firefox-i18n-42.0/da.xpi) = af056943a836fb36b8433e64e9b3003452280787ae155518559b1525d3566368
34
SIZE (xpi/firefox-i18n-41.0.2/da.xpi) = 453404
34
SIZE (xpi/firefox-i18n-42.0/da.xpi) = 458413
35
SHA256 (xpi/firefox-i18n-41.0.2/de.xpi) = d7d0130fe5dfadaffd2585665e53390dae2572209176070d810345145f9a86cf
35
SHA256 (xpi/firefox-i18n-42.0/de.xpi) = 0301696932c69da60274dc19de58d50cc6a8beabb0387ad4d4526bdba1557790
36
SIZE (xpi/firefox-i18n-41.0.2/de.xpi) = 455711
36
SIZE (xpi/firefox-i18n-42.0/de.xpi) = 460744
37
SHA256 (xpi/firefox-i18n-41.0.2/dsb.xpi) = f59b75f1a340a80ac4ddb781d77a3e3bf102496677828446aa2a79064195f41c
37
SHA256 (xpi/firefox-i18n-42.0/dsb.xpi) = b6a5a998fad95e082b4c94b69c36680de7c5908efb85e222c4f9448f233458ee
38
SIZE (xpi/firefox-i18n-41.0.2/dsb.xpi) = 474538
38
SIZE (xpi/firefox-i18n-42.0/dsb.xpi) = 479637
39
SHA256 (xpi/firefox-i18n-41.0.2/el.xpi) = 36719f38269d0819ea05fe2a46c89cb4bd2859d26a740c46901e94e4bbd40175
39
SHA256 (xpi/firefox-i18n-42.0/el.xpi) = 93479275cc21ce09597de19b841642120100ab00916f23ed9bfd71bb67cfd9b6
40
SIZE (xpi/firefox-i18n-41.0.2/el.xpi) = 501621
40
SIZE (xpi/firefox-i18n-42.0/el.xpi) = 505735
41
SHA256 (xpi/firefox-i18n-41.0.2/en-GB.xpi) = 0c0029261b1f446e33aca64a3b6d42d5da1d3399770c3ace221d37fd44a9ca83
41
SHA256 (xpi/firefox-i18n-42.0/en-GB.xpi) = e282b2425bbbb60a3eebfa3e16cb6d747a72da505ee2a48378ee2d08dba6ab57
42
SIZE (xpi/firefox-i18n-41.0.2/en-GB.xpi) = 441099
42
SIZE (xpi/firefox-i18n-42.0/en-GB.xpi) = 443856
43
SHA256 (xpi/firefox-i18n-41.0.2/en-US.xpi) = cb7eab8536840a63409b5480170046227540d89f1973d121f713e1d59240f150
43
SHA256 (xpi/firefox-i18n-42.0/en-US.xpi) = 9bf74eaccbe740c513be7e406f582907c578838b6d0f14e4c346689490517167
44
SIZE (xpi/firefox-i18n-41.0.2/en-US.xpi) = 471247
44
SIZE (xpi/firefox-i18n-42.0/en-US.xpi) = 475844
45
SHA256 (xpi/firefox-i18n-41.0.2/en-ZA.xpi) = 830d11b44164e2a92a9bd68fb7b85b095de7e4fc2ea92bae1fa316688868b695
45
SHA256 (xpi/firefox-i18n-42.0/en-ZA.xpi) = 0ea29117a55aca8acab2df176790c1024510ac5db23b61ccccb14223fbd12b3d
46
SIZE (xpi/firefox-i18n-41.0.2/en-ZA.xpi) = 444146
46
SIZE (xpi/firefox-i18n-42.0/en-ZA.xpi) = 449903
47
SHA256 (xpi/firefox-i18n-41.0.2/eo.xpi) = 2aa44595d2745809a989a533584de0ad4f3c63de2e1b5b8536645b5e05d88b28
47
SHA256 (xpi/firefox-i18n-42.0/eo.xpi) = f4c24c83b2dd4ece852d4bba0ce902233408eaf45aed5185b9f462d737d6d527
48
SIZE (xpi/firefox-i18n-41.0.2/eo.xpi) = 487996
48
SIZE (xpi/firefox-i18n-42.0/eo.xpi) = 491605
49
SHA256 (xpi/firefox-i18n-41.0.2/es-AR.xpi) = 2c70f52a537657073bc02530015a950c08d8248033426af2678e99c6680ec25c
49
SHA256 (xpi/firefox-i18n-42.0/es-AR.xpi) = 92fc906a1957ca00d8bdfde61fcc59feb367338857b3f2740ac15ae6931c2127
50
SIZE (xpi/firefox-i18n-41.0.2/es-AR.xpi) = 456519
50
SIZE (xpi/firefox-i18n-42.0/es-AR.xpi) = 459408
51
SHA256 (xpi/firefox-i18n-41.0.2/es-CL.xpi) = d1cf2f9c65022cdc241ddaa168054467a53f32542744f79e85a8ee986bc4df4c
51
SHA256 (xpi/firefox-i18n-42.0/es-CL.xpi) = 776b59c03dbabda037e65902b1a87c6634beca0449cd9c35f300db64d88d5fc9
52
SIZE (xpi/firefox-i18n-41.0.2/es-CL.xpi) = 381634
52
SIZE (xpi/firefox-i18n-42.0/es-CL.xpi) = 386944
53
SHA256 (xpi/firefox-i18n-41.0.2/es-ES.xpi) = 719cbe56de47866677d1102dd3f962be403339f8979eaac619c5c8c2eceaecb3
53
SHA256 (xpi/firefox-i18n-42.0/es-ES.xpi) = 1abbe63ebcd37cf44ad6d60759916d81f272910b9edcda0e36ab16090ba2e629
54
SIZE (xpi/firefox-i18n-41.0.2/es-ES.xpi) = 370112
54
SIZE (xpi/firefox-i18n-42.0/es-ES.xpi) = 373753
55
SHA256 (xpi/firefox-i18n-41.0.2/es-MX.xpi) = e55cd314abaa79123fec2bf8bae49afaf8771065c0698ac0ba996844bd608457
55
SHA256 (xpi/firefox-i18n-42.0/es-MX.xpi) = 041dcad0d1840f79ae1f4769796aa080c9834261ede4e55f55300411808b940b
56
SIZE (xpi/firefox-i18n-41.0.2/es-MX.xpi) = 460285
56
SIZE (xpi/firefox-i18n-42.0/es-MX.xpi) = 465414
57
SHA256 (xpi/firefox-i18n-41.0.2/et.xpi) = aa542ee5e33cbe402819741ded10402fa8e9f962cdb877cfbabf1d84290d982c
57
SHA256 (xpi/firefox-i18n-42.0/et.xpi) = af4b17647e9e88652b352aa40b3aae87c254d025e8fd488c08b0f96d82176e07
58
SIZE (xpi/firefox-i18n-41.0.2/et.xpi) = 445440
58
SIZE (xpi/firefox-i18n-42.0/et.xpi) = 450258
59
SHA256 (xpi/firefox-i18n-41.0.2/eu.xpi) = e489687bff01f23761a2419d406885d0d0f21c9c5837994698ac037720a85145
59
SHA256 (xpi/firefox-i18n-42.0/eu.xpi) = cfe32d285ffe379aa7307d4de3fb639ffb961b1ebba857406f12cc15e7f61b64
60
SIZE (xpi/firefox-i18n-41.0.2/eu.xpi) = 469718
60
SIZE (xpi/firefox-i18n-42.0/eu.xpi) = 474713
61
SHA256 (xpi/firefox-i18n-41.0.2/fa.xpi) = 229d1e5c884b8efdccb591d2b7a10cb58926bfab8c1bd4a71c3eb1aa155a1050
61
SHA256 (xpi/firefox-i18n-42.0/fa.xpi) = 5c0dbc5f709145ca93e89e0ad67c688821a3080476f5202c987d9d2b035800ce
62
SIZE (xpi/firefox-i18n-41.0.2/fa.xpi) = 516159
62
SIZE (xpi/firefox-i18n-42.0/fa.xpi) = 526702
63
SHA256 (xpi/firefox-i18n-41.0.2/ff.xpi) = d09fa597de20f69d7332a63abafd97edfada4b42a9f4e3cd55b2720adb644120
63
SHA256 (xpi/firefox-i18n-42.0/ff.xpi) = d43f31eae539b6616f88e7dc0023eef4e4e64940ca4f625ab983fc52e7135321
64
SIZE (xpi/firefox-i18n-41.0.2/ff.xpi) = 454689
64
SIZE (xpi/firefox-i18n-42.0/ff.xpi) = 461016
65
SHA256 (xpi/firefox-i18n-41.0.2/fi.xpi) = 9e8a4e9446f614cafa6a7d712e6111f8443c255c5ed37fb2b67fc4936fa71c8c
65
SHA256 (xpi/firefox-i18n-42.0/fi.xpi) = 6db03ffb84a02132ad852a9e6a223834ba00182ce34fab5e19b7c16dad6d2269
66
SIZE (xpi/firefox-i18n-41.0.2/fi.xpi) = 447176
66
SIZE (xpi/firefox-i18n-42.0/fi.xpi) = 452032
67
SHA256 (xpi/firefox-i18n-41.0.2/fr.xpi) = fae768e7985278c934aefcdb00276e8c78b68ec84ef6247a83071be23f29a508
67
SHA256 (xpi/firefox-i18n-42.0/fr.xpi) = 8eeec5d50b169f4102921941dfd43c8bb02f82e82c8f6a38a291c322914f17ce
68
SIZE (xpi/firefox-i18n-41.0.2/fr.xpi) = 465093
68
SIZE (xpi/firefox-i18n-42.0/fr.xpi) = 470271
69
SHA256 (xpi/firefox-i18n-41.0.2/fy-NL.xpi) = 2b44c34009035ce1b2745d2ad7a8e33075816064c5211ec2d7e1a952ae4ca448
69
SHA256 (xpi/firefox-i18n-42.0/fy-NL.xpi) = 2471d52f5bfeb516e7569b8fd0167109d46ec4c2fc774f8c93bca2809f3dc47f
70
SIZE (xpi/firefox-i18n-41.0.2/fy-NL.xpi) = 458776
70
SIZE (xpi/firefox-i18n-42.0/fy-NL.xpi) = 463484
71
SHA256 (xpi/firefox-i18n-41.0.2/ga-IE.xpi) = 9fcc57c31db1d99c10fc97836ab1c194f24ed9766e07f164f6696b63b0fe2c76
71
SHA256 (xpi/firefox-i18n-42.0/ga-IE.xpi) = fa5cda49e9284d9dae817132cdbfee504078e2140b4bfe18ead9089dce790f37
72
SIZE (xpi/firefox-i18n-41.0.2/ga-IE.xpi) = 473257
72
SIZE (xpi/firefox-i18n-42.0/ga-IE.xpi) = 476090
73
SHA256 (xpi/firefox-i18n-41.0.2/gd.xpi) = dca6278f751731680bc8c59d021e26f19a208e9c161721d9964ef12b400cc57a
73
SHA256 (xpi/firefox-i18n-42.0/gd.xpi) = a41b6b5a51cd8dfab903a74086c26c8b6c2c05705d256b801f40530575e5d5a0
74
SIZE (xpi/firefox-i18n-41.0.2/gd.xpi) = 457499
74
SIZE (xpi/firefox-i18n-42.0/gd.xpi) = 462140
75
SHA256 (xpi/firefox-i18n-41.0.2/gl.xpi) = 535273fc56ea8f96808e89946e4a9fe35b5aaffc8e519586a28bae82757048ad
75
SHA256 (xpi/firefox-i18n-42.0/gl.xpi) = fc16ccf790b551df573b9de347eeb36719fdb98af44f9afa4ebd2c67853e1587
76
SIZE (xpi/firefox-i18n-41.0.2/gl.xpi) = 452612
76
SIZE (xpi/firefox-i18n-42.0/gl.xpi) = 451687
77
SHA256 (xpi/firefox-i18n-41.0.2/gu-IN.xpi) = f35c50d2ed63af609b30e6f156b41313fe94597e387ddb1383e7805eedc603a8
77
SHA256 (xpi/firefox-i18n-42.0/gu-IN.xpi) = 28e86b4cdbb7c1af4a00b7968a1c79005f594af9f44c4ff940686cecea8ea9cb
78
SIZE (xpi/firefox-i18n-41.0.2/gu-IN.xpi) = 487515
78
SIZE (xpi/firefox-i18n-42.0/gu-IN.xpi) = 492282
79
SHA256 (xpi/firefox-i18n-41.0.2/he.xpi) = 999eab777e50e805afe8c6e56316debe7f975f2f4767a84abeec91ba93177551
79
SHA256 (xpi/firefox-i18n-42.0/he.xpi) = c86ff630372f014409b8ff97ba10eed5b267cb90f74fca5958c3d988c00f96ff
80
SIZE (xpi/firefox-i18n-41.0.2/he.xpi) = 486490
80
SIZE (xpi/firefox-i18n-42.0/he.xpi) = 481468
81
SHA256 (xpi/firefox-i18n-41.0.2/hi-IN.xpi) = f71970e0324daed4cd7138bffe6eb1dc6188abfb3318c2ce05b64f8e49bb1c7d
81
SHA256 (xpi/firefox-i18n-42.0/hi-IN.xpi) = 4bf1ebfd071d5393b9cc8503732bbf5e6afd7534f7bf5b1e67a105cf8882a602
82
SIZE (xpi/firefox-i18n-41.0.2/hi-IN.xpi) = 509163
82
SIZE (xpi/firefox-i18n-42.0/hi-IN.xpi) = 515516
83
SHA256 (xpi/firefox-i18n-41.0.2/hr.xpi) = ab287bef0714c86b94b470c780fd67de6be945b3bc6b7621c2ed2592892978be
83
SHA256 (xpi/firefox-i18n-42.0/hr.xpi) = f60a9effb51f85d798528ef947c37dd40e9e11f4c7081371ef1a2c184d51fbd7
84
SIZE (xpi/firefox-i18n-41.0.2/hr.xpi) = 481336
84
SIZE (xpi/firefox-i18n-42.0/hr.xpi) = 486308
85
SHA256 (xpi/firefox-i18n-41.0.2/hsb.xpi) = 2ea56c387173b14dd9a869126681306acd71c2113c8e175c80d1b98bced01b5d
85
SHA256 (xpi/firefox-i18n-42.0/hsb.xpi) = ba43533196c1de882708e3f2c5f33508bdbedbf3987a060e51891b3cbdfdb5df
86
SIZE (xpi/firefox-i18n-41.0.2/hsb.xpi) = 472167
86
SIZE (xpi/firefox-i18n-42.0/hsb.xpi) = 477291
87
SHA256 (xpi/firefox-i18n-41.0.2/hu.xpi) = decd311d7ac7627bf08826f7f4aa6950027737248aa3ce27b90e71c4e36e475b
87
SHA256 (xpi/firefox-i18n-42.0/hu.xpi) = d6e158f3b5c4fe9745feed9be76276898c4d06a34c6af41e9d6f7d9574c1cb02
88
SIZE (xpi/firefox-i18n-41.0.2/hu.xpi) = 457035
88
SIZE (xpi/firefox-i18n-42.0/hu.xpi) = 461934
89
SHA256 (xpi/firefox-i18n-41.0.2/hy-AM.xpi) = 40f60779decf80bc7700c90a82ec2a5fbc0aa1abfd42a5f0c682b32abb01773f
89
SHA256 (xpi/firefox-i18n-42.0/hy-AM.xpi) = 20d38d82634a0f7fac0aba10cd33def9bd07860343f50b51b977e9ba9d4298e0
90
SIZE (xpi/firefox-i18n-41.0.2/hy-AM.xpi) = 538341
90
SIZE (xpi/firefox-i18n-42.0/hy-AM.xpi) = 544379
91
SHA256 (xpi/firefox-i18n-41.0.2/id.xpi) = 753cc258df6a78e53a0d8ce45b512b13a71e1abdf2e9982dd60090271ac33ad9
91
SHA256 (xpi/firefox-i18n-42.0/id.xpi) = a9b186a33c58dc26eacfd23b77eb3fb07a4169a65043ae6454f53a3076c8f361
92
SIZE (xpi/firefox-i18n-41.0.2/id.xpi) = 433972
92
SIZE (xpi/firefox-i18n-42.0/id.xpi) = 438845
93
SHA256 (xpi/firefox-i18n-41.0.2/is.xpi) = 6e1b57592d0d7e3f8436413d74563deed7d84b61e3c70f4ec39b9fb0eccbf83f
93
SHA256 (xpi/firefox-i18n-42.0/is.xpi) = 36d483f995a23672548076cf493bb5d74067194e45357fcdaa8ccf89f081e54e
94
SIZE (xpi/firefox-i18n-41.0.2/is.xpi) = 488113
94
SIZE (xpi/firefox-i18n-42.0/is.xpi) = 493033
95
SHA256 (xpi/firefox-i18n-41.0.2/it.xpi) = 1baa5e11d2eb38e55a71ad38a1418bdf5328cd1c264cb4dd2b9a491f796a69af
95
SHA256 (xpi/firefox-i18n-42.0/it.xpi) = 12f52bcd404059126fd5291e185e152b65a22cc80562c736cf441088ea7e8659
96
SIZE (xpi/firefox-i18n-41.0.2/it.xpi) = 363986
96
SIZE (xpi/firefox-i18n-42.0/it.xpi) = 367659
97
SHA256 (xpi/firefox-i18n-41.0.2/ja.xpi) = 344b5893cee511bf143954a9280778888c8f8357a13ddd8985e682b62c3deae6
97
SHA256 (xpi/firefox-i18n-42.0/ja.xpi) = 836403f5c69d4ce9304d123de794acfb297870b5dea084c8c5dc1f2d2fa88ba8
98
SIZE (xpi/firefox-i18n-41.0.2/ja.xpi) = 483304
98
SIZE (xpi/firefox-i18n-42.0/ja.xpi) = 488656
99
SHA256 (xpi/firefox-i18n-41.0.2/kk.xpi) = 32ad8ce5f3d8e2fc06d2fbedf92dbbc125ffb7b70db92d75906587d5897d570e
99
SHA256 (xpi/firefox-i18n-42.0/kk.xpi) = c956039afb31cdbc87177e9da7604dea5f396971cc005ba2b2f39bcccd07f0c9
100
SIZE (xpi/firefox-i18n-41.0.2/kk.xpi) = 508365
100
SIZE (xpi/firefox-i18n-42.0/kk.xpi) = 513387
101
SHA256 (xpi/firefox-i18n-41.0.2/km.xpi) = d7d37587be6f9fc03b6a40073fcb256cbc50c4b99beda32c2478763fea786e4c
101
SHA256 (xpi/firefox-i18n-42.0/km.xpi) = 831517e7a4526a8fe66bed319f07f3043a2b59d8f335e087468be241ee73d055
102
SIZE (xpi/firefox-i18n-41.0.2/km.xpi) = 571709
102
SIZE (xpi/firefox-i18n-42.0/km.xpi) = 578547
103
SHA256 (xpi/firefox-i18n-41.0.2/kn.xpi) = c6351d7aaebcb32763589185be4bd11a7e397feb19de97ad15033605a6e3b95d
103
SHA256 (xpi/firefox-i18n-42.0/kn.xpi) = 85f1b02e7dad0eff2df2d42f0f48ac7c87ee4ae3074304a07dbf72826de3fff5
104
SIZE (xpi/firefox-i18n-41.0.2/kn.xpi) = 539238
104
SIZE (xpi/firefox-i18n-42.0/kn.xpi) = 544136
105
SHA256 (xpi/firefox-i18n-41.0.2/ko.xpi) = acd6cd30ca2a6fd958090cd2479dfbb43e21d0e3985a39206d939f5c4e2a3697
105
SHA256 (xpi/firefox-i18n-42.0/ko.xpi) = 5ba6764e73adbd14eea69b6fdef7bed1302ae79a3fbefc84a99846f6c8424277
106
SIZE (xpi/firefox-i18n-41.0.2/ko.xpi) = 464905
106
SIZE (xpi/firefox-i18n-42.0/ko.xpi) = 474547
107
SHA256 (xpi/firefox-i18n-41.0.2/lij.xpi) = f436be27b037e20e43656e12ac130f6852be20ed7023c7a538f809bf6a571579
107
SHA256 (xpi/firefox-i18n-42.0/lij.xpi) = 7b926543d7ba6e3ba3bcd62846715f88ba2b08ccb069174e1c93817c4ed30270
108
SIZE (xpi/firefox-i18n-41.0.2/lij.xpi) = 451194
108
SIZE (xpi/firefox-i18n-42.0/lij.xpi) = 456396
109
SHA256 (xpi/firefox-i18n-41.0.2/lt.xpi) = 5563a4698e9638f68a9ebf488784dc51c6fd0c3daef4720fb85be852ecf454b3
109
SHA256 (xpi/firefox-i18n-42.0/lt.xpi) = 9cea89aec036c26dbb25ac560045ea31014bfdc799735894439ef081c84e724d
110
SIZE (xpi/firefox-i18n-41.0.2/lt.xpi) = 490119
110
SIZE (xpi/firefox-i18n-42.0/lt.xpi) = 495227
111
SHA256 (xpi/firefox-i18n-41.0.2/lv.xpi) = bdc3c617ee7a09f8aed475095c49e92eec9994ca2a78417596bf8ecc80ecd8eb
111
SHA256 (xpi/firefox-i18n-42.0/lv.xpi) = dead267a4f72a36ce73119f9d37cd62ee8c9aca800886c744ce3a7b871d232b5
112
SIZE (xpi/firefox-i18n-41.0.2/lv.xpi) = 470365
112
SIZE (xpi/firefox-i18n-42.0/lv.xpi) = 475294
113
SHA256 (xpi/firefox-i18n-41.0.2/mai.xpi) = fdbb724710d2f1ed3e7dae9be8ef27b4cf89af14b1b9ca022798d1e148fd44aa
113
SHA256 (xpi/firefox-i18n-42.0/mai.xpi) = 8fc086207679c75f6d4165d4a12333871078e60aa0476249409fcf3ac05ed284
114
SIZE (xpi/firefox-i18n-41.0.2/mai.xpi) = 517161
114
SIZE (xpi/firefox-i18n-42.0/mai.xpi) = 523801
115
SHA256 (xpi/firefox-i18n-41.0.2/mk.xpi) = 28630b55e19e64b1a352a0f8520c74c47c109669dd0c8808b7f821e7db23c6c2
115
SHA256 (xpi/firefox-i18n-42.0/mk.xpi) = 5dabd571b25070ba83b7bc539a150714001339e7a986df8b364424b1312109d1
116
SIZE (xpi/firefox-i18n-41.0.2/mk.xpi) = 530866
116
SIZE (xpi/firefox-i18n-42.0/mk.xpi) = 535199
117
SHA256 (xpi/firefox-i18n-41.0.2/ml.xpi) = ca41ab32a883c8ea15423b5ddfe70f84e699c110510ea5bb6aa686a7e4d849f1
117
SHA256 (xpi/firefox-i18n-42.0/ml.xpi) = 7345b33597ecad8e9306f5f483b872d4d62c86561b3bfd7eb514853f67f9a86a
118
SIZE (xpi/firefox-i18n-41.0.2/ml.xpi) = 529032
118
SIZE (xpi/firefox-i18n-42.0/ml.xpi) = 533776
119
SHA256 (xpi/firefox-i18n-41.0.2/mr.xpi) = 8b0c214f69b0616a20e43dd2008b8a98a17cd81337ff463d3f3989d8c53720f9
119
SHA256 (xpi/firefox-i18n-42.0/mr.xpi) = 734a252d6a87a468568ac8ebdf9cf2e2ddb692997b67890ba846001cbacfe1f8
120
SIZE (xpi/firefox-i18n-41.0.2/mr.xpi) = 511325
120
SIZE (xpi/firefox-i18n-42.0/mr.xpi) = 522304
121
SHA256 (xpi/firefox-i18n-41.0.2/ms.xpi) = e78f4cb5c455803e2d8ee288f1332dd9cfd71995e07d5abdb192c1a14554ed4f
121
SHA256 (xpi/firefox-i18n-42.0/ms.xpi) = cf16f7c807915297a132ad8d71fe20012c54eb82f8153f66b954b71a143cccc7
122
SIZE (xpi/firefox-i18n-41.0.2/ms.xpi) = 493484
122
SIZE (xpi/firefox-i18n-42.0/ms.xpi) = 497644
123
SHA256 (xpi/firefox-i18n-41.0.2/nb-NO.xpi) = a03636d86a7c1c889ad13b55c7f3b51acc611bc8eaf239a24096600772f5b0fb
123
SHA256 (xpi/firefox-i18n-42.0/nb-NO.xpi) = f18376647b559b56b94dd54a92c4589dd4313e18870f7c5ccde520ab5baaaac2
124
SIZE (xpi/firefox-i18n-41.0.2/nb-NO.xpi) = 446372
124
SIZE (xpi/firefox-i18n-42.0/nb-NO.xpi) = 453245
125
SHA256 (xpi/firefox-i18n-41.0.2/nl.xpi) = 84f8b2409d757f958ad2e8f4fd0a22a1d970972f532f18e13662b3216ce00a3d
125
SHA256 (xpi/firefox-i18n-42.0/nl.xpi) = a2470132d8b8a80b71471527a4c2468e7cd9e2440e1666950c591e09f78138bd
126
SIZE (xpi/firefox-i18n-41.0.2/nl.xpi) = 446547
126
SIZE (xpi/firefox-i18n-42.0/nl.xpi) = 451272
127
SHA256 (xpi/firefox-i18n-41.0.2/nn-NO.xpi) = 55fb43569f6732f83381c1c98c7aaa9d910a2ca736f968d5e5be1307a6adae02
127
SHA256 (xpi/firefox-i18n-42.0/nn-NO.xpi) = 4bff7cf5b4178a6d85da579ad1356af88d332d9b48cfbfaa067d51c8f190dd27
128
SIZE (xpi/firefox-i18n-41.0.2/nn-NO.xpi) = 442562
128
SIZE (xpi/firefox-i18n-42.0/nn-NO.xpi) = 447406
129
SHA256 (xpi/firefox-i18n-41.0.2/or.xpi) = 2894a6ab898304623de57ea34650e7a3aa2e5cf712f1f72c7c80156c173660a0
129
SHA256 (xpi/firefox-i18n-42.0/or.xpi) = c3f211d325a7bac64c71b239ccc95918153f5d5ae987b29031245bf7475eb329
130
SIZE (xpi/firefox-i18n-41.0.2/or.xpi) = 528106
130
SIZE (xpi/firefox-i18n-42.0/or.xpi) = 533314
131
SHA256 (xpi/firefox-i18n-41.0.2/pa-IN.xpi) = 7703f4bc3520ed927742a1395c7d5a8783cb859406f37be521f593cc0927c588
131
SHA256 (xpi/firefox-i18n-42.0/pa-IN.xpi) = af2e3dec61be29064b9a72846fd1148f0ff02e7e2290a3ed60077e932cdb614a
132
SIZE (xpi/firefox-i18n-41.0.2/pa-IN.xpi) = 498583
132
SIZE (xpi/firefox-i18n-42.0/pa-IN.xpi) = 507205
133
SHA256 (xpi/firefox-i18n-41.0.2/pl.xpi) = 234067974ece5ee3cdec275236d0300425b255d172983e96f8ad28d5ebf490d3
133
SHA256 (xpi/firefox-i18n-42.0/pl.xpi) = 34498568481fc7d720742e2add62e0ea55c6150bf90abc3040186ca5d26881f2
134
SIZE (xpi/firefox-i18n-41.0.2/pl.xpi) = 400466
134
SIZE (xpi/firefox-i18n-42.0/pl.xpi) = 403227
135
SHA256 (xpi/firefox-i18n-41.0.2/pt-BR.xpi) = 9f3cbce24801b9c123d31b5f9d5ecaffa17deca8fc48660a0361279882450a24
135
SHA256 (xpi/firefox-i18n-42.0/pt-BR.xpi) = b0c9a80cd76142fd9886fd70a141dc0d8e4203e8fbdb72b649c84ee3b0d373bf
136
SIZE (xpi/firefox-i18n-41.0.2/pt-BR.xpi) = 463059
136
SIZE (xpi/firefox-i18n-42.0/pt-BR.xpi) = 468096
137
SHA256 (xpi/firefox-i18n-41.0.2/pt-PT.xpi) = 56f32e241341cb2ec49f8f5126172d9a300f14790303dc4bee516eb41204176c
137
SHA256 (xpi/firefox-i18n-42.0/pt-PT.xpi) = 63b5e59bd240b67fe683618b9be9d824ae8f77133d8345889b32ba0930d77687
138
SIZE (xpi/firefox-i18n-41.0.2/pt-PT.xpi) = 443383
138
SIZE (xpi/firefox-i18n-42.0/pt-PT.xpi) = 448920
139
SHA256 (xpi/firefox-i18n-41.0.2/rm.xpi) = 3df17252f03697206305cd7e9b62f26eeffcba84b5e195263d4d47e0c0c0d0cb
139
SHA256 (xpi/firefox-i18n-42.0/rm.xpi) = d5ab15132c13db755ec05efbf255a53ae4411d2724ecc5ecc5bda08c4eef5681
140
SIZE (xpi/firefox-i18n-41.0.2/rm.xpi) = 450640
140
SIZE (xpi/firefox-i18n-42.0/rm.xpi) = 454529
141
SHA256 (xpi/firefox-i18n-41.0.2/ro.xpi) = 9bc4c4e037de7073614fbf28ac9ea0168bec75c1b270289a1455674de85b60a2
141
SHA256 (xpi/firefox-i18n-42.0/ro.xpi) = d62cff13bc6ae437f1a224ad2e11e8d4de338f8b6b3e405baa1d8c0764b7edef
142
SIZE (xpi/firefox-i18n-41.0.2/ro.xpi) = 497507
142
SIZE (xpi/firefox-i18n-42.0/ro.xpi) = 502634
143
SHA256 (xpi/firefox-i18n-41.0.2/ru.xpi) = 1ff21845c49dea827abec9cc4641a3aee002f640539af985f88eb40be077aeb5
143
SHA256 (xpi/firefox-i18n-42.0/ru.xpi) = ac454a85ea58c5a3297550fe7a10eef8487f37bb0310df4a5a9fb533d7c1c712
144
SIZE (xpi/firefox-i18n-41.0.2/ru.xpi) = 412447
144
SIZE (xpi/firefox-i18n-42.0/ru.xpi) = 416137
145
SHA256 (xpi/firefox-i18n-41.0.2/si.xpi) = ac952730b5591f503cfb30efbc25dfce92f54529413e39ae88ff30010da098e2
145
SHA256 (xpi/firefox-i18n-42.0/si.xpi) = 763543a1f7433309be01d89e30436b7bff4fcd2b50e8f496f54be26f0c730688
146
SIZE (xpi/firefox-i18n-41.0.2/si.xpi) = 537934
146
SIZE (xpi/firefox-i18n-42.0/si.xpi) = 543889
147
SHA256 (xpi/firefox-i18n-41.0.2/sk.xpi) = f4ad85d1fe87aa2ef449a1f5a5de2b59b4867c1e8f854464154edf4f2f39c138
147
SHA256 (xpi/firefox-i18n-42.0/sk.xpi) = beb7004124240fd83f64841ff415cb692aab327b5ac925e6db27e4b9ba7f01ca
148
SIZE (xpi/firefox-i18n-41.0.2/sk.xpi) = 472935
148
SIZE (xpi/firefox-i18n-42.0/sk.xpi) = 477255
149
SHA256 (xpi/firefox-i18n-41.0.2/sl.xpi) = 43eb2da1524e905740782567ae9dfa5a4adbeec2ec04ef93a8cb3f7d570982c5
149
SHA256 (xpi/firefox-i18n-42.0/sl.xpi) = 0079e2ca640efe4d2c7dd29a570634cc5072f632bf064149bf9b9d8f3aa518d8
150
SIZE (xpi/firefox-i18n-41.0.2/sl.xpi) = 445746
150
SIZE (xpi/firefox-i18n-42.0/sl.xpi) = 450532
151
SHA256 (xpi/firefox-i18n-41.0.2/son.xpi) = 88b3a01be297e83a99ca9bcc4643184d9bbccd19d1ac116995acacfc13a58486
151
SHA256 (xpi/firefox-i18n-42.0/son.xpi) = 811356dfb2552f5c2d2832b7a208233e27eeab1e064d694cf36532ddcbfc458d
152
SIZE (xpi/firefox-i18n-41.0.2/son.xpi) = 453253
152
SIZE (xpi/firefox-i18n-42.0/son.xpi) = 457298
153
SHA256 (xpi/firefox-i18n-41.0.2/sq.xpi) = fae5953665c35ffc5171830ccabeb21bd1692abb67d42633f8de4e909b12dcf2
153
SHA256 (xpi/firefox-i18n-42.0/sq.xpi) = fabeef51543439772b6ef5643d0ac57ec196d64c6ef83e75ddcd275dc6624a81
154
SIZE (xpi/firefox-i18n-41.0.2/sq.xpi) = 491168
154
SIZE (xpi/firefox-i18n-42.0/sq.xpi) = 494612
155
SHA256 (xpi/firefox-i18n-41.0.2/sr.xpi) = ce99e8e6b04601855de447bbfcc7b00fe626e1e3e06c60a132e87c7cabf5d017
155
SHA256 (xpi/firefox-i18n-42.0/sr.xpi) = 692019f3542e0da8ff64589b488eab0d7e6d16906655d5a86ebcc53c00731edc
156
SIZE (xpi/firefox-i18n-41.0.2/sr.xpi) = 482971
156
SIZE (xpi/firefox-i18n-42.0/sr.xpi) = 486210
157
SHA256 (xpi/firefox-i18n-41.0.2/sv-SE.xpi) = fb86b719756909ee167bb2ddfa399d5afaf9393100245065ec84b81fadcbf5da
157
SHA256 (xpi/firefox-i18n-42.0/sv-SE.xpi) = 6e7e0eff3c480a302fa0ed1a4ed720ac432f0819c55549afc6bda028ea1b23a5
158
SIZE (xpi/firefox-i18n-41.0.2/sv-SE.xpi) = 455382
158
SIZE (xpi/firefox-i18n-42.0/sv-SE.xpi) = 460188
159
SHA256 (xpi/firefox-i18n-41.0.2/ta.xpi) = 7c077f044283b145ce62680981bb1f2631f918813d5e389489f0a209a0d72df0
159
SHA256 (xpi/firefox-i18n-42.0/ta.xpi) = 542761640fbe8dd6cf3e60be45a12735bbfe6c38c96b0073833544c85c5cf10a
160
SIZE (xpi/firefox-i18n-41.0.2/ta.xpi) = 509544
160
SIZE (xpi/firefox-i18n-42.0/ta.xpi) = 515601
161
SHA256 (xpi/firefox-i18n-41.0.2/te.xpi) = 93ed5ffa7e4533bc406bc8a86c000bdd9fc098e9a65c729ce9fca5cce8f177ba
161
SHA256 (xpi/firefox-i18n-42.0/te.xpi) = 7287fc6577b0892df46ea1fc2f185fc73ad94c4d8050cdd3a4be47150f1f7a2e
162
SIZE (xpi/firefox-i18n-41.0.2/te.xpi) = 530204
162
SIZE (xpi/firefox-i18n-42.0/te.xpi) = 532920
163
SHA256 (xpi/firefox-i18n-41.0.2/th.xpi) = e9144da3dcc69956e0c6b4223afcf483941858e3d9dd8dc94ead6c062a9d098b
163
SHA256 (xpi/firefox-i18n-42.0/th.xpi) = f254f7c40a194ae3c082d9b77f155fc290b0e6abe969d7c06788ea7abe4039ad
164
SIZE (xpi/firefox-i18n-41.0.2/th.xpi) = 539600
164
SIZE (xpi/firefox-i18n-42.0/th.xpi) = 542239
165
SHA256 (xpi/firefox-i18n-41.0.2/tr.xpi) = 45225ade5b3311689b6372c7e45b765a6e58d2047750c5f4a1b906bccd903d70
165
SHA256 (xpi/firefox-i18n-42.0/tr.xpi) = f343c4f3b2cb5541fc9f98d5953101f5e5d1ee1d5c30968d6564828c5701119b
166
SIZE (xpi/firefox-i18n-41.0.2/tr.xpi) = 484232
166
SIZE (xpi/firefox-i18n-42.0/tr.xpi) = 489512
167
SHA256 (xpi/firefox-i18n-41.0.2/uk.xpi) = d94b1aafe66728445d1a886bbf2cf05bc3d56c3ab9dd892ad5f37b3f32d3763f
167
SHA256 (xpi/firefox-i18n-42.0/uk.xpi) = 88c881749bae293d9614a77ed9458345399573a6ab5583626ef98041ae78da32
168
SIZE (xpi/firefox-i18n-41.0.2/uk.xpi) = 500110
168
SIZE (xpi/firefox-i18n-42.0/uk.xpi) = 505718
169
SHA256 (xpi/firefox-i18n-41.0.2/uz.xpi) = 555465a0162d8b2b3fbc1f69d944d0fc94cd642cbac584ed30664cffebaa964b
169
SHA256 (xpi/firefox-i18n-42.0/uz.xpi) = faeacd2ec9af20cde5032415f0bbeba487ed4d276f778672ae6a340615099725
170
SIZE (xpi/firefox-i18n-41.0.2/uz.xpi) = 501948
170
SIZE (xpi/firefox-i18n-42.0/uz.xpi) = 505180
171
SHA256 (xpi/firefox-i18n-41.0.2/vi.xpi) = c296449a51d669439369f63aa943f55bf6cfaab901ac033322e137afe7bdeae6
171
SHA256 (xpi/firefox-i18n-42.0/vi.xpi) = 1481521a62561266ea14389cdb579b1757e791a5473c981e399aa9bff14ddcdd
172
SIZE (xpi/firefox-i18n-41.0.2/vi.xpi) = 470336
172
SIZE (xpi/firefox-i18n-42.0/vi.xpi) = 472290
173
SHA256 (xpi/firefox-i18n-41.0.2/xh.xpi) = 8e145e9ccfde00cf0ab3da91ea4686893e274f3fb5e4da460b44ce201c714f70
173
SHA256 (xpi/firefox-i18n-42.0/xh.xpi) = 1a1776e5770dd361d0adc85ed80bb1e81dd5436a0727009b91cb89e92e4d381e
174
SIZE (xpi/firefox-i18n-41.0.2/xh.xpi) = 450079
174
SIZE (xpi/firefox-i18n-42.0/xh.xpi) = 455527
175
SHA256 (xpi/firefox-i18n-41.0.2/zh-CN.xpi) = 8c49c52b80937a00da8953ecb1bdd1c6505efb62ac89beb879c400846b7f8c85
175
SHA256 (xpi/firefox-i18n-42.0/zh-CN.xpi) = 46bb4b1b67494004441135dbf3051501e0580fb8da29548de73f2e0fe12f7834
176
SIZE (xpi/firefox-i18n-41.0.2/zh-CN.xpi) = 486222
176
SIZE (xpi/firefox-i18n-42.0/zh-CN.xpi) = 491278
177
SHA256 (xpi/firefox-i18n-41.0.2/zh-TW.xpi) = a1b3661c004ead49b5b1adac7515de402319ae82b06121313deb51b1ec7fcb20
177
SHA256 (xpi/firefox-i18n-42.0/zh-TW.xpi) = ef4e9b5e01b85564b935a5f9bc663ffac61ce0f3ca166c316b1aee648832d458
178
SIZE (xpi/firefox-i18n-41.0.2/zh-TW.xpi) = 479033
178
SIZE (xpi/firefox-i18n-42.0/zh-TW.xpi) = 482387

Return to bug 204277