This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This patch looks good. For the common stuff, One could try to create a separate structure for all the common items above and create two new structures.
typedef struct { comstream s; char buffer[BUFFER_SIZE]; } unix_tream;
typedef struct { comstream s; char * intbuf; } intstream;
That may require a lot of editing.
The patch as it is now works well.
-- Janne Blomqvist
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |