summaryrefslogtreecommitdiffstats
path: root/daemon/tar.c
Commit message (Collapse)AuthorAgeFilesLines
* Replace shell_quote function with %Q and %R printf specifiers.Richard Jones2009-07-281-36/+24
| | | | | | | %Q => simple shell quoted string %R => path will be prefixed by /sysroot eg. snprintf (cmd, sizeof cmd, "cat %R", path); system (cmd);
* Make /sysroot path configurable.Richard Jones2009-07-181-8/+12
| | | | | | | | | Currently /sysroot is hard-coded throughout the daemon code. This patch turns the path into a variable so that we can change it in future, for example to allow standalone mode to be implemented. This patch was tested by running all the C API tests successfully.
* remove trailing blanksJim Meyering2009-07-031-1/+1
|
* All instances of 'pclose' now check for return value != 0.Richard W.M. Jones2009-07-011-4/+4
| | | | | | We are generally interested that the subcommand ran without error, ie. had exit status of 0. 'pclose' returns the exit status, so we now check that pclose (fp) != 0.
* In the daemon, change all const char * parameters to char *.Richard Jones2009-06-101-4/+4
|
* Fix a memory leak in handling of tar files.Richard Jones2009-05-191-0/+8
|
* Use ferror to check for error conditions in pipe.Richard Jones2009-04-261-2/+2
|
* Added tar-in, tar-out, tgz-in, tgz-out commands.Richard Jones2009-04-201-0/+279