summaryrefslogtreecommitdiffabout
AgeCommit message (Collapse)AuthorFiles
2018-06-01Fix typo in READMEHEADmasterSergey Poznyakoff1
2017-12-01BugfixesSergey Poznyakoff3
* runcap.3: Update docs. * runcap.c (stream_capture_get,stream_capture_put) (runcap_loop): Handle EINTR. * README: New file.
2017-09-27Avoid closing stdin.Sergey Poznyakoff3
When given the RCF_STDIN flag, runcap_init failed to initialize rc_cap[RUNCAP_STDIN].sc_storfd. It remained initialized to 0 which eventually led to stdin being inadvertenlty closed by runcap_free. * runcap.c (stream_capture_alloc): Merge with stream_capture_init. All callers updated. (runcap_init): Initialize rc_cap[RUNCAP_STDIN].sc_storfd to -1 to prevent it from being closed. * t/pipe.at: Set 5 seconds timeout. * t/stdin.at: Likewise.
2017-08-20Use the RUNCAP_BUILD environment variable to determine build type during ↵Sergey Poznyakoff1
autoconf
2017-08-19BugfixesSergey Poznyakoff4
2017-08-19Rewrite testsuite in autotest. Fix distcheckSergey Poznyakoff21
2017-08-19Switch to autotoolsSergey Poznyakoff11
* .gitignore: Update. * Makefile: Remove. * Make.am: New file. * install.am: New file. * shared.am: New file. * static.am: New file. * configure.ac: New file. * runcap.m4: New file. * t/Makefile: Remove. * t/Makefile.am: New file. * t/testsuite: Don't use relative directory addressing.
2017-07-24Improve manpageSergey Poznyakoff1
2017-07-21Speed-up pipe readsSergey Poznyakoff1
2017-07-21Fix tell/seek operationsSergey Poznyakoff8
* Makefile (clean): descend into t as well. * t/Makefile (clean): New goal. * runcap.h (runcap_seek): Return off_t. * seek.c (runcap_seek): Change return value. Fix operation. * tell.c (runcap_tell): Bugfix. * t/rt.c: New option -r for testing seek. * t/08seek.t: New testcase. * t/09seek.t: New testcase.
2017-07-20Minor changesSergey Poznyakoff2
* Makefile: Add the "clean" rule. * runcap.c (runcap): Rewind captured streams before return on success.
2017-07-20Fix some wording in the manpageSergey Poznyakoff1
2017-07-19Invokee linemon for partial lines as wellSergey Poznyakoff5
2017-07-19Include the manpage; improve make distcheckSergey Poznyakoff8
2017-07-19Rename struct filecapture to stream_capture; portability fixesSergey Poznyakoff9
2017-07-19Implement make dist; add new testSergey Poznyakoff4
* Makefile (distdir,dist,distcheck): New goals. * t/Makefile (dist): New goal. * t/06mon.t: New file.
2017-07-18Minor changeSergey Poznyakoff5
* runcap.h (filecapture) <fc_linestart>: Rename to fc_cur. All uses updated. * runcap.c (filecapture_put): Use fc_cur as current pointer and fc_level as the limit, for consistency. (runcap_init): Initialize fc_cur.
2017-07-18Add missing API calls, provide testsuiteSergey Poznyakoff19
2017-07-17Minor changeSergey Poznyakoff1
2017-07-17Write a test toolSergey Poznyakoff2
* runcap.c (timeval_after): Fix typo. * t/rt.c: New file.
2017-07-17Initial commitSergey Poznyakoff3

Return to:

Send suggestions and report system problems to the System administrator.