Bugzilla – Attachment 17265 Details for
Bug 8746
rebuild_zebra_sliced.sh don't work where Record length of 106041 is larger than the MARC spec allows
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8746 [Follow-up] Replace == by eq in string comparison
Bug-8746-Follow-up-Replace--by-eq-in-string-compar.patch (text/plain), 1.45 KB, created by
Katrin Fischer
on 2013-04-07 19:01:56 UTC
(
hide
)
Description:
Bug 8746 [Follow-up] Replace == by eq in string comparison
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2013-04-07 19:01:56 UTC
Size:
1.45 KB
patch
obsolete
>From fef34463f4fc53931ca9dd28cd77b10f1407235a Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 19 Mar 2013 13:54:32 +0000 >Subject: [PATCH] Bug 8746 [Follow-up] Replace == by eq in string comparison > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> >All tests and QA script pass. >--- > misc/migration_tools/rebuild_zebra_sliced.sh | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/misc/migration_tools/rebuild_zebra_sliced.sh b/misc/migration_tools/rebuild_zebra_sliced.sh >index 1996596..7ddf32e 100755 >--- a/misc/migration_tools/rebuild_zebra_sliced.sh >+++ b/misc/migration_tools/rebuild_zebra_sliced.sh >@@ -53,14 +53,14 @@ splitfile() { > if ($closed) { > open($out, ">", sprintf("$prefix%02d", $i)); > $closed = 0; >- if ($indexmode == "dom" && $line !~ /<collection>/) { >+ if ($indexmode eq "dom" && $line !~ /<collection>/) { > print $out "<collection>"; > } > } > print $out $line; > $count++ if ($line =~ m|^</record>|); > if ($count == $size) { >- if ($indexmode == "dom" && $line !~ m|</collection>|) { >+ if ($indexmode eq "dom" && $line !~ m|</collection>|) { > print $out "</collection>"; > } > $count = 0; >-- >1.7.9.5
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 8746
:
12386
|
14537
|
16392
|
16448
|
16449
|
16450
|
17263
|
17264
| 17265