From: Kern Sibbald Date: Fri, 12 Jun 2009 19:05:34 +0000 (+0000) Subject: Remove non-portable code referencing pthread_t X-Git-Tag: Release-3.0.2~172 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=85c6c68e792d3eed6401c835f76916beea001e68;p=bacula%2Fbacula Remove non-portable code referencing pthread_t git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8894 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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