[Extractor-gtk-cvslog] SF.net SVN: extractor-gtk: [40] trunk/extractor/generic.c
Extract files from unusual archive formats
Brought to you by:
someone-guy
From: <som...@us...> - 2007-09-16 11:43:56
|
Revision: 40 http://extractor-gtk.svn.sourceforge.net/extractor-gtk/?rev=40&view=rev Author: someone-guy Date: 2007-09-16 04:43:35 -0700 (Sun, 16 Sep 2007) Log Message: ----------- Move variable into appropriate block Modified Paths: -------------- trunk/extractor/generic.c Modified: trunk/extractor/generic.c =================================================================== --- trunk/extractor/generic.c 2007-09-16 11:03:30 UTC (rev 39) +++ trunk/extractor/generic.c 2007-09-16 11:43:35 UTC (rev 40) @@ -30,12 +30,12 @@ static file_t *get_list(FILE *in) { register buffer_t t = 0; - int i; int bz2idx = -1; int cnt = 0; file_t *list = calloc(1, sizeof(file_t)); rewind(in); while (!feof(in) && cnt + 3 < SIZE_MAX / sizeof(file_t)) { + int i; t = t << 8 | fgetc(in); switch (t & 0xffffffff) { case TAG('R', 'I', 'F', 'F'): This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |