X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpipe-filter-ii.c;h=2072ea3de1dde1a846be3c35752ba3a78a25729e;hb=25a6731afb775d2fe8ab53ea944158137d458462;hp=d0eb86b7766574cf5598e4f640582356944cdb5a;hpb=bf7690a6dc4d459c3a1315ba23ea521d64ab9afa;p=gnulib.git diff --git a/lib/pipe-filter-ii.c b/lib/pipe-filter-ii.c index d0eb86b77..2072ea3de 100644 --- a/lib/pipe-filter-ii.c +++ b/lib/pipe-filter-ii.c @@ -1,5 +1,5 @@ /* Filtering of data through a subprocess. - Copyright (C) 2001-2003, 2008-2011 Free Software Foundation, Inc. + Copyright (C) 2001-2003, 2008-2014 Free Software Foundation, Inc. Written by Bruno Haible , 2009. This program is free software: you can redistribute it and/or modify @@ -155,7 +155,7 @@ pipe_filter_ii_execute (const char *progname, return -1; #if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__ - /* Native Woe32 API. */ + /* Native Windows API. */ /* Pipes have a non-blocking mode, see function SetNamedPipeHandleState and the article "Named Pipe Type, Read, and Wait Modes", but Microsoft's documentation discourages its use. So don't use it. @@ -348,7 +348,7 @@ pipe_filter_ii_execute (const char *progname, if (buf != NULL) { /* Writing to a pipe in non-blocking mode is tricky: The - write() call may fail with EAGAIN, simply because suffcient + write() call may fail with EAGAIN, simply because sufficient space is not available in the pipe. See POSIX:2008 . This happens actually on AIX and IRIX, when bufsize >= 8192