Current-Users archive

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

Re: Problem with recent sys/kern/sys_pipe.c changes

On Tue, Dec 15, 2009 at 02:46:59PM +0100, Markus W Kilbinger wrote:
> Hi!
> After/with recent
>   cvs rdiff -u -r1.124 -r1.125 src/sys/kern/sys_pipe.c
> Nearly every unpacking of gzipped archives fails like:
>   ===> Extracting for hal-info-20091130
>   gzcat: error writing to output: No such file or directory
>   gzcat: /usr/u/NetBSD/HEAD/pkgsrc/distfiles//hal-info-20091130.tar.gz:
>   uncompress failed
>   tar: End of archive volume 1 reached
>   tar: Unexpected EOF on archive file
>   *** Error code 1
> Reverting this sys_pipe.c change makes all this working again.
> Does anybody see this?

Might be worth checking if it is a problem on the read side or write side.
(comment out the code that returns ERESTART).

ERESTART from there for a write should end up with the write() system call
returning a partial transfer. This is technically valid - but maybe not
allowed for. So would lead to missing data.

I'll think further ....


David Laight:

Home | Main Index | Thread Index | Old Index