1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
$NetBSD: patch-ad,v 1.1 2009/05/15 10:29:05 adam Exp $
--- src/lib/jcr.c.orig 2009-04-10 13:12:50.000000000 +0200
+++ src/lib/jcr.c
@@ -1059,13 +1059,8 @@ void _dbg_print_jcr(FILE *fp)
fprintf(fp, "JCR=%p JobId=%i name=%s JobStatus=%c\n",
jcr, jcr->JobId, jcr->Job, jcr->JobStatus);
-#ifdef HAVE_WIN32
fprintf(fp, "\tuse_count=%i\n",
jcr->use_count());
-#else
- fprintf(fp, "\tuse_count=%i threadid=0x%x\n",
- jcr->use_count(), (int)jcr->my_thread_id);
-#endif
fprintf(fp, "\tJobType=%c JobLevel=%c\n",
jcr->get_JobType(), jcr->get_JobLevel());
bstrftime(buf1, sizeof(buf1), jcr->sched_time);
|