Re: Plan9

2016-12-16 Thread Bruno Haible
Paul Eggert wrote in ChangeLog entry: > Is Plan 9 still a valid porting target, anyway? Well, it got requested in 2012 [1]. And, I guess, it has some educational value regarding Unix and minimalism. Bruno [1] https://lists.gnu.org/archive/html/bug-gnulib/2012-02/msg4.html

Re: fpurge.c on Plan9/APE

2012-02-03 Thread Bruno Haible
Jens Staal wrote: > I think the problem basically is that I do not fully understand what is > done in all those other OSes defined in fpurge.c and what is expected > from this function Yes, it's not easy to understand the various stdioext operations. Here is a tentative

Re: fpurge.c on Plan9/APE

2012-02-03 Thread Paul Eggert
On 02/03/2012 07:25 AM, Jens Staal wrote: >> I suggest getting a copy of the Plan 9 source code, >> and looking at how getchar and putchar work. > from stdio.h: Sorry, I meant the source code, as in stdio.c (or putchar.c, or whatever). That is, you can't merely look at the headers -- you need to

Re: fpurge.c on Plan9/APE

2012-02-03 Thread Jens Staal
Plan9 as a hobby project [1] and ran into this issue when trying to port GNU m4 and I am sort of lost... [1] http://code.google.com/p/ports2plan9/

Re: fpurge.c on Plan9/APE

2012-02-02 Thread Paul Eggert
On 02/02/2012 08:14 PM, Jens Staal wrote: > So I should use *rp and *wp > - but how? I suggest getting a copy of the Plan 9 source code, and looking at how getchar and putchar work.

Re: fpurge.c on Plan9/APE

2012-02-02 Thread Jens Staal
2012/2/2 Paul Eggert : > On 02/02/2012 03:04 AM, Jens Staal wrote: >> do I need a custom made one >> and how should that one look? > > That's what it looks like.  You can start by inspecting > and look for fields in its FILE * structure. The Plan9 APE stdio can be

Re: fpurge.c on Plan9/APE

2012-02-02 Thread Paul Eggert
On 02/02/2012 03:04 AM, Jens Staal wrote: > do I need a custom made one > and how should that one look? That's what it looks like. You can start by inspecting and look for fields in its FILE * structure.