aboutsummaryrefslogtreecommitdiff
path: root/runcap.h
AgeCommit message (Collapse)AuthorFiles
2019-08-17Implement runcap_read functionv1.2Sergey Poznyakoff1
* Make.am (RUNCAP_SRC): Add read.c * read.c: New file * runcap.h (runcap_read): New proto. * t/rt: Expand read request to include a flag for selecting * t/read.at: New file. * t/nocap.at: New file * t/nocap00.at: Remove. * t/nocap01.at: Remove. * t/Makefile.am (TESTSUITE_AT): Add new test. Merge two nocap tests to one. * t/testsuite.at: Likewise.
2019-08-16Run line monitor functions with stream capturing disabledSergey Poznyakoff1
* runcap.3: Document changes. * runcap.c (stream_capture_init): Change signature. Change to static. (stream_capture_free): Change to static. (stream_capture_get): Special handling for "no capture" streams with line monitors. * runcap.h (stream_capture): New member: sc_nocap. (RCF_STDOUT_NOCAP) (RCF_STDERR_NOCAP): New flags. * t/Makefile.am: Add new tests. * t/testsuite.at: Likewise. * t/linemon02.at: Add copyright header. * t/linemon03.at: New test. * t/nocap.inc: New include file. * t/nocap00.at: New test. * t/nocap01.at: New test. * t/rt.c: New option: -N
2017-07-21Fix tell/seek operationsSergey Poznyakoff1
* 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-19Include the manpage; improve make distcheckSergey Poznyakoff1
2017-07-19Rename struct filecapture to stream_capture; portability fixesSergey Poznyakoff1
2017-07-18Minor changeSergey Poznyakoff1
* 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 Poznyakoff1
2017-07-17Initial commitSergey Poznyakoff1

Return to:

Send suggestions and report system problems to the System administrator.