]> git.sur5r.net Git - bacula/bacula/commitdiff
Remove non-portable code referencing pthread_t
authorKern Sibbald <kern@sibbald.com>
Fri, 12 Jun 2009 19:05:34 +0000 (19:05 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 12 Jun 2009 19:05:34 +0000 (19:05 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8894 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/lib/jcr.c
bacula/technotes

index 4da6de29da6272bb2efff624f12db213e358e21a..d599a94a149411fadb00856c4795f4ae3008103a 100644 (file)
@@ -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());
index ed33d20060cd6691ecfba2846368fe8c406d4a70..ea9af45f33a01366a4cdff7410cde03959824eeb 100644 (file)
@@ -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