[xiph-cvs] cvs commit: win32-tools/oggdrop encthread.c
Chris Wolf
cwolf at xiph.org
Sat Sep 29 10:52:55 PDT 2001
cwolf 01/09/29 10:52:54
Modified: oggdrop encthread.c
Log:
Close open files -- Olaf van der Spek
Revision Changes Path
1.6 +2 -0 win32-tools/oggdrop/encthread.c
Index: encthread.c
===================================================================
RCS file: /usr/local/cvsroot/win32-tools/oggdrop/encthread.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- encthread.c 2001/09/28 15:19:06 1.5
+++ encthread.c 2001/09/29 17:52:54 1.6
@@ -192,6 +192,7 @@
break;
}
j++;
+ (void)fseek(in, 0, SEEK_SET);
}
if (!foundformat) {
@@ -205,6 +206,7 @@
if(out == NULL) {
error_handler("Error opening/writing to output file %s", out_fn);
numfiles--;
+ (void)fclose(in);
continue;
}
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list