On Fri, 1 Jun 2012 00:17:29 +0200 Roland Mainz wrote:
> On Fri, Jun 1, 2012 at 12:12 AM, Glenn Fowler <[email protected]> wrote:
> [snip]
> >> AFAIK at least the following locations need to be updated:
> >> -- snip --
> >> src/cmd/builtin/od.c:   if (sfsync(sfstdout) && errno != EPIPE)
> >> src/cmd/builtin/tr.c:           if (errno != EPIPE)
> >> src/lib/libcmd/tee.c:   if ((sfmove(sfstdin, sfstdout, SF_UNBOUND, -1)
> >> < 0 || !sfeof(sfstdin)) && errno != EPIPE && errno != EINTR)
> >> src/lib/libcmd/head.c:          if (sfmove(fp, sfstdout, keep, delim)
> >> < 0 && errno != EPIPE && errno != EINTR)
> >> src/lib/libcmd/cat.c:           if (n < 0 && errno != EPIPE && errno != 
> >> EINTR)
> >> -- snip --
> [snip]
> >
> > I added ERROR_PIPE(errno) to ast <error.h>
> > thanks

> Thanks... all victims (e.g. those in src/cmd/builtin/ and
> src/lib/libcmd/) updated, too ?

yes

_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to