Bugzilla – Attachment 2345 Details for
Bug 4451
Batch item tool cannot process barcode file with Windows line endings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix, corrected
0001-Fix-for-Bug-4451-Batch-item-tool-can-t-process-file-.patch (text/plain), 728 bytes, created by
Owen Leonard
on 2010-07-09 17:43:33 UTC
(
hide
)
Description:
Proposed fix, corrected
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2010-07-09 17:43:33 UTC
Size:
728 bytes
patch
obsolete
>From 16449fbac6aa0941bb673230e32c9261f853fdad Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Fri, 9 Jul 2010 08:47:37 -0400 >Subject: [PATCH] Fix for Bug 4451 Batch item tool can't process file with Windows line endings > >--- > tools/batchMod.pl | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/tools/batchMod.pl b/tools/batchMod.pl >index f5138d1..d511d98 100755 >--- a/tools/batchMod.pl >+++ b/tools/batchMod.pl >@@ -171,7 +171,7 @@ if ($op eq "show"){ > my @contentlist; > if ($filefh){ > while (my $content=<$filefh>){ >- chomp $content; >+ $content =~ s/[\r\n]*$//g; > push @contentlist, $content if $content; > } > >-- >1.7.0.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 4451
:
2337
| 2345