unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* setvbuf can't make it unbuffered
@ 2013-03-13 11:05 Nala Ginrut
  2013-03-13 13:08 ` Andy Wingo
  0 siblings, 1 reply; 6+ messages in thread
From: Nala Ginrut @ 2013-03-13 11:05 UTC (permalink / raw)
  To: guile-devel

Hi guys!
I'm playing Guile 'cat' for Guile-100, but I found that 'setvbuf' seems
can't make it unbuffered.
Anyone folks could help it for me?

Here is the code:
https://gist.github.com/NalaGinrut/5151115




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setvbuf can't make it unbuffered
  2013-03-13 11:05 setvbuf can't make it unbuffered Nala Ginrut
@ 2013-03-13 13:08 ` Andy Wingo
  2013-03-13 14:39   ` Nala Ginrut
  2013-03-14  3:38   ` Mike Gran
  0 siblings, 2 replies; 6+ messages in thread
From: Andy Wingo @ 2013-03-13 13:08 UTC (permalink / raw)
  To: Nala Ginrut; +Cc: guile-devel

On Wed 13 Mar 2013 12:05, Nala Ginrut <nalaginrut@gmail.com> writes:

> I'm playing Guile 'cat' for Guile-100, but I found that 'setvbuf' seems
> can't make it unbuffered.
> Anyone folks could help it for me?
>
> Here is the code:
> https://gist.github.com/NalaGinrut/5151115

I made some notes there.

FWIW if in the future you want comments or review, please append the
code as an attachment to the mail.  Makes review easier.

Thanks,

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setvbuf can't make it unbuffered
  2013-03-13 13:08 ` Andy Wingo
@ 2013-03-13 14:39   ` Nala Ginrut
  2013-03-14  3:38   ` Mike Gran
  1 sibling, 0 replies; 6+ messages in thread
From: Nala Ginrut @ 2013-03-13 14:39 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-devel

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]

To whom may interested in Guile-100, I have to explain that I'm not the
volunteer this week, I wrote 'cat' just because the code strike me.

And I'm sorry to bother folks with this code.


在 2013-3-13 PM9:09,"Andy Wingo" <wingo@pobox.com>写道:

> On Wed 13 Mar 2013 12:05, Nala Ginrut <nalaginrut@gmail.com> writes:
>
> > I'm playing Guile 'cat' for Guile-100, but I found that 'setvbuf' seems
> > can't make it unbuffered.
> > Anyone folks could help it for me?
> >
> > Here is the code:
> > https://gist.github.com/NalaGinrut/5151115
>
> I made some notes there.
>
> FWIW if in the future you want comments or review, please append the
> code as an attachment to the mail.  Makes review easier.
>
> Thanks,
>
> Andy
> --
> http://wingolog.org/
>

[-- Attachment #2: Type: text/html, Size: 1356 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setvbuf can't make it unbuffered
  2013-03-13 13:08 ` Andy Wingo
  2013-03-13 14:39   ` Nala Ginrut
@ 2013-03-14  3:38   ` Mike Gran
  2013-03-14  8:58     ` Andy Wingo
  1 sibling, 1 reply; 6+ messages in thread
From: Mike Gran @ 2013-03-14  3:38 UTC (permalink / raw)
  To: Andy Wingo, Nala Ginrut; +Cc: guile-devel

> From: Andy Wingo <wingo@pobox.com>

>I made some notes there.
>


Hi Andy,

I noticed in your comments to Nala G that you recommend using
`print-exception'.  Is that intended to be public API?  It doesn't
appear in the manual.

Thanks,

Mike



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setvbuf can't make it unbuffered
  2013-03-14  3:38   ` Mike Gran
@ 2013-03-14  8:58     ` Andy Wingo
  2013-03-14  9:38       ` Nala Ginrut
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Wingo @ 2013-03-14  8:58 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-devel

Hi :)

On Thu 14 Mar 2013 04:38, Mike Gran <spk121@yahoo.com> writes:

>> From: Andy Wingo <wingo@pobox.com>
>
>>I made some notes there.
>>
>
> I noticed in your comments to Nala G that you recommend using
> `print-exception'.  Is that intended to be public API?  It doesn't
> appear in the manual.

It is intended to be public, yes.  So many bugs!

Andy
-- 
http://wingolog.org/



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: setvbuf can't make it unbuffered
  2013-03-14  8:58     ` Andy Wingo
@ 2013-03-14  9:38       ` Nala Ginrut
  0 siblings, 0 replies; 6+ messages in thread
From: Nala Ginrut @ 2013-03-14  9:38 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-devel

On Thu, 2013-03-14 at 09:58 +0100, Andy Wingo wrote:
> Hi :)
> 
> On Thu 14 Mar 2013 04:38, Mike Gran <spk121@yahoo.com> writes:
> 
> >> From: Andy Wingo <wingo@pobox.com>
> >
> >>I made some notes there.
> >>
> >
> > I noticed in your comments to Nala G that you recommend using
> > `print-exception'.  Is that intended to be public API?  It doesn't
> > appear in the manual.
> 
> It is intended to be public, yes.  So many bugs!
> 

Sometimes I didn't try to fix these tiny things because I thought it's
intended to be private against users. ;-)


> Andy





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-03-14  9:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-13 11:05 setvbuf can't make it unbuffered Nala Ginrut
2013-03-13 13:08 ` Andy Wingo
2013-03-13 14:39   ` Nala Ginrut
2013-03-14  3:38   ` Mike Gran
2013-03-14  8:58     ` Andy Wingo
2013-03-14  9:38       ` Nala Ginrut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).