Skip to content

Commit

Permalink
Snapshot: Commit before converting recs to gap/same/pag module
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef Ezra committed Nov 15, 2013
1 parent b91140c commit 9799b5d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 2 additions & 5 deletions .gitignore
@@ -1,9 +1,6 @@
PROF
jfastq
jfastq.opt
jfastq.prof
jfastq.utest
one
one.prof
one.opt
jfastq.run
slimfastq
slimfastq.*
8 changes: 6 additions & 2 deletions one.cpp
@@ -1,3 +1,7 @@


// This Brilliant code was written by James Bonfield

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Expand Down Expand Up @@ -1003,7 +1007,7 @@ enum name_type {N_UNK = 0, N_ALPHA, N_CHAR,
void fqz::encode_name2(RangeCoder *rc, char *name, int len) {
int i, j, k;

static int last_token_type[1024];
static int last_token_type[1024]; // je: initialized?
static int last_token_int[1024];
static int last_token_str[1024];

Expand Down Expand Up @@ -1048,7 +1052,7 @@ void fqz::encode_name2(RangeCoder *rc, char *name, int len) {
last_token_type[ntok] = N_ALPHA;

i = s-1;
}
} // end isalpha
else if (name[i] == '0') {
int s = i, v;
while (s < len && name[s] == '0')
Expand Down

0 comments on commit 9799b5d

Please sign in to comment.