simon-git: spigot (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun Dec 14 15:12:30 GMT 2014


TL;DR:
  709d99f Permit the same fd specifier to appear twice in an expression.
  d4a903b Add some test cases of fd input.

Repository:     git://git.tartarus.org/simon/spigot.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=spigot.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2014-12-14 15:12:30

commit 709d99f9da7fa593ecb2f6df8da2ffec4bd52225
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=709d99f9da7fa593ecb2f6df8da2ffec4bd52225;hp=b9b840c8123f23ea234f3905a7f5465cede85b2e
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Dec 14 15:02:26 2014 +0000

    Permit the same fd specifier to appear twice in an expression.
    
    There's actually no reason why it shouldn't; we already have the
    mechanism for caching the data read from the fd and repeating it into
    multiple spigot clients. All we need now is to actually store the
    FileReader object in the per-fd structure, so we can find it again to
    reuse.

 io.cpp |   36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

commit d4a903b7430ee7f2ec273455fa67ed038435ff70
web diff http://tartarus.org/~simon-git/gitweb/?p=spigot.git;a=commitdiff;h=d4a903b7430ee7f2ec273455fa67ed038435ff70;hp=709d99f9da7fa593ecb2f6df8da2ffec4bd52225
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Dec 14 14:41:19 2014 +0000

    Add some test cases of fd input.
    
    This tests the basic mechanism, and also the double-fd-specifier code
    I just added in the previous commit. The fd tests are conditional on
    'spigot --version' reporting that fd support is compiled in.

 test.sh |   45 +++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 43 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list