Bugzilla – Attachment 16450 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]
[SIGNED-OFF] Bug 8746 [Follow-up] Replace == by eq in string comparison
SIGNED-OFF-Bug-8746-Follow-up-Replace--by-eq-in-st.patch (text/plain), 1.38 KB, created by
Bernardo Gonzalez Kriegel
on 2013-03-20 01:09:30 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 8746 [Follow-up] Replace == by eq in string comparison
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2013-03-20 01:09:30 UTC
Size:
1.38 KB
patch
obsolete
>From 426c65e2199c09c94aaad82d4d5010f41c07afaf 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] [SIGNED-OFF] Bug 8746 [Follow-up] Replace == by eq in string > comparison > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >--- > 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