[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] Detecting write errors [PATCH]

From: gilmap
Subject: [Lynx-dev] Detecting write errors [PATCH]
Date: Sat, 29 Jul 2006 23:58:57 -0600 (MDT)

In a recent note, Thomas Dickey said:

> Date: Sat, 29 Jul 2006 11:49:00 -0400 (EDT)
> I think there's a problem with the analogy.  Without more information from 
> Lawrence, I suspect he's downloaded a file containing the URL information
> and is starting realplay.exe with _that_.  In that case, lynx wouldn't be
> doing the streaming.
Aha!  I didn't think Lynx could stream, except with the -source

> > BTW, when /tmp overflowed, Lynx never detected nor reported
> > an error -- it just continued updating its status odometer.
> > I might try to fix this.  Can Lynx use strerror()?
> yes - actually it's using a wrapper LYStrerror()
Well, it's easy enough to detect the error from fwrite
and issue HTAlert.  But I'm completely lost as to how
to interrupt the download.  What happens when I press
ctrl-G?  Signal?  longjump?  Set a global variable?
or does download code poll periodically?

I'm supplying what I have as a patch.  Perhaps another
can improve it.  It's likely a candidate for 2.8.7.


Attachment: lynx.patch.diskfull
Description: ascii text

reply via email to

[Prev in Thread] Current Thread [Next in Thread]