Module Name: xsrc Committed By: christos Date: Wed Mar 2 18:18:39 UTC 2011
Modified Files: xsrc/local/programs/xsystrace: callbacks.c Log Message: change dprintf -> debugprintf To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 xsrc/local/programs/xsystrace/callbacks.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: xsrc/local/programs/xsystrace/callbacks.c diff -u xsrc/local/programs/xsystrace/callbacks.c:1.4 xsrc/local/programs/xsystrace/callbacks.c:1.5 --- xsrc/local/programs/xsystrace/callbacks.c:1.4 Sat Oct 5 21:35:55 2002 +++ xsrc/local/programs/xsystrace/callbacks.c Wed Mar 2 13:18:39 2011 @@ -73,7 +73,7 @@ XtInputId inputId; static void -dprintf(char *format, ...) +debugprintf(char *format, ...) { va_list ap; @@ -95,7 +95,7 @@ return NULL; if ((n = read(fd, p, 1)) <= 0) { - dprintf("got null line n=%zd state %d\n", n, state); + debugprintf("got null line n=%zd state %d\n", n, state); XtRemoveInput(inputId); return NULL; } @@ -108,7 +108,7 @@ *p = '\0'; - dprintf("state %d got line: %s\n", state, line); + debugprintf("state %d got line: %s\n", state, line); return (line); } @@ -245,7 +245,7 @@ XtSetArg(args[0], XtNstring, &errorcode); XtGetValues(w, args, 1); - dprintf("new error code %s\n", errorcode); + debugprintf("new error code %s\n", errorcode); } void @@ -256,7 +256,7 @@ XtSetArg(args[0], XtNstring, &errorcode); XtGetValues(w, args, 1); - dprintf("deny-now[%s]\n", errorcode); + debugprintf("deny-now[%s]\n", errorcode); printf("deny-now[%s]\n", errorcode); } @@ -274,7 +274,7 @@ XtSetArg(args[0], XtNstring, &errorcode); XtGetValues(w, args, 1); - dprintf("deny[%s]\n", errorcode); + debugprintf("deny[%s]\n", errorcode); printf("deny[%s]\n", errorcode); }