From 0e7d86117e856c745bc35f2c9d8f87d00d65d3d2 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Mon, 9 Jan 2006 20:38:57 +0000 Subject: [PATCH] =?UTF-8?q?Bug=20322712:=20Cannot=20export=20local=20attac?= =?UTF-8?q?hments=20(attachments=20are=20truncated)=20-=20Patch=20by=20Fr?= =?UTF-8?q?=C3=A9d=C3=A9ric=20Buclin=20=20r/a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://10.0.0.236/trunk@187187 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Attachment.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Attachment.pm b/mozilla/webtools/bugzilla/Bugzilla/Attachment.pm index 76067bbbc00..8b020392438 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Attachment.pm +++ b/mozilla/webtools/bugzilla/Bugzilla/Attachment.pm @@ -304,6 +304,7 @@ sub data { # in a local file, so retrieve it from there. if (length($self->{data}) == 0) { if (open(AH, $self->_get_local_filename())) { + local $/; binmode AH; $self->{data} = ; close(AH);