aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-process.c
Commit message (Collapse)AuthorAgeFilesLines
* Start at fd = 3.Jeffrey Stedfast2003-12-021-4/+2
| | | | | | | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * camel-process.c (camel_process_fork): Start at fd = 3. * camel-gpg-context.c (gpg_ctx_op_start): Same. * camel-filter-driver.c (pipe_to_system): Same. * camel-filter-search.c (run_command): Start at fd = 3. svn path=/trunk/; revision=23549
* Same.Jeffrey Stedfast2003-12-011-1/+1
| | | | | | | | | | | | | | | | | | | 2003-12-01 Jeffrey Stedfast <fejj@ximian.com> * camel-stream-process.c (do_exec_command): Same. * camel-process.c (camel_process_fork): Same. * camel-filter-search.c (run_command): Same as below. * camel-filter-driver.c (pipe_to_system): Same as below. * camel-gpg-context.c (gpg_ctx_op_start): Use fcntl() to set FD_CLOEXEC on each fd rather than close()ing it. Apparently Linux's older pthread implementations use sockets and so this fouls threading up. GO LINUX! GO! svn path=/trunk/; revision=23527
* Updated to use the new API from a fe commits ago for the NSS stream. ThisJeffrey Stedfast2003-03-041-0/+153
2003-03-03 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-openssl.c (camel_tcp_stream_ssl_new): Updated to use the new API from a fe commits ago for the NSS stream. This is just to make it compile, but does not update the behaviour to act like the NSS stream. Note that people shouldn't be using OpenSSL anyway. (camel_tcp_stream_ssl_new_raw): Same. * camel-process.[c,h]: New source file containing convenience functions for process creation/termination mainly for use with Pipe filters but should be usable for anything we want. * camel-io.[c,h]: New source files implementing read/write system calls with proper error checking and cancellation (ie. StreamFs::read/write and CamelTcpStreamRaw::read/write). No sense duplicating the same code over and over. Now I can use this same code easily in other i/o code (such as Pipe filters and gpg code?). svn path=/trunk/; revision=20132