faubackup2/src main.cpp,1.16,1.17
Erik Merkel <[email protected]> Thu, 22 Sep 2005 15:48:59 +0000
| Newsgroups | gmane.comp.sysutils.backup.faubackup.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/faubackup/faubackup2/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12163
Modified Files:
main.cpp
Log Message:
changes to work with streams instead of simple file descriptors
Index: main.cpp
===================================================================
RCS file: /cvsroot/faubackup/faubackup2/src/main.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** main.cpp 13 Jun 2005 20:12:34 -0000 1.16
--- main.cpp 22 Sep 2005 15:48:57 -0000 1.17
***************
*** 167,171 ****
output.information("hidden server! " + string(server_destdir), DEBUG_OUTPUT);
write(STDOUT_FILENO,&protocol_ver, 1);
! server(server_destdir, STDIN_FILENO, STDOUT_FILENO);
exit(0);
} else
--- 167,171 ----
output.information("hidden server! " + string(server_destdir), DEBUG_OUTPUT);
write(STDOUT_FILENO,&protocol_ver, 1);
! server(server_destdir, stdin, stdout);
exit(0);
} else
***************
*** 175,179 ****
output.information("hidden client! " + string(client_sourcedir), DEBUG_OUTPUT);
write(STDOUT_FILENO,&protocol_ver, 1);
! client(client_sourcedir, STDIN_FILENO, STDOUT_FILENO);
exit(0);
}
--- 175,179 ----
output.information("hidden client! " + string(client_sourcedir), DEBUG_OUTPUT);
write(STDOUT_FILENO,&protocol_ver, 1);
! client(client_sourcedir, stdin, stdout);
exit(0);
}
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php