This is the mail archive of the
cygwin-cvs@cygwin.com
mailing list for the Cygwin project.
src/winsup/cygwin ChangeLog cygserver.cc cygse ...
- From: scottc at cygwin dot com
- To: cygwin-cvs at cygwin dot com
- Date: 18 Jun 2002 21:16:19 -0000
- Subject: src/winsup/cygwin ChangeLog cygserver.cc cygse ...
CVSROOT: /cvs/src
Module name: src
Branch: cygwin_daemon
Changes by: scottc@sources.redhat.com 2002-06-18 14:16:18
Modified files:
winsup/cygwin : ChangeLog cygserver.cc cygserver_client.cc
woutsup.h
winsup/cygwin/include/cygwin: cygserver.h
Log message:
* woutsup.h (cygserver_running): Add declaration.
(api_fatal): Eliminate.
* include/cygwin/cygserver.h
(client_request_get_version::check_version): Change return type to
bool.
(check_cygserver_available): New function.
(cygserver_init): Add check_version_too argument.
* cygserver_client.cc (allow_daemon): Make a bool.
(client_request_get_version::make_request): See errno on error.
Remove special case for CYGSERVER_REQUEST_GET_VERSION; this is now
handled in cygserver_init().
(client_request_get_version::check_version): Use syscall_printf()
instead of api_fatal(). Return true if cygserver version is
compatible.
(check_cygserver_available): New function; code moved here from
cygserver_init().
(cygserver_init): Move some code into check_cygserver_available().
* cygserver.cc (__set_errno): Copy from debug.cc so that
set_errno() can be used when __OUTSIDE_CYGWIN__.
(main): Call cygserver_init() to set up cygserver_running and add
checks against this to (try and) prevent multiple copies of
cygserver running simultaneously. Remember to delete all
transport connections so that (one day) the transport classes can
tidy up on cygserver shutdown.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.915.2.44&r2=1.915.2.45
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.20&r2=1.1.2.21
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/cygserver_client.cc.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.11&r2=1.1.2.12
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/woutsup.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.1&r2=1.1.2.2
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/cygwin/cygserver.h.diff?cvsroot=src&only_with_tag=cygwin_daemon&r1=1.1.2.10&r2=1.1.2.11