1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/audio/kmpg/files/patch-ah
Chris Piazza b1e23d9d9b Fix boneheadedness. Such great programming practices
such as never including unistd.h and using close() on a FILE stream.
2000-01-24 01:16:32 +00:00

12 lines
281 B
Plaintext

--- lib/kmpglib/lib/id/tag.cpp.orig Sun Jan 23 17:04:33 2000
+++ lib/kmpglib/lib/id/tag.cpp Sun Jan 23 17:04:54 2000
@@ -86,7 +86,7 @@
}
if (fseek(file, -128, SEEK_END) < 0) {
- close(file);
+ fclose(file);
perror("fseek");
initTagVars();
return(0);