[PATCH] Cleanup File::Temp test file

------=_Part_34733_22058077.1199467983477
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

The test file lib/File/Temp/t/fork.t improperly tries to use an
automatic cleanup option with tempfile() (which does not support such
an option).  The temp file must be "manually" unlinked.  Attached
patch corrects this.

------=_Part_34733_22058077.1199467983477
Content-Type: application/octet-stream; name=file_temp.patch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fb109g0r0
Content-Disposition: attachment; filename=file_temp.patch

LS0tIC92YXIvcGVybC9wZXJsLWN1cnJlbnQvbGliL0ZpbGUvVGVtcC90L2ZvcmsudAkyMDA3LTEy
LTI2IDEzOjQ2OjU1Ljg4MTIzMjAwMCAtMDUwMAorKysgcGVybC1jdXJyZW50L2xpYi9GaWxlL1Rl
bXAvdC9mb3JrLnQJMjAwOC0wMS0wNCAxMjoxNzo0NS42NjMyMzcwMDAgLTA1MDAKQEAgLTQ3LDgg
KzQ3LDggQEAKIAogIyBub24tT08gaW50ZXJmYWNlCiAKLW15ICgkZmgsICRmaWxlbmFtZSkgPSBG
aWxlOjpUZW1wOjp0ZW1wZmlsZSggQ0xFQU5VUCA9PiAxICk7Ci0KK215ICgkZmgsICRmaWxlbmFt
ZSkgPSBGaWxlOjpUZW1wOjp0ZW1wZmlsZSgpOworZXhpdDsKIG15b2soIDUsIC1mICRmaWxlbmFt
ZSwgIm5vbi1PTyBGaWxlIGV4aXN0cyIgKTsKIAogJGNoaWxkcmVuID0gMjsKQEAgLTc1LDYgKzc1
LDcgQEAKICAgICAkY2hpbGRyZW4tLTsKIH0KIG15b2soOCwgLWYgJGZpbGVuYW1lLCAibm9uLU9P
IEZpbGUgZXhpc3RzIGluIHBhcmVudCIgKTsKK3VubGluaygkZmlsZW5hbWUpOyAgICMgQ2xlYW51
cAogCiAKICMgTG9jYWwgb2sgc3ViIGhhbmRsZXMgZXhwbGljaXQgbnVtYmVyCg==
------=_Part_34733_22058077.1199467983477--
0
jdhedden
1/4/2008 5:33:03 PM
perl.perl5.porters 48287 articles. 1 followers. Follow

0 Replies
589 Views

Similar Articles

[PageSpeed] 54
Get it on Google Play
Get it on Apple App Store

Reply: