forked from schacon/perl
/
Changes
5467 lines (3614 loc) · 167 KB
/
Changes
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
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Please note: This file provides a summary of significant changes
between versions and sub-versions of Perl, not necessarily a complete
list of each modification. If you'd like more detailed information,
please consult the comments in the patches on which the relevant
release of Perl is based. (Patches can be found on any CPAN
site, in the .../src/5.0 directory for full version releases,
or in the .../src/5/0/unsupported directory for sub-version
releases.)
----------------
Version 5.003_10
----------------
This patch is closing in on 5.004. It contains lots of small and
valuable changes, but nothing dramatic.
CORE LANGUAGE CHANGES
Title: "Allow &{sub {...}} without warning"
From: Chip Salzenberg <chip@atlantic.net>
Files: toke.c
Title: "Make parens optional on [gs]ethost and [gs]et{pw,gr} function
From: Chip Salzenberg <chip@atlantic.net>
Files: toke.c
Title: "Fix syntax error with "$x [0]" and "$x {y}" and "@x {y}""
From: Chip Salzenberg <chip@atlantic.net>
Files: toke.c
OTHER CORE CHANGES
Title: "Fix regex matching of chars with high bit set"
From: Chip Salzenberg <chip@atlantic.net>
Files: regexec.c
Title: "Hash key memory corruption fix and naming cleanup"
From: Chip Salzenberg <chip@atlantic.net>
Files: hv.c hv.h perl.h
Title: "Undo broken perf. patch (PADTMP stealing)"
From: Chip Salzenberg <chip@atlantic.net>
Files: sv.c
Title: "Make SV unstudied in sv_gets()"
From: Chip Salzenberg <chip@atlantic.net>
Files: sv.c
Title: "Better support for UVs"
From: Paul Marquess
Files: global.sym old_global.sym perl.h pp.c pp.h proto.h sv.c sv.h
Title: "Minor locale cleanups"
(Accept "POSIX" locale as standard like "C". Reset locale to
'C' when testing strtod() in t/lib/posix.t.)
From: Chip Salzenberg <chip@atlantic.net>
Files: t/lib/posix.t util.c
Title: "Always taint result of sprintf() on float"
From: Chip Salzenberg <chip@atlantic.net>
Files: doop.c
Title: "Fix spurious warning from bitwise string ops"
From: Chip Salzenberg <chip@atlantic.net>
Files: doop.c
Title: "Eliminate warning on {,sys}read(,$newvar,)"
From: Chip Salzenberg <chip@atlantic.net>
Files: doop.c pp_sys.c
Title: "Don't call fcntl(fileno(rsfp)) if !rsfp"
From: Chip Salzenberg <chip@atlantic.net>
Files: perl.c
Title: "Save message when calling __DIE__ hook"
From: Chip Salzenberg <chip@atlantic.net>
Files: pp_ctl.c
Title: "Namespace cleanup"
From: Chip Salzenberg <chip@atlantic.net>
Files: global.sym old_global.sym perl.h
Title: "Modify perl_exp.SH; create old_perl_exp.SH; document old_*"
From: Chip Salzenberg <chip@atlantic.net>
Files: Configure INSTALL MANIFEST old_perl_exp.SH perl_exp.SH
PORTABILITY
Title: "Reliable signal patch"
From: Kenneth Albanowski <kjahds@kjahds.com>
Msg-ID: <Pine.LNX.3.93.961126053209.294J-100000@kjahds.com>
Date: Tue, 26 Nov 1996 05:40:50 -0500 (EST)
Files: global.sym mg.c old_global.sym perl.h pp_sys.c proto.h util.c
Title: "Emulate missing flock() with either fcntl() or lockf()"
From: Chip Salzenberg <chip@atlantic.net>
Files: pp_sys.c
Title: "3_09: minor patches for OS/2"
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Msg-ID: <199611270830.DAA04985@monk.mps.ohio-state.edu>
Date: Wed, 27 Nov 1996 03:30:05 -0500 (EST)
Files: doio.c global.sym malloc.c old_global.sym os2/Makefile.SHs
os2/OS2/ExtAttr/Makefile.PL os2/OS2/PrfDB/Makefile.PL
os2/OS2/Process/Makefile.PL os2/OS2/REXX/Makefile.PL
os2/os2.c os2/os2ish.h perl.h
Title: "Re: 5.003_09 and QNX"
From: nort@bottesini.harvard.edu (Norton Allen)
Msg-ID: <9611271836.AA14460@bottesini.harvard.edu>
Date: Wed, 27 Nov 96 13:36:06 est
Files: Configure MANIFEST README.qnx hints/qnx.sh qnx/ar qnx/cpp
t/TEST toke.c util.c x2p/proto.h
Title: "Re: updated patch on the sysread, syswrite for VMS"
From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
Msg-ID: <01ICB648K2XG001A1D@hmivax.humgen.upenn.edu>
Date: Tue, 26 Nov 1996 17:28:23 -0500 (EST)
Files: t/op/sysio.t
LIBRARY AND EXTENSIONS
Title: "Minor patch to debugger"
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Msg-ID: <199611290533.AAA08053@monk.mps.ohio-state.edu>
Date: Fri, 29 Nov 1996 00:33:49 -0500 (EST)
Files: lib/perl5db.pl
Title: "AutoLoader::AUTOLOAD optimization"
From: nick@ni-s.u-net.com (Nick Ing-Simmons)
Msg-ID: <199611231954.TAA09921@ni-s.u-net.com>
Date: Sat, 23 Nov 1996 19:54:52 GMT
Files: lib/AutoLoader.pm
Title: "Diagnostic cleanup"
From: Chip Salzenberg <chip@atlantic.net>
Files: lib/diagnostics.pm pod/perldiag.pod
DOCUMENTATION
Title: "Improve documentation for sysread() and syswrite()"
From: Chip Salzenberg <chip@atlantic.net>
Files: pod/perlfunc.pod
Title: "Document how to use $SIG{ALRM} and alarm()"
From: Roderick Schertler <roderick@ibcinc.com>
Msg-ID: <5898.849026569@eeyore.ibcinc.com>
Date: Tue, 26 Nov 1996 11:42:49 -0500
Files: pod/perlfunc.pod
----------------
Version 5.003_09
----------------
This patch was a compendium of various fixes and enhancements from
many people, including some serious improvement in lexical variable
scoping and locale handling.
CORE LANGUAGE CHANGES
Title: "Lexical locales"
(make effectiveness of locales depend on C<use locale>)
From: Chip Salzenberg <chip@atlantic.net>
Files: too many to list
Title: "Lexical scoping cleanup"
(tighten scoping of lexical variables, somewhat on the
new constructs and somewhat on the old)
From: Chip Salzenberg <chip@atlantic.net>
Files: many... but mostly perly.y and toke.c
Title: "Re: memory corruption / security bug in sysread,syswrite + pa
From: Jarkko Hietaniemi <jhi@cc.hut.fi>
Msg-ID: <199611251946.VAA30459@alpha.hut.fi>
Date: Mon, 25 Nov 1996 21:46:31 +0200 (EET)
Files: MANIFEST pod/perldiag.pod pod/perlfunc.pod pp_sys.c
t/op/sysio.t
OTHER CORE CHANGES
Title: "Configure fix for handling DynaLoader"
From: Chip Salzenberg <chip@atlantic.net>
Files: Configure
Title: "Properly prototype safe{malloc,calloc,realloc,free}."
From: Chip Salzenberg <chip@atlantic.net>
Files: proto.h
Title: "UnixWare 2.1 fix for perl5.003_08 - cope with fp->_cnt < -1,
From: John Hughes <john@AtlanTech.COM>
Msg-ID: <01BBD6EE.E915C860@malvinas.AtlanTech.COM>
Date: Wed, 20 Nov 1996 14:27:06 +0100
Files: sv.c
Title: ""static" call to UNIVERSAL::can"
From: Nick.Ing-Simmons@tiuk.ti.com
Msg-ID: <199611211547.PAA15878@pluto>
Date: Thu, 21 Nov 1996 15:47:46 GMT
Files: universal.c
Title: "die -> croak"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID: <199611212111.QAA17070@aatma.engin.umich.edu>
Date: Thu, 21 Nov 1996 16:11:21 -0500
Files: pp_ctl.c
Title: "Patch for embed.pl when !EMBED && !MULTIPLICITY"
From: Chip Salzenberg <chip@atlantic.net>
Files: embed.pl
Title: "Add new symbols to old_global.sym, too."
From: Chip Salzenberg <chip@atlantic.net>
Files: global.sym old_global.sym
Title: "Cleanup of {,un}pack('w')."
From: Chip Salzenberg <chip@atlantic.net>
Files: pp.c
Title: "Cleanups from Ilya."
From: Chip Salzenberg <chip@atlantic.net>
Files: gv.c malloc.c pod/perlguts.pod pp_ctl.c
Title: "Fix for unpack('w') on 64-bit systems."
From: Chip Salzenberg <chip@atlantic.net>
Files: pp.c
Title: "Re: LC_NUMERIC support is ready + performance"
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Msg-ID: <199611260308.WAA02677@monk.mps.ohio-state.edu>
Date: Mon, 25 Nov 1996 22:08:27 -0500 (EST)
Files: sv.c
Title: "Hash key sharing improvements from Ilya."
From: Chip Salzenberg <chip@atlantic.net>
Files: hv.c hv.h proto.h
Title: "Mortal stack pre-allocation from Ilya."
From: Chip Salzenberg <chip@atlantic.net>
Files: pp.c pp.h pp_ctl.c pp_hot.c pp_sys.c
PORTABILITY
Title: "VMS patches post-5.003_08"
From: bailey@hmivax.humgen.upenn.edu (Charles Bailey)
Msg-ID: <1996Nov22.181631.1603238@hmivax.humgen.upenn.edu>
Date: Fri, 22 Nov 1996 18:16:31 -0500 (EST)
Files: lib/ExtUtils/MM_Unix.pm lib/ExtUtils/MM_VMS.pm
lib/ExtUtils/MakeMaker.pm lib/File/Path.pm mg.c pp_ctl.c
utils/h2xs.PL vms/config.vms vms/descrip.mms
vms/gen_shrfls.pl vms/genconfig.pl vms/perlvms.pod vms/vms.c
vms/vmsish.h
Title: "5.003_08: OS/2-specific bugs/enhancements"
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Msg-ID: <199611241147.GAA00490@monk.mps.ohio-state.edu>
Date: Sun, 24 Nov 1996 06:47:25 -0500 (EST)
Files: README.os2 hints/os2.sh os2/Changes os2/Makefile.SHs
os2/OS2/PrfDB/PrfDB.pm os2/os2.c
Title: "HP patches didn't make it into _08 (fwd)"
From: Jeff Okamoto <okamoto@hpcc123.corp.hp.com>
Msg-ID: <199611260215.AA100414526@hpcc123.corp.hp.com>
Date: Mon, 25 Nov 96 18:15:26 PST
Files: ext/DynaLoader/dl_hpux.xs
Title: "Another HP "patch" that didn't make it (new hints file)"
From: Jeff Okamoto <okamoto@hpcc123.corp.hp.com>
Msg-ID: <199611252116.AA245766577@hpcc123.corp.hp.com>
Date: Mon, 25 Nov 1996 13:16:17 -0800
Files: hints/hpux.sh
LIBRARY AND EXTENSIONS
Title: "Elide spurious space in db-hash.t"
From: Chip Salzenberg <chip@atlantic.net>
Files: t/lib/db-hash.t
Title: "Update documentation and warning in I18N::Collate."
From: Chip Salzenberg <chip@atlantic.net>
Files: lib/I18N/Collate.pm
Title: "Fix bitwise op test; clean up a couple of others"
From: Chip Salzenberg <chip@atlantic.net>
Files: t/lib/bigintpm.t t/op/bop.t t/op/overload.t
Title: "minimal timelocal.pl for _09"
From: Achim Bohnet <ach@rosat.mpe-garching.mpg.de>
Msg-ID: <9611191854.AA19586@o09.rosat.mpe-garching.mpg.de>
Date: Tue, 19 Nov 1996 19:54:23 +0100
Files: lib/Time/Local.pm
Title: "Socket test improvement from Ilya."
From: Chip Salzenberg <chip@atlantic.net>
Files: t/lib/io_sock.t
Title: "Re: blib"
From: nick@ni-s.u-net.com (Nick Ing-Simmons)
Msg-ID: <199611230917.JAA00471@ni-s.u-net.com>
Date: Sat, 23 Nov 1996 09:17:40 GMT
Files: lib/blib.pm
DOCUMENTATION
Title: "perldiag documentation patch."
From: pmarquess@bfsec.bt.co.uk (Paul Marquess)
Msg-ID: <9611201607.AA12729@claudius.bfsec.bt.co.uk>
Date: Wed, 20 Nov 96 16:07:28 GMT
Files: pod/perldiag.pod
Title: "a missing perldiag entry"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Msg-ID: <199611212024.PAA15758@aatma.engin.umich.edu>
Date: Thu, 21 Nov 1996 15:24:02 -0500
Files: pod/perldiag.pod
Title: "perlfunc patch"
From: pmarquess@bfsec.bt.co.uk (Paul Marquess)
Msg-ID: <9611201404.AA12477@claudius.bfsec.bt.co.uk>
Date: Wed, 20 Nov 96 14:04:08 GMT
Files: pod/perlfunc.pod
Title: "Patch for pod/perlpod.pod"
From: "Joseph S. Myers" <jsm28@cam.ac.uk>
Msg-ID: <Pine.LNX.3.95.961120235016.6666A-100000@hammer.chu.cam.ac.uk
Date: Wed, 20 Nov 1996 23:54:41 +0000 (GMT)
Files: pod/perlpod.pod
Title: "Update locale documentation."
From: Chip Salzenberg <chip@atlantic.net>
Files: pod/perli18n.pod
BUNDLED UTILITIES
Title: "Fix type mismatches in x2p's safe{alloc,realloc,free}."
From: Chip Salzenberg <chip@atlantic.net>
Files: x2p/util.c
----------------
Version 5.003_08
----------------
This patch was a compendium of various fixes and enhancements from
many people. Here are some of the more significant changes.
CORE LANGUAGE CHANGES
Title: "Make C<no FOO> fail if C<unimport FOO> fails"
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Files: gv.c
Title: "Bitwise op sign rationalization"
(Make bitwise ops result in unsigned values, unless C<use
integer> is in effect. Includes initial support for UVs.)
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c opcode.pl pod/perlop.pod pod/perltoc.pod pp.c pp.h
pp_hot.c proto.h sv.c t/op/bop.t
Title: "Defined scoping for C<my> in control structures"
(Finally defines semantics of "my" in control expressions,
like the condition of "if" and "while". In all cases, scope
of a "my" var extends to the end of the entire control
structure. Also adds new construct "for my", which
automatically declares the control variable "my" and limits
its scope to the loop.)
From: Chip Salzenberg <chip@atlantic.net>
Files: op.c perly.c perly.c.diff perly.h perly.y proto.h toke.c
Title: "Fix ++/-- after int conversion (e.g. 'printf "%d"')"
(This patch makes Perl correctly ignore SvIVX() if either
NOK or POK is true, since SvIVX() may be a truncated or
overflowed version of the real value.)
From: Chip Salzenberg <chip@atlantic.net>
Files: pp.c pp_hot.c sv.c
Title: "Make code match Camel II re: functions that use $_"
From: pmarquess@bfsec.bt.co.uk (Paul Marquess)
Files: opcode.pl
Title: "Provide scalar context on left side of "->""
From: Chip Salzenberg <chip@atlantic.net>
Files: perly.c perly.y
Title: "Quote bearword package/handle FOO in "funcname FOO => 'bar'""
From: Chip Salzenberg <chip@atlantic.net>
Files: toke.c
OTHER CORE CHANGES
Title: "Warn on overflow of octal and hex integers"
From: Chip Salzenberg <chip@atlantic.net>
Files: proto.h toke.c util.c
Title: "If -w active, warn for commas and hashes ('#') in qw()"
From: Chip Salzenberg <chip@atlantic.net>
Files: toke.c
Title: "Fixes for pack('w')"
From: Ulrich Pfeifer <pfeifer@charly.informatik.uni-dortmund.de>
Files: pp.c t/op/pack.t
Title: "More complete output from sv_dump()"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: sv.c
Title: "Major '..' and debugger patches"
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Files: lib/perl5db.pl op.c pp_ctl.c scope.c scope.h
Title: "Fix for formline()"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: global.sym mg.c perl.h pod/perldiag.pod pp_ctl.c proto.h sv.c
t/op/write.t
Title: "Fix stack botch in untie and binmode"
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Files: pp_sys.c
Title: "Complete EMBED, including symbols from interp.sym"
(New define EMBEDMYMALLOC makes embedding total by
avoiding "Mymalloc" etc.)
From: Chip Salzenberg <chip@atlantic.net>
Files: MANIFEST embed.pl ext/DynaLoader/dlutils.c
ext/SDBM_File/sdbm/sdbm.h global.sym handy.h malloc.c
perl.h pp_sys.c proto.h regexec.c toke.c util.c
x2p/Makefile.SH x2p/a2p.h x2p/handy.h x2p/util.h
Title: "Support old embedding for people who want it"
From: Chip Salzenberg <chip@atlantic.net>
Files: MANIFEST Makefile.SH old_embed.pl old_global.sym
PORTABILITY
Title: "Miscellaneous VMS fixes"
From: Charles Bailey <bailey@HMIVAX.HUMGEN.UPENN.EDU>
Files: lib/ExtUtils/Liblist.pm lib/ExtUtils/MM_VMS.pm
lib/Math/Complex.pm lib/Time/Local.pm lib/timelocal.pl
perl.h perl_exp.SH proto.h t/TEST t/io/read.t
t/lib/findbin.t t/lib/getopt.t util.c utils/h2xs.PL
vms/Makefile vms/config.vms vms/descrip.mms
vms/ext/Stdio/Stdio.pm vms/ext/Stdio/Stdio.xs
vms/perlvms.pod vms/test.com vms/vms.c
Title: "DJGPP patches (MS-DOS)"
From: "Douglas E. Wegscheid" <wegscd@whirlpool.com>
Files: doio.c dosish.h ext/SDBM_File/sdbm/sdbm.c handy.h
lib/AutoSplit.pm lib/Cwd.pm lib/File/Find.pm malloc.c perl.c
perl.h pp_sys.c proto.h sv.c util.c
Title: "Plan 9 update"
From: Luther Huffman <lutherh@infinet.com>
Files: plan9/buildinfo plan9/config.plan9 plan9/exclude
plan9/genconfig.pl plan9/mkfile plan9/setup.rc
Title: "Patch to make Perl work under AmigaOS"
From: "Norbert Pueschel" <pueschel@imsdd.meb.uni-bonn.de>
Files: MANIFEST hints/amigaos.sh installman lib/File/Basename.pm
lib/File/Find.pm pod/pod2man.PL pp_sys.c util.c
LIBRARY AND EXTENSIONS
Title: "DB_File 1.05"
From: Paul Marquess (pmarquess@bfsec.bt.co.uk)
Files: ext/DB_File/DB_File.pm ext/DB_File/DB_File.xs t/lib/db-hash.t
Title: "Getopts::Std patch for hash support"
From: Stephen Zander <stephen.zander@interlock.mckesson.com>
Files: lib/Getopt/Std.pm
Title: "Kludge for bareword handles"
(Add 'require IO::Handle' at beginning of FileHandle.pm)
From: Chip Salzenberg <chip@atlantic.net>
Files: ext/FileHandle/FileHandle.pm
Title: "Re: strtod / strtol patch for POSIX module"
From: hammen@gothamcity.jsc.nasa.gov (David Hammen)
Files: Configure config_h.SH ext/POSIX/POSIX.pm ext/POSIX/POSIX.pod
ext/POSIX/POSIX.xs t/lib/posix.t
BUNDLED UTILITIES
Title: "Fix a2p translation of '{print "a" "b" "c"}'"
From: Chip Salzenberg <chip@atlantic.net>
Files: x2p/a2p.c x2p/a2p.y
----------------
Version 5.003_07
----------------
This patch was primarily to fix bugs or include little things I missed
in 5.003_06. 5.003_07 is intended to be stable enough to merit serious
testing with an eye towards eventual release as 5.004.
If it doesn't work for you, try
LC_ALL=C; export LC_ALL
for Bourne shell users, or
setenv LC_ALL C
for C-shell users. Some versions of IRIX are reported to have
problems with sort when the locale is other than C. This manifests
as an infinite loop in the ./miniperl configpm step.
The details are described below. A very brief summary is:
o Visible Changes to Core Functionality
-Support for BER compressed integers. See perlfunc.pod for
documentation on the 'w' option.
-untaint support added to IO extension.
o Changes in Core Internals
-Perl's realloc is once again called 'Myremalloc' (with -DHIDEMYMALLOC),
as it was pre-5.003_01. Again, this is for binary compatibility
with 5.003. (5.003_06 erroneously called it Myrealloc.)
-Getopt::Long updated to version 2.4.
o Configure and build enhancements
-improved SCO hints. Actually these are unconfirmed guesses, but
they may be right.
-OS/2 and Plan9 updates.
o Bug fixes
-print sort (4,1,3,2);
-group numbers are integers again.
-other things. See the specific changes for details.
o Specific Changes
Here are the specific file-by-file changes.
Index: Changes
Updated for 5.003_07.
Fixed a spelling error.
Index: Configure
Detect GNU libc (thanks, Skimo!) and avoid nm if we have GNU libc.
Since the GNU libc test requires compiling and linking a test
program, the dependencies have been altered and lots of pieces of
Configure have moved around unchanged. The patch is big but the
effect is little.
Allow for both <sys/select.h> and <time.h> in fd_set tests.
Systems which don't allow both (e.g. SCO) have to turn off one
or the other in the hints file for now.
Index: INSTALL
Warn about re-using config.sh version-specific values.
Index: MANIFEST
Date: Tue, 8 Oct 1996 22:24:48 -0400
From: "Randy J. Ray" <rjray@uswest.com>
Subject: PATCH: untaint method for IO::Handle, 5.003_06 version
This is a re-post of my patch to Graham's IO library to add a method in
IO::Handle called "untaint", that sets the IOf_UNTAINT flag on an object
that is of or inherits from IO::Handle. With this flag set, data read from
said handle is not tainted, whether running under -T, suid or sgid.
This patch adds the method to IO.xs, adds documentation and warning to the
pod of IO/Handle.pm, creates a new test in t/lib called io_taint.t, and
adds mention of the new file to MANIFEST.
Add mention of t/lib/io_taint.t
Date: Wed, 9 Oct 1996 22:29:44 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
os2/Changes added.
Index: Makefile.SH
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
All the executable targets are moved into the same chunk with
shared library target, which is delegated to
$osname/Makefile.SHs if found.
config.h should depend on config_h.SH.
Remove mkmanifest target, since it will generate incorrectly
sorted MANIFEST file, I would imagine (I haven't checked).
Index: README.os2
New version.
Index: config_H
Update SH_PATH comment.
Index: config_h.SH
Update SH_PATH comment.
Index: ext/IO/IO.xs
Date: Tue, 8 Oct 1996 22:24:48 -0400
From: "Randy J. Ray" <rjray@uswest.com>
Subject: PATCH: untaint method for IO::Handle, 5.003_06 version
This is a re-post of my patch to Graham's IO library to add a method in
IO::Handle called "untaint", that sets the IOf_UNTAINT flag on an object
that is of or inherits from IO::Handle. With this flag set, data read from
said handle is not tainted, whether running under -T, suid or sgid.
This patch adds the method to IO.xs, adds documentation and warning to the
pod of IO/Handle.pm, creates a new test in t/lib called io_taint.t, and
adds mention of the new file to MANIFEST.
Add method "untaint" into class IO::Handle
Index: ext/IO/lib/IO/Handle.pm
Date: Tue, 8 Oct 1996 22:24:48 -0400
From: "Randy J. Ray" <rjray@uswest.com>
Subject: PATCH: untaint method for IO::Handle, 5.003_06 version
This is a re-post of my patch to Graham's IO library to add a method in
IO::Handle called "untaint", that sets the IOf_UNTAINT flag on an object
that is of or inherits from IO::Handle. With this flag set, data read from
said handle is not tainted, whether running under -T, suid or sgid.
This patch adds the method to IO.xs, adds documentation and warning to the
pod of IO/Handle.pm, creates a new test in t/lib called io_taint.t, and
adds mention of the new file to MANIFEST.
Document IO::Handle::untaint and give warning about the bad
things it can do.
Index: ext/SDBM_File/sdbm/sdbm.h
Change Myrealloc to Myremalloc to conform to 5.003's version.
I left in the Mycalloc since malloc.c now includes a calloc,
and we might need to hide it.
Index: gv.c
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Better error message for overload.
Index: hints/os2.sh
Date: Wed, 9 Oct 1996 22:29:44 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Some optimization (speedup in loading GNU utilities with some
memory present - 32M should be quite enough).
Test for revision of EMX, and setting fork()ing appropriately.
libc was in .../st/... instead of mt.
README.os2 is installed as pod/perlos2.pod.
Index: hints/sco.sh
Don't include <sys/select.h> along with <time.h>.
Index: installperl
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Restore timestamps under OS/2 (needed for binary install).
Index: lib/Cwd.pm
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Use builtin methods if present under OS/2 (maybe should be
done outside of OS/2 too?).
Index: lib/ExtUtils/MM_Unix.pm
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Made `use strict'-clean even in parts shadowed by Autoloading.
Index: lib/ExtUtils/typemap
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
`bool' entry added.
Index: lib/ExtUtils/xsubpp
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Logic for processing RETVAL documented (at last!).
Index: lib/File/Copy.pm
Date: Thu, 10 Oct 1996 00:42:29 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Subject: Cleanup after new test
Below are patches for File::Copy (copying to filehandles was just
plain broken under OS/2 and VMS)
Index: lib/FindBin.pm
Date: Fri, 20 Sep 1996 15:04:04 +0200
From: Gisle Aas <aas@bergen.sn.no>
Subject: Documentation patch to the FindBin module
Index: lib/Getopt/Long.pm
Update to version 2.4.
Index: lib/lib.pm
Date: Thu, 10 Oct 1996 14:22:05 -0400
From: "Brent B. Powers" <powers@ml.com>
Subject: Re: patch for lib.pm
Ignore undefined entries.
Index: lib/newgetopt.pl
Updated to version 2.4 to match Getopt::Long.
Index: makedepend.SH
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
weed out perl_exp.SH, config_h.SH
(They have these funny names to avoid names like perl.exp.SH
with more than two '.' Such names are illegal on some systems.)
Index: mg.c
Date: Thu, 10 Oct 1996 14:33:08 +0000 ()
From: Chip Salzenberg <chip@atlantic.net>
Subject: Re: Group fix for 5.003_06
The group problems recently experienced are due to a small error
introduced in 5.003_06. This patch is required to fix the bug:
Index: os2/Changes
Date: Wed, 9 Oct 1996 22:29:44 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
sys/un.h is not very useful without Merlin toolkit.
updates for fork()ing.
Date: Wed, 9 Oct 1996 22:29:44 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
added.
Index: os2/Makefile.SHs
Date: Wed, 9 Oct 1996 22:29:44 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Convoluted process to create chimera executables added.
aout_clean is done automatically on clean.
Index: os2/OS2/ExtAttr/t/os2_ea.t
Date: Wed, 9 Oct 1996 22:29:44 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Use `unlink' where appropriate.
Index: os2/diff.configure
Updated.
Index: os2/os2.c
Date: Wed, 9 Oct 1996 22:29:44 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
/bin/sh is translated to the configured value of location of sh.exe.
popen() used even if we can fork (as we do now).
builtins added for the sake of path manipulation.
Index: os2/os2ish.h
Date: Wed, 9 Oct 1996 22:29:44 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
sys/un.h is not very useful without Merlin toolkit.
updates for fork()ing.
Index: patchlevel.h
Change to subversion 7.
Index: perl.c
Date: Wed, 9 Oct 1996 19:03:41 +0000
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: Infinte loop with perl_destruct_level and $SIG{__WARN__}
I've just started using purify on a perl with DBD::Oracle linked in
(the number of uninitialised memory reads in the Oracle libraries
is frightning!).
If perl_destruct_level and $SIG{__WARN__} are set then I see a range
of problems typified by this example and folowed by a core dump:
Date: Wed, 9 Oct 1996 22:32:22 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Copywrite of OS/2 port now has \n\n.
Now deletes -e file (again!) if compilation is interrupted.
Index: perl.h
Change Myrealloc to Myremalloc to conform to 5.003's version.
I left in the Mycalloc since malloc.c now includes a calloc,
and we might need to hide it.
Index: plan9/aperl
Updated for 5.003_07
Index: plan9/arpa/inet.h
Updated for 5.003_07
Index: plan9/buildinfo
Updated for 5.003_07
Index: plan9/config.plan9
Updated for 5.003_07
Index: plan9/exclude
Updated for 5.003_07
Index: plan9/fndvers
Updated for 5.003_07
Index: plan9/genconfig.pl
Updated for 5.003_07
Index: plan9/mkfile
Updated for 5.003_07
Index: plan9/myconfig.plan9
Updated for 5.003_07
Index: plan9/perlplan9.doc
Updated for 5.003_07
Index: plan9/perlplan9.pod
Updated for 5.003_07
Index: plan9/plan9.c
Updated for 5.003_07
Index: plan9/plan9ish.h
Updated for 5.003_07
Index: plan9/setup.rc
Updated for 5.003_07
Index: plan9/versnum
Updated for 5.003_07
Index: pod/perldiag.pod
Date: Wed, 9 Oct 1996 22:30:38 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
mention that malloc in berkeley DB is broken, and PERL_BADFREE.
OS/2-specific messages added.
Index: pod/perlfunc.pod
Date: 20 Sep 1996 13:17:14 +0200
From: Ulrich Pfeifer <pfeifer@charly.informatik.uni-dortmund.de>
Subject: Re: Patch for ASN.1 compressed integer in pack/unpack
Index: pod/perli18n.pod
Updated version with high bits intact.
Index: pod/perlop.pod
Date: Wed, 9 Oct 1996 22:30:38 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
Crossrefs corrected.
Index: pod/perltrap.pod
Clarified that warn() _always_ printed to STDERR, both in perl4
and perl5.
Index: pod/perlvar.pod
Date: Wed, 9 Oct 1996 22:30:38 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
$^E under OS/2.
Index: pp.c
Date: 20 Sep 1996 13:17:14 +0200
From: Ulrich Pfeifer <pfeifer@charly.informatik.uni-dortmund.de>
Subject: Re: Patch for ASN.1 compressed integer in pack/unpack
Index: pp_sys.c
Date: Wed, 9 Oct 1996 19:07:24 GMT
From: Chris Faylor <cgf@bbc.com>
The problem is that SCO apparently needs to have a file opened
with write privileges for chsize to work correctly.
Index: sv.c
Date: Tue, 08 Oct 1996 23:54:47 -0400
From: Gurusamy Sarathy <gsar@engin.umich.edu>
Subject: Re: Sorting lists of integers doesn't always work
>> > print sort (4,1,2,3);
>> >
>> > actually prints "4123", i.e. doesn't actually sort. Bug? Feature?
This broke between 5.001n and 5.002. There was a long winded thread
about sorting undefs in some order (rather than coredumping) around
the 5.002beta times (search for "bogorefs" in the subject-line on
p5p archive for details). Larry added in some code that presumes that
the private flags are set by the time qsort() is called:
Unfortunately, sv_2pv() does not set the POKp flag, so the above
code breaks! Here's a patch against 5.00306.
Index: t/lib/anydbm.t
Date: Wed, 9 Oct 1996 22:30:38 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
File mode under OS/2 is not what you expect. However, this has
nothing to do with databases, _and_ there is a test
for this in stat.t (which dutifully fails). There is
no point to consider this behaviour as a bug in
database code.
So OS/2 is special-cased in these tests.
Index: t/lib/db-btree.t
Date: Wed, 9 Oct 1996 22:30:38 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>
File mode under OS/2 is not what you expect. However, this has
nothing to do with databases, _and_ there is a test
for this in stat.t (which dutifully fails). There is
no point to consider this behaviour as a bug in
database code.
So OS/2 is special-cased in these tests.
Index: t/lib/db-hash.t
Date: Wed, 9 Oct 1996 22:30:38 -0400 (EDT)
From: Ilya Zakharevich <ilya@math.ohio-state.edu>