Displaying 1 result from an estimated 1 matches for "42fef00".
Did you mean:
42f5e000
2012 Dec 27
1
[patch] patch for fskip_ahead()
...th fstat(), and use fseeko() only when
it is a regular file.
This is confirmed to work properly both on MSVC and MinGW, can seek if
stdin is a redirected regular file, and doesn't require #ifdef.
-------------- next part --------------
diff --git a/src/flac/encode.c b/src/flac/encode.c
index 42fef00..f4b7a4c 100644
--- a/src/flac/encode.c
+++ b/src/flac/encode.c
@@ -26,6 +26,7 @@
#include <stdio.h> /* for FILE etc. */
#include <stdlib.h> /* for malloc */
#include <string.h> /* for strcmp(), strerror() */
+#include <sys/stat.h>
#include "FLAC/all.h"
#inclu...