On Thursday, Jul 17, 2003, at 12:58 Pacific/Honolulu, Matthew John
Darnell wrote:
> FYI:
> -----Original Message-----
>
> From: Ben Kramer [mailto:be...@vo...]
> Sent: Thursday, July 17, 2003 12:56 PM
> To: voi...@to...
> Subject: Re: [voicetronix] Error with playrec on beta 12 CT server
>
> Hi Matt,
>
> thats funny, I though I removed that bug from beta-12! I just checked
> and it is still in beta-12 but its not in my version. Maybe I forgot to
> check it in!
Ben,
You are using CVS? Can you please apply this patch to a future
release? (This is low priority).
diff -ru ctserver-2-beta-13/src/Makefile
ctserver-2-beta-13-patched/src/Makefile
--- ctserver-2-beta-13/src/Makefile 2003-07-01 19:41:34.000000000 -1000
+++ ctserver-2-beta-13-patched/src/Makefile 2003-07-17
14:20:29.000000000 -1000
@@ -1,5 +1,6 @@
-CPPFLAGS = -g -D_DEBUG -DLINUX -Wall $(GPROF)
+CPPFLAGS = -g -D_DEBUG -DLINUX -Wall $(GPROF) \
+ -DCOMPILED_ON=\"`date +"%H:%M:%S-%d/%m/%y"`\"
OBJS = server.o commonfunc.o vtfunc.o fifoc.o
diff -ru ctserver-2-beta-13/src/server.cpp
ctserver-2-beta-13-patched/src/server.cpp
--- ctserver-2-beta-13/src/server.cpp 2003-07-16 16:44:59.000000000
-1000
+++ ctserver-2-beta-13-patched/src/server.cpp 2003-07-17
14:20:58.000000000 -1000
@@ -108,7 +108,8 @@
char logfilepath[256]; // path to log file
int num_ports;
-
+static char server_cpp_rev[] = "$Revision$ $Date$";
+static char compiled_on[] = COMPILED_ON;
/
*-----------------------------------------------------------------------
---*\
@@ -679,6 +680,7 @@
if (pid != 0) {
// parent process - bye bye
if (!arg_exists(argc,argv,"-nv")) {
+ printf("Server (%s)(%s)\n", server_cpp_rev, compiled_on);
printf("My pid is %d\n",pid);
printf("Type 'kill <pid>' to finish\n");
printf("Type 'tail -f /var/log/messages' to monitor debug info\n");
|