]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
Merge branch 't/write_consolidation'
authorAndre Noll <maan@systemlinux.org>
Sat, 18 Feb 2012 12:21:38 +0000 (13:21 +0100)
committerAndre Noll <maan@systemlinux.org>
Sat, 18 Feb 2012 12:25:14 +0000 (13:25 +0100)
This topic branch has been cooking in next for two weeks with no
problems.

1  2 
NEWS
grab_client.c

diff --combined NEWS
index 130c0fc22d511102ddbef5f6ed9d021f844057da,16e8e4e8cf2dba2709b75b612d386434838609ff..f14f2879a8f61726f1c2464d4498b2f771e510c7
--- 1/NEWS
--- 2/NEWS
+++ b/NEWS
@@@ -2,10 -2,6 +2,13 @@@
  0.4.10 (to be announced) "heterogeneous vacuum"
  -----------------------------------------------
  
 +      - The --no_default_filters option of para_filter has been
 +        depricated. It still works but has no effect and will be
 +        removed in the next version.
 +
++       - Cleanup and consolidation of the various wrappers for
++         write(), writev(), send() and friends.
++
  -------------------------------------
  0.4.9 (2011-12-06) "hybrid causality"
  -------------------------------------
diff --combined grab_client.c
index e96fed36bc2146a1eed39a879581d0a5298c5fbc,729c8193a90d7f21edefa6b83b4f35db169bbbc6..07f779bd172ac5f83f78d53e133881b94cc54ef3
@@@ -76,7 -76,7 +76,7 @@@ static int gc_write(struct grab_client 
                if (gc->mode == GM_SLOPPY)
                        return len;
        }
-       ret = write_nonblock(gc->fd, buf, len);
+       ret = xwrite(gc->fd, buf, len);
        if (ret < 0)
                goto err;
        if (ret > 0)
@@@ -140,7 -140,7 +140,7 @@@ static void gc_activate(struct grab_cli
  /**
   * Activate inactive grab clients if possible.
   *
 - * \param sched Needed to schedule the grab client task.
 + * \param s Needed to schedule the grab client task.
   *
   * This is called from audiod.c when the current audio file changes. It loops
   * over all inactive grab clients and checks each grab client's configuration