Update of /cvsroot/tmux/tmux
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv21427
Modified Files:
client.c server.c tmux.c
Log Message:
Put setproctitle back under HAVE_SETPROCTITLE.
Index: client.c
===================================================================
RCS file: /cvsroot/tmux/tmux/client.c,v
retrieving revision 1.99
retrieving revision 1.100
diff -u -d -r1.99 -r1.100
--- client.c 24 Oct 2010 01:31:08 -0000 1.99
+++ client.c 24 Oct 2010 19:54:41 -0000 1.100
@@ -157,7 +157,9 @@
}
/* Set process title, log and signals now this is the client. */
+#ifdef HAVE_SETPROCTITLE
setproctitle("client (%s)", socket_path);
+#endif
logfile("client");
/* Create imsg. */
Index: server.c
===================================================================
RCS file: /cvsroot/tmux/tmux/server.c,v
retrieving revision 1.247
retrieving revision 1.248
diff -u -d -r1.247 -r1.248
--- server.c 24 Oct 2010 01:31:08 -0000 1.247
+++ server.c 24 Oct 2010 19:54:41 -0000 1.248
@@ -155,7 +155,9 @@
start_time = time(NULL);
log_debug("socket path %s", socket_path);
+#ifdef HAVE_SETPROCTITLE
setproctitle("server (%s)", socket_path);
+#endif
server_fd = server_create_socket();
server_client_create(pair[1]);
Index: tmux.c
===================================================================
RCS file: /cvsroot/tmux/tmux/tmux.c,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -d -r1.220 -r1.221
--- tmux.c 24 Oct 2010 01:31:08 -0000 1.220
+++ tmux.c 24 Oct 2010 19:54:41 -0000 1.221
@@ -471,8 +471,10 @@
strlcpy(socket_path, path, sizeof socket_path);
xfree(path);
+#ifdef HAVE_SETPROCTITLE
/* Set process title. */
setproctitle("%s (%s)", __progname, socket_path);
+#endif
/* Pass control to the client. */
#ifdef HAVE_BROKEN_KQUEUE
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
tmux-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmux-cvs