Index: generic/nsfUtil.c =================================================================== diff -u -N -r1d1ca561af5942718e613929b36e5d2419e4fe5a -r77ba24ec459d9168dbfad4ae0c6eb4b936e8ea6b --- generic/nsfUtil.c (.../nsfUtil.c) (revision 1d1ca561af5942718e613929b36e5d2419e4fe5a) +++ generic/nsfUtil.c (.../nsfUtil.c) (revision 77ba24ec459d9168dbfad4ae0c6eb4b936e8ea6b) @@ -147,8 +147,8 @@ static char *alphabet = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; static size_t blockIncrement = 8u; /* -static char *alphabet = "ab"; -static int blockIncrement = 2; + static char *alphabet = "ab"; + static int blockIncrement = 2; */ static unsigned char chartable[255] = {0}; @@ -176,7 +176,7 @@ if (currentChar == iss->buffer) { size_t newBufSize = iss->bufSize + blockIncrement; char *newBuffer = ckalloc(newBufSize); - + currentChar = newBuffer+blockIncrement; /*memset(newBuffer, 0, blockIncrement);*/ memcpy(currentChar, iss->buffer, iss->bufSize); @@ -235,8 +235,8 @@ iss->length = 1; /* for (i=1; i<50; i++) { - NsfStringIncr(iss); - fprintf(stderr, "string '%s' (%d)\n", iss->start, iss->length); + NsfStringIncr(iss); + fprintf(stderr, "string '%s' (%d)\n", iss->start, iss->length); } */ } @@ -249,3 +249,11 @@ ckfree(iss->buffer); } +/* + * Local Variables: + * mode: c + * c-basic-offset: 2 + * fill-column: 78 + * indent-tabs-mode: nil + * End: + */