Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 277955 Details for
Bug 370769
www-client/w3m fails to build with glibc-2.14
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
w3m.patch (text/plain), 1.63 KB, created by
Naohiro Aota
on 2011-06-23 23:24:54 UTC
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Naohiro Aota
Created:
2011-06-23 23:24:54 UTC
Size:
1.63 KB
patch
obsolete
>--- istream.c.~1.27.~ 2011-01-04 18:22:22.000000000 +0900 >+++ istream.c 2011-06-24 08:15:23.522990618 +0900 >@@ -22,8 +22,8 @@ > static void basic_close(int *handle); > static int basic_read(int *handle, char *buf, int len); > >-static void file_close(struct file_handle *handle); >-static int file_read(struct file_handle *handle, char *buf, int len); >+static void file_close(struct afile_handle *handle); >+static int file_read(struct afile_handle *handle, char *buf, int len); > > static int str_read(Str handle, char *buf, int len); > >@@ -114,7 +114,7 @@ > stream = New(union input_stream); > init_base_stream(&stream->base, STREAM_BUF_SIZE); > stream->file.type = IST_FILE; >- stream->file.handle = New(struct file_handle); >+ stream->file.handle = New(struct afile_handle); > stream->file.handle->f = f; > if (closep) > stream->file.handle->close = closep; >@@ -658,13 +658,13 @@ > } > > static void >-file_close(struct file_handle *handle) >+file_close(struct afile_handle *handle) > { > handle->close(handle->f); > } > > static int >-file_read(struct file_handle *handle, char *buf, int len) >+file_read(struct afile_handle *handle, char *buf, int len) > { > return fread(buf, 1, len, handle->f); > } >--- istream.h.~1.12.~ 2003-10-21 01:41:56.000000000 +0900 >+++ istream.h 2011-06-24 08:15:54.392991144 +0900 >@@ -20,7 +20,7 @@ > > typedef struct stream_buffer *StreamBuffer; > >-struct file_handle { >+struct afile_handle { > FILE *f; > void (*close) (); > }; >@@ -53,7 +53,7 @@ > > struct file_stream { > struct stream_buffer stream; >- struct file_handle *handle; >+ struct afile_handle *handle; > char type; > char iseos; > int (*read) ();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 370769
:
276345
| 277955