From bf85633cd4bb16049e746b718e58ad97ba36d0ed Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 12 Jun 2009 19:05:34 +0000 Subject: [PATCH] Remove non-portable code referencing pthread_t git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8894 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/lib/jcr.c | 4 ++-- bacula/technotes | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bacula/src/lib/jcr.c b/bacula/src/lib/jcr.c index 4da6de29da..d599a94a14 100644 --- a/bacula/src/lib/jcr.c +++ b/bacula/src/lib/jcr.c @@ -1063,8 +1063,8 @@ void _dbg_print_jcr(FILE *fp) 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); + /* KES -- removed non-portable code referencing pthread_t */ + fprintf(fp, "\tuse_count=%d\n", jcr->use_count()); #endif fprintf(fp, "\tJobType=%c JobLevel=%c\n", jcr->get_JobType(), jcr->get_JobLevel()); diff --git a/bacula/technotes b/bacula/technotes index ed33d20060..ea9af45f33 100644 --- a/bacula/technotes +++ b/bacula/technotes @@ -3,6 +3,7 @@ General: 12Jun09 +kes Remove non-portable code referencing pthread_t kes Create patch that may fix bug #1298 and bug #1304, which causes an SD crash after canceling a job. 08Jun09 -- 2.39.5