Release version 1.0.4
Release version 1.0.4
test_pstreams.cc: Fix last-minute whitespace bug added to test
README: Added release notes for 1.0.2, 1.0.3 and 1.0.4
Update files for release
doc: Update Doxyfile using Doxygen 1.9.7
pstream.h: Add whitespace around == operator
pstream.h: Add move semantics to basic_rpstream
This matches the API of POSIX execv: https://pubs.opengroup.org/onlinepubs/9699919799/functions/exec.html
The example is correct. The first argument to the ipstream constructor is the name of the executable to run (which will be looked up in PATH). The argv strings are passed to the new process as its argv[] array. By convention, argv[0] is the name of the executable that was run, but it doesn't have to be. You can actually pass some other string in argv[0]. So it's correct that there are two "rm" strings. One is used by the OS to find the program to run, and the other is passed to that program as its...
Fix sporadic test failure
From https://pstreams.sourceforge.net/ : // remove some files, capturing any error messages std::vector<std::string> argv; std::vector<std::string> errors; argv.push_back("rm"); argv.push_back("./foo.txt"); argv.push_back("./bar.html"); redi::ipstream in("rm", argv, pstreambuf::pstderr); std::string errmsg; while (std::getline(in, errmsg)) { errors.push_back(errmsg); } Should "rm" be pushed onto the vector? It is provided again in the ipstream declaration. Why twice?
Copy latest spec file from Fedora
doc: Update Doxyfile using Doxygen 1.9.5
Improve output of 'make check' target
Commit Makefile changes from 1.0.3 release
doc: Update Doxyfile using Doxygen 1.9.1
pstream.h: Fix -Wenum-conversion warnings
It's true there is no accessor for this, and the use case makes sense. I'll add it.
pstream.h: Make call to sync() explicitly non-virtual
Fix spec file for rawhide
Adjust Makefile for GNU Make 4.3 compatibility
Release version 1.0.3
Release version 1.0.3
Update version in spec file
Update filename to INSTALL.md
Regenerate HTML for 1.0.3 release
Add SPDX license identifiers and update copyright dates
pstream.h: Add move semantics
INSTALL.md: Actually use markdown this time
INSTALL: Rename to INSTALL.md and use markdown
pstream.h: Avoid -Wc++14-extensions warning from clang
pstream.h: Constrain initializer_list constructors
pstream.h: Deprecate basic_pstreambuf::init_rbuffers()
Makefile: always rebuild test files
test_pstreams.cc: Fix for explicit operator bool in C++11
pstream.h: format ctor-initializer consistently
Make PID avaialble
pstream::close() should return program exit status as pclose(3) does
Committed as d21afef311be496e6495a5e2103eec7a53ecb817 - thanks! Sorry it took so long, $DAYJOB has been very busy.
pstream::close() should return program exit status as pclose
Makefile top-level target canonicalization
Committed as d7227d867284c6a4cae47fa1b691348394e85728 - thanks!
Makefile top-level target canonicalization
Squish warning about shadowed variable in GCC 4.1.2 (CentOS 5)
Fixed in 625d4a5caa71e0256947711568fb1005831dddb9 - thanks
Fix -Wshadow warning from GCC 4.1.2
You assume right. Thanks for the patch.
pstream::close() should return program exit status as pclose(3) does
Looks good to me.
Makefile top-level target canonicalization
Thanks! I think I'll rename it to something else, as I'm using a trailing underscore for member variables. Maybe "istrm" or something like that.
Squish warning about shadowed variable in GCC 4.1.2 (CentOS 5)
Remove unnecessary Group tag and cleanup
Update email address
Change name in README
Fix licensing info in README
Update licensing info on front page
Release version 1.0.1
Change licence and release version 1.0.1
Release version 1.0.0
download/index.html: Link to R wrapper
Release version 1.0.0
Release version 1.0.0
Doxyfile: Update to Doxygen 1.8.11
test_pstreams.cc: Qualify names from std
Right, it returns the same value as wait or waitpid so you need to use WIFEXITED,...
should rdbuf()->status() match exit() value?
Right, it returns the same value as wait or waitpid so you need to use WIFEXITED,...
/close
I figured it out. I have to call WEXITSTATUS() on the value returned back from s...
I figured it out. I just have to call WEXITSTATUS() on the value returned back from...
like* getline* gives* I can't edit the ticket.
Am I suppose to use WEXITSTATUS on wait()?
Returns: The exit status of the child process, or -1 if wait() has not yet been called...
Returns: The exit status of the child process, or -1 if wait() has not yet been called...
Returns: The exit status of the child process, or -1 if wait() has not yet been called...
like* gives* I can't edit the ticket.
like* gives*
should rdbuf()->status() match exit() value?