gentoo/www-client/w3mmee/files/w3mmee-glibc-2.14.patch
Akinori Hattori 3567cc0d71
www-client/w3mmee: update patches
Package-Manager: Portage-2.3.24, Repoman-2.3.6
2018-03-31 22:54:18 +09:00

32 lines
776 B
Diff

--- a/istream.c
+++ b/istream.c
@@ -132,7 +132,7 @@ newFileStream(FILE *f, void (*closep)())
stream = New(struct input_stream);
init_base_stream(stream, STREAM_BUF_SIZE);
stream->type = IST_FILE;
- stream->handle.file = New(struct file_handle);
+ stream->handle.file = New(struct afile_handle);
stream->handle.file->f = f;
if (closep)
--- a/istream.h
+++ b/istream.h
@@ -20,7 +20,7 @@ struct stream_buffer {
typedef struct stream_buffer *StreamBuffer;
-struct file_handle {
+struct afile_handle {
FILE *f;
void (*close)(FILE *);
};
@@ -121,7 +121,7 @@ struct tee_handle {
union input_handle {
void *gen;
int fd;
- struct file_handle *file;
+ struct afile_handle *file;
struct delimited_handle *delimited;
Str str;
#ifdef USE_SSL