Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
* Move declarations in patch to beginning of the block to support to
  support C language dialects that don't support mixed declaration
* Bump copyright date

Also, see issue #5 (#5)
and https://savannah.gnu.org/bugs/index.php?49831
  • Loading branch information
rocky committed Feb 5, 2017
1 parent dfd747f commit 01a16c8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/paranoia/paranoia.c
@@ -1,5 +1,6 @@
/*
Copyright (C) 2004, 2005, 2006, 2008, 2011 Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2004, 2005, 2006, 2008, 2011, 2017
Rocky Bernstein <rocky@gnu.org>
Copyright (C) 2014 Robert Kausch <robert.kausch@freac.org>
Copyright (C) 1998 Monty xiphmont@mit.edu
Expand Down Expand Up @@ -1019,17 +1020,16 @@ i_iterate_stage2(cdrom_paranoia_t *p,
long searchbegin=max(fbv-p->dynoverlap,rb(root));
sort_info_t *i=p->sortcache;
long j;
long best_matchbegin = -1;
long best_matchend = -1;
long best_offset = -1;

/* Initialize the "sort cache" index to allow for fast searching
* through the verified fragment between (fbv,fev). (The index will
* actually be built the first time we search.)
*/
sort_setup(i, fv(v), &fb(v), fs(v), fbv, fev);

long best_matchbegin = -1;
long best_matchend = -1;
long best_offset = -1;

/* ??? Why 23? */
for(j=searchbegin; j<searchend; j+=23){

Expand Down

0 comments on commit 01a16c8

Please sign in to comment.