faubackup2/src/common system_calls.cpp,1.10,1.11
Erik Merkel <[email protected]> Sun, 26 Jun 2005 23:02:11 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2/src/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2211/src/common
Modified Files:
system_calls.cpp
Log Message:
speed tuning
Index: system_calls.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/common/system_calls.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** system_calls.cpp 23 Jun 2005 14:55:37 -0000 1.10
--- system_calls.cpp 26 Jun 2005 23:02:09 -0000 1.11
***************
*** 399,402 ****
--- 399,405 ----
f_in = from_child_pipe[0];
f_out = to_child_pipe[1];
+
+ //set_nonblocking(f_in);
+ //set_nonblocking(f_out);
output.information(F_("child created - pid %d") % pid, DEBUG_OUTPUT);
***************
*** 410,414 ****
#ifdef HAVE_SOCKETPAIR
! ret = socketpair(AF_UNIX, SOCK_STREAM, 0, fd);
#else
--- 413,417 ----
#ifdef HAVE_SOCKETPAIR
! ret = socketpair(AF_UNIX, SOCK_RAW, 0, fd);
#else
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click