File: perl5.22-compat-PL_sv_objcount-removal.patch

package info (click to toggle)
libembperl-perl 2.5.0-10%2Bdeb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,128 kB
  • sloc: ansic: 21,384; perl: 14,496; javascript: 4,280; cpp: 467; xml: 49; makefile: 33; sh: 24
file content (490 lines) | stat: -rw-r--r-- 17,864 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
Description: Compatibility fixes for Perl 5.22
 This covers a) the PL_sv_objcount removal and b) tons of context
 issues in the test suite -- which may actually indicate a bug in the
 code and not the test suite..
Author: Axel Beckert <abe@debian.org>
Bug-Debian: https://bugs.debian.org/806897
Bug: https://rt.cpan.org/Ticket/Display.html?id=110023
Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=110023#txn-1584347

Index: libembperl-perl/epmain.c
===================================================================
--- libembperl-perl.orig/epmain.c	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/epmain.c	2016-01-15 01:39:13.082977172 +0100
@@ -1506,8 +1506,8 @@
 #ifdef DMALLOC
 			    /* unsigned long mark, int not_freed_b, int freed_b, int details_b */
     dmalloc_log_changed (nMemCheckpoint, 1, 0, 1) ;
-    dmalloc_message ( "[%d]Request freed. Exit-SVs: %d -OBJs: %d\n", getpid(),
-	    sv_count, sv_objcount) ;
+    dmalloc_message ( "[%d]Request freed. Exit-SVs: %d\n", getpid(),
+	    sv_count) ;
     if (nMemCheckpoint2)
         {
         dmalloc_message ( "***TO PREVIOUS REQUEST***\n") ;
Index: libembperl-perl/epnames.h
===================================================================
--- libembperl-perl.orig/epnames.h	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/epnames.h	2016-01-15 01:39:13.082977172 +0100
@@ -325,9 +325,6 @@
 #ifndef sv_count
 #define sv_count PL_sv_count
 #endif
-#ifndef sv_objcount
-#define sv_objcount PL_sv_objcount
-#endif
 #ifndef op_mask
 #define op_mask PL_op_mask
 #endif
Index: libembperl-perl/Old.xs
===================================================================
--- libembperl-perl.orig/Old.xs	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/Old.xs	2016-01-15 01:39:13.082977172 +0100
@@ -252,7 +252,7 @@
     tReq * r
     char * sText
 CODE:
-    lprintf (r->pApp,"[%d]MEM:  %s: SVs: %d OBJs: %d\n", r->pThread->nPid, sText, sv_count, sv_objcount) ;
+    lprintf (r->pApp,"[%d]MEM:  %s: SVs: %d\n", r->pThread->nPid, sText, sv_count) ;
 
 SV *
 embperl_Escape(r, str, mode)
Index: libembperl-perl/test/html/plain.htm
===================================================================
--- libembperl-perl.orig/test/html/plain.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/plain.htm	2016-01-15 01:39:13.082977172 +0100
@@ -20,8 +20,8 @@
 
 ARRAY @d = [+ do { my @tmp1 = @d; "@tmp1" } +] num = [+ @d +] <BR>
 ARRAY @x = [+ do { my @tmp1 = %x; "@tmp1" } +] num = [+ @x +]  <BR>
-HASH  %a = [+ do { my @tmp1 = %a; my @tmp11 = sort @tmp1 ; "@tmp11" } +]  num = [+ keys %a +] <BR>
-HASH  %y = [+ do { my @tmp2 = %y; my @tmp21 = sort @tmp2 ; "@tmp21" } +]  num = [+ keys %y +] <BR>
+HASH  %a = [+ do { my @tmp1 = %a; my @tmp11 = sort @tmp1 ; "@tmp11" } +]  num = [+ 0+keys %a +] <BR>
+HASH  %y = [+ do { my @tmp2 = %y; my @tmp21 = sort @tmp2 ; "@tmp21" } +]  num = [+ 0+keys %y +] <BR>
 
 
 First of all assign a value:
@@ -40,8 +40,8 @@
 
 ARRAY @d = [+ "@d" +] num = [+ @d +] <BR>
 ARRAY @x = [+ "@x" +] num = [+ @x +]  <BR>
-HASH  %a = [+ do { my @tmp1 = %a; my @tmp11 = sort @tmp1 ; "@tmp11" } +]  num = [+ keys %a +] <BR>
-HASH  %y = [+ do { my @tmp2 = %y; my @tmp21 = sort @tmp2 ; "@tmp21" } +]  num = [+ keys %y +] <BR>
+HASH  %a = [+ do { my @tmp1 = %a; my @tmp11 = sort @tmp1 ; "@tmp11" } +]  num = [+ 0+keys %a +] <BR>
+HASH  %y = [+ do { my @tmp2 = %y; my @tmp21 = sort @tmp2 ; "@tmp21" } +]  num = [+ 0+keys %y +] <BR>
 
 And now a and b together: [+ "$a$b" +]<P>
 
Index: libembperl-perl/test/cmp/errorfirstrun.htm
===================================================================
--- libembperl-perl.orig/test/cmp/errorfirstrun.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/cmp/errorfirstrun.htm	2016-01-15 01:39:13.082977172 +0100
@@ -5,7 +5,7 @@
 <table cellspacing='2' cellpadding='5'>
 <tr bgcolor='#eeeeee'><td>
 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-^\[\d+\]ERR:.+in Perl code: Global symbol \&quot;\$x\&quot; requires explicit package name at
+^\[\d+\]ERR:.+in Perl code: Global symbol \&quot;\$x\&quot; requires explicit package name
 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
 </td></tr>
 <tr bgcolor='#eeeeee'><td>
Index: libembperl-perl/test/cmp/varerr.htm56
===================================================================
--- libembperl-perl.orig/test/cmp/varerr.htm56	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/cmp/varerr.htm56	2016-01-15 01:39:13.082977172 +0100
@@ -9,13 +9,13 @@
 <table cellspacing='2' cellpadding='5'>
 <tr bgcolor='#eeeeee'><td>
 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
-^\[.*?\]ERR\:  24\:  Error in Perl code\: Global symbol &quot;\$d&quot; requires explicit package name at 
-^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$e&quot; requires explicit package name at 
-^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$e&quot; requires explicit package name at 
-^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$d&quot; requires explicit package name at 
-^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$e&quot; requires explicit package name at 
-^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$d&quot; requires explicit package name at 
-^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$e&quot; requires explicit package name at 
+^\[.*?\]ERR\:  24\:  Error in Perl code\: Global symbol &quot;\$d&quot; requires explicit package name 
+^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$e&quot; requires explicit package name 
+^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$e&quot; requires explicit package name 
+^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$d&quot; requires explicit package name 
+^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$e&quot; requires explicit package name 
+^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$d&quot; requires explicit package name 
+^<br>&nbsp;&nbsp;&nbsp;&nbsp;Global symbol &quot;\$e&quot; requires explicit package name 
 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
 </td></tr>
 </table>
Index: libembperl-perl/test.pl
===================================================================
--- libembperl-perl.orig/test.pl	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test.pl	2016-01-15 01:39:13.082977172 +0100
@@ -2125,7 +2125,7 @@
 	        unshift (@testargs, 'dbgbreak') if ($opt_dbgbreak) ;
     
 	        $txt = "#$testnum ". $file . ($debug != $defaultdebug ?"-d $debug ":"") . ($test->{msg} || '') . '...' ;
-	        $txt .= ' ' x (30 - length ($txt)) ;
+	        $txt .= ' ' x (50 - length ($txt)) ;
 	        print $txt ; 
     
     
@@ -2211,7 +2211,7 @@
 
 
 	    $txt2 = "$txt from file...";
-	    $txt2 .= ' ' x (30 - length ($txt2)) ;
+	    $txt2 .= ' ' x (50 - length ($txt2)) ;
 	    print $txt2 ; 
 
 	    unlink ($outfile) ;
@@ -2232,7 +2232,7 @@
 	    if ($err == 0 || $opt_ignoreerror)
 		{
 		$txt2 = "$txt from memory...";
-		$txt2 .= ' ' x (30 - length ($txt2)) ;
+		$txt2 .= ' ' x (50 - length ($txt2)) ;
 		print $txt2 ; 
 
 		unlink ($outfile) ;
@@ -2254,7 +2254,7 @@
 	    if ($err == 0 || $opt_ignoreerror)
 		{
 		$txt2 = "$txt to memory...";
-		$txt2 .= ' ' x (30 - length ($txt2)) ;
+		$txt2 .= ' ' x (50 - length ($txt2)) ;
 		print $txt2 ; 
 
 		my $outdata ;
@@ -2281,7 +2281,7 @@
 	    if ($err == 0 || $opt_ignoreerror)
 		{
 		$txt2 = "$txt to tied handle...";
-		$txt2 .= ' ' x (30 - length ($txt2)) ;
+		$txt2 .= ' ' x (50 - length ($txt2)) ;
 		print $txt2 ; 
 
 		my $outdata ;
@@ -2310,7 +2310,7 @@
 	    if ($err == 0 || $opt_ignoreerror)
 		{
 		$txt2 = "$txt from/to memory...";
-		$txt2 .= ' ' x (30 - length ($txt2)) ;
+		$txt2 .= ' ' x (50 - length ($txt2)) ;
 		print $txt2 ; 
 
 		my $outdata ;
@@ -2355,7 +2355,7 @@
 	    if ($err == 0 || $opt_ignoreerror)
 		{
 		$txt2 = "$txt to memory...";
-		$txt2 .= ' ' x (30 - length ($txt2)) ;
+		$txt2 .= ' ' x (50 - length ($txt2)) ;
 		print $txt2 ; 
 
 		my $outdata ;
@@ -2389,7 +2389,7 @@
 	    if (0) #$err == 0 || $opt_ignoreerror)
 		{
 		$txt2 = "errornous parameter (path) ...";
-		$txt2 .= ' ' x (30 - length ($txt2)) ;
+		$txt2 .= ' ' x (50 - length ($txt2)) ;
 		print $txt2 ; 
 
 		$err = eval { Embperl::Execute ({'inputfile'  => 'xxxx0',
@@ -2411,7 +2411,7 @@
 	    if ($err == 0 || $opt_ignoreerror)
 		{
 		$txt2 = "errornous parameter (input) ...";
-		$txt2 .= ' ' x (30 - length ($txt2)) ;
+		$txt2 .= ' ' x (50 - length ($txt2)) ;
 		print $txt2 ; 
 		my $out ;
 		@errors = () ;
@@ -2438,7 +2438,7 @@
 	    if ($err == 0 || $opt_ignoreerror)
 		{
 		$txt2 = "errornous parameter (output) ...";
-		$txt2 .= ' ' x (30 - length ($txt2)) ;
+		$txt2 .= ' ' x (50 - length ($txt2)) ;
 		print $txt2 ; 
 		my $out ;
 		@errors = () ;
@@ -2488,7 +2488,7 @@
                     $page = $src ;
                                     
                     $txt2 = "$src ...";
-		    $txt2 .= ' ' x (30 - length ($txt2)) ;
+		    $txt2 .= ' ' x (50 - length ($txt2)) ;
 		    print $txt2 ; 
 
 		    my $outdata ;
@@ -3006,7 +3006,7 @@
 		}
     
 	    $txt = "#$testnum $file" . ($debug != $defaultdebug ?"-d $debug ":"") . '...' ;
-	    $txt .= ' ' x (30 - length ($txt)) ;
+	    $txt .= ' ' x (50 - length ($txt)) ;
 	    print $txt ; 
 	    unlink ($outfile) ;
 	    
Index: libembperl-perl/test/html/mdatsess.htm
===================================================================
--- libembperl-perl.orig/test/html/mdatsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/mdatsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -13,7 +13,7 @@
 			}
 		-]
 
-        $mdat{cnt} = [+ $mdat{cnt}  +] <br>
+        $mdat{cnt} = [+ 0+$mdat{cnt}  +] <br>
         $fdat{cnt} = [+ $fdat{cnt}  +] <br>
 
         equal ? [+ ($mdat{cnt} == $fdat{cnt})?'yes':'no'  +] <br>
Index: libembperl-perl/test/html/getsess.htm
===================================================================
--- libembperl-perl.orig/test/html/getsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/getsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -41,7 +41,7 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
@@ -55,7 +55,7 @@
 	-]
 
 
-        $mdat{cnt} = -[+ $mdat{cnt}  +]- <br>
+        $mdat{cnt} = -[+ 0+$mdat{cnt}  +]- <br>
         $udat{cnt} = -[+ $udat{cnt}  +]- <br>
 
 
Index: libembperl-perl/test/html/execgetsess.htm
===================================================================
--- libembperl-perl.orig/test/html/execgetsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/execgetsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -13,7 +13,7 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $fdat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$fdat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
@@ -22,7 +22,7 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
@@ -36,7 +36,7 @@
 	-]
 
 
-        $mdat{cnt} = -[+ $mdat{cnt}  +]- <br>
+        $mdat{cnt} = -[+ 0+$mdat{cnt}  +]- <br>
         $udat{cnt} = -[+ $udat{cnt}  +]- <br>
 
 
Index: libembperl-perl/test/html/delwrsess.htm
===================================================================
--- libembperl-perl.orig/test/html/delwrsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/delwrsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -11,13 +11,13 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
 	[+ $num > 0?"ok (num=$num)":"Not a session hash (num=$num)" +]<p>
 
-    $mdat{cnt} = -[+ $mdat{cnt}  +]- <br>
+    $mdat{cnt} = -[+ 0+$mdat{cnt}  +]- <br>
     $udat{cnt} = -[+ $udat{cnt}  +]- <br>
 
 	[- $_[0] -> DeleteSession (1) ; -]
@@ -27,7 +27,7 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
@@ -39,7 +39,7 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
Index: libembperl-perl/test/html/getbsess.htm
===================================================================
--- libembperl-perl.orig/test/html/getbsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/getbsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -22,7 +22,7 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
@@ -36,7 +36,7 @@
 	-]
 
 
-        $mdat{cnt} = -[+ $mdat{cnt}  +]- <br>
+        $mdat{cnt} = -[+ 0+$mdat{cnt}  +]- <br>
         $udat{cnt} = -[+ $udat{cnt}  +]- <br>
 
 
Index: libembperl-perl/test/html/delrdsess.htm
===================================================================
--- libembperl-perl.orig/test/html/delrdsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/delrdsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -11,13 +11,13 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
 	[+ $num > 0?"ok (num=$num)":"Not a session hash (num=$num)" +]<p>
 
-    $mdat{cnt} = -[+ $mdat{cnt}  +]- <br>
+    $mdat{cnt} = -[+ 0+$mdat{cnt}  +]- <br>
     $udat{cnt} = -[+ $udat{cnt}  +]- <br>
 
 	[- $_[0] -> DeleteSession (1) ; -]
@@ -27,7 +27,7 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
Index: libembperl-perl/test/html/getdelsess.htm
===================================================================
--- libembperl-perl.orig/test/html/getdelsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/getdelsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -36,7 +36,7 @@
 	-]
 
 
-        $mdat{cnt} = -[+ $mdat{cnt}  +]- <br>
+        $mdat{cnt} = -[+ 0+$mdat{cnt}  +]- <br>
         $udat{cnt} = -[+ $udat{cnt}  +]- <br>
 
 
Index: libembperl-perl/test/html/delsess.htm
===================================================================
--- libembperl-perl.orig/test/html/delsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/delsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -11,13 +11,13 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
 	[+ $num > 0?"ok (num=$num)":"Not a session hash (num=$num)" +]<p>
 
-    $mdat{cnt} = -[+ $mdat{cnt}  +]- <br>
+    $mdat{cnt} = -[+ 0+$mdat{cnt}  +]- <br>
     $udat{cnt} = -[+ $udat{cnt}  +]- <br>
 
 	[- $_[0] -> DeleteSession (1) ; -]
Index: libembperl-perl/test/html/setbadsess.htm
===================================================================
--- libembperl-perl.orig/test/html/setbadsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/setbadsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -10,6 +10,6 @@
 		$udat{$k} = $fdat{$k} ;
 		}
 	-]
-	[+ $udat{_session_id} +]
+	[+ ''.$udat{_session_id} +]
 </body>
 </html>
Index: libembperl-perl/test/html/setunknownsess.htm
===================================================================
--- libembperl-perl.orig/test/html/setunknownsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/setunknownsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -10,6 +10,6 @@
 		$udat{$k} = $fdat{$k} ;
 		}
 	-]
-	[+ $udat{_session_id} +]
+	[+ ''.$udat{_session_id} +]
 </body>
 </html>
Index: libembperl-perl/test/html/sidurl/geturlsess.htm
===================================================================
--- libembperl-perl.orig/test/html/sidurl/geturlsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/sidurl/geturlsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -41,7 +41,7 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $udat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$udat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
@@ -55,7 +55,7 @@
 	-]
 
 
-        $mdat{cnt} = -[+ $mdat{cnt}  +]- <br>
+        $mdat{cnt} = -[+ 0+$mdat{cnt}  +]- <br>
         $udat{cnt} = -[+ $udat{cnt}  +]- <br>
 
 
Index: libembperl-perl/test/html/sidurl/getsdaturlsess.htm
===================================================================
--- libembperl-perl.orig/test/html/sidurl/getsdaturlsess.htm	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/test/html/sidurl/getsdaturlsess.htm	2016-01-15 01:39:13.082977172 +0100
@@ -22,7 +22,7 @@
 
 	<table>
 		<tr>
-			<td>[+ $ks[$row] +]</td><td>[+ $sdat{$ks[$row] || ''} +]</td>
+			<td>[+ $ks[$row] +]</td><td>[+ 0+$sdat{$ks[$row] || ''} +]</td>
 		</tr>
 	</table>
 
Index: libembperl-perl/Makefile.PL
===================================================================
--- libembperl-perl.orig/Makefile.PL	2016-01-15 01:39:13.086977162 +0100
+++ libembperl-perl/Makefile.PL	2016-01-15 01:40:22.206816908 +0100
@@ -1451,6 +1451,11 @@
 		    #else
 		    #	{
                     	s/^\#\!.*?perl.*?\s(.*?)/#!$perlbinpath $1/ ;
+                    	# For some reason $perlbinpath contains double
+                    	# quotes which Apache doesn't like at all for
+                    	# CGI script interpreters. So remove them
+                    	# again.
+                    	s/^\#\!"(.*?)"/#!$1/;
 		    #	}
 		    s/^.*?perl.*?\s-x/$perlbinpath -x/ ;
                     }