[lwatch-cvs] files/src acolors.c,1.6,1.7 control.c,1.9,1.10 lwatch.c,1.9,1.10 strpcre.c,1.10,1.11
Brought to you by:
arturcz
|
From: <ar...@us...> - 2002-07-23 12:02:13
|
Update of /cvsroot/lwatch/files/src
In directory usw-pr-cvs1:/tmp/cvs-serv12654
Modified Files:
acolors.c control.c lwatch.c strpcre.c
Log Message:
Remove unnecessary debug messages.
Index: acolors.c
===================================================================
RCS file: /cvsroot/lwatch/files/src/acolors.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** acolors.c 19 Jul 2002 00:17:17 -0000 1.6
--- acolors.c 23 Jul 2002 12:01:45 -0000 1.7
***************
*** 129,149 ****
numer[2]='\0';
val=atoi(numer);
- #ifdef DEBUG
- printf("val in: %2i",val);
- #endif
if(val) {
- #ifdef DEBUG
- printf(" ");
- #endif
col_stack[++col_stack_ptr]=val;
} else {
- #ifdef DEBUG
- printf(" -");
- #endif
val=col_stack[--col_stack_ptr];
}
- #ifdef DEBUG
- printf("SP: %2i top: %2i val out: %2i\n",col_stack_ptr-1,col_stack[col_stack_ptr-1],val);
- #endif
color=colmode[val];
while(*color) {
--- 129,137 ----
Index: control.c
===================================================================
RCS file: /cvsroot/lwatch/files/src/control.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** control.c 16 Jul 2002 19:24:45 -0000 1.9
--- control.c 23 Jul 2002 12:01:45 -0000 1.10
***************
*** 72,82 ****
for(i=1;i<SIGSYS;i++) {
if((i==SIGKILL)||(i==SIGSTOP)||(i==SIGSEGV)) continue;
- #ifdef DEBUG
- printf("Set signal handler for %i... ",i);
- #endif
sig_check(signal(i,&signal_handle),"");
- #ifdef DEBUG
- printf("Done\n");
- #endif
}
}
--- 72,76 ----
Index: lwatch.c
===================================================================
RCS file: /cvsroot/lwatch/files/src/lwatch.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** lwatch.c 30 Jun 2002 00:23:53 -0000 1.9
--- lwatch.c 23 Jul 2002 12:01:45 -0000 1.10
***************
*** 76,80 ****
res=poll(&input,1,-1);
#ifdef DEBUG
! show_poll_res(res,&input,1);
#endif
if(errno!=EINTR) io_check(res,"poll");
--- 76,80 ----
res=poll(&input,1,-1);
#ifdef DEBUG
! /* show_poll_res(res,&input,1); */
#endif
if(errno!=EINTR) io_check(res,"poll");
***************
*** 85,91 ****
if(res<1) continue;
io_check(res=read(fd,(void*)rbuf,BUFSIZE),"read input");
- #ifdef DEBUG
- printf("Read %i byte(s)\n",res);
- #endif
if(!res) continue;
rbuf[res]='\0';
--- 85,88 ----
Index: strpcre.c
===================================================================
RCS file: /cvsroot/lwatch/files/src/strpcre.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** strpcre.c 23 Jul 2002 11:41:04 -0000 1.10
--- strpcre.c 23 Jul 2002 12:01:45 -0000 1.11
***************
*** 210,214 ****
}
#ifdef DEBUG
! printf("all: %i, cur: [%i] %s\n",no_actions,i,lw_actions[i].restr);
#endif
if(!ignore) {
--- 210,214 ----
}
#ifdef DEBUG
! /* printf("all: %i, cur: [%i] %s\n",no_actions,i,lw_actions[i].restr); */
#endif
if(!ignore) {
|