FreeBSD Bugzilla – Attachment 76485 Details for
Bug 110243
First pass at getting devel/pwlib to compile on 64bit under gcc4.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.15 KB, created by
Steve Ames
on 2007-03-12 22:20:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Steve Ames
Created:
2007-03-12 22:20:04 UTC
Size:
1.15 KB
patch
obsolete
>diff -ruN pwlib.orig/files/patch-src-ptlib-unix-svcproc.cxx pwlib/files/patch-src-ptlib-unix-svcproc.cxx >--- pwlib.orig/files/patch-src-ptlib-unix-svcproc.cxx Wed Dec 31 19:00:00 1969 >+++ pwlib/files/patch-src-ptlib-unix-svcproc.cxx Mon Mar 12 17:25:16 2007 >@@ -0,0 +1,26 @@ >+--- src/ptlib/unix/svcproc.cxx.orig Mon Mar 12 17:03:44 2007 >++++ src/ptlib/unix/svcproc.cxx Mon Mar 12 17:04:53 2007 >+@@ -388,7 +388,7 @@ >+ #elif defined(BE_THREADS) >+ thread_id tid = ::find_thread(NULL); >+ #else >+- unsigned tid = (unsigned) pthread_self(); >++ unsigned long tid = (unsigned long) pthread_self(); >+ #endif >+ *out << "ThreadID=0x" >+ << setfill('0') << ::hex >+@@ -938,12 +938,12 @@ >+ #elif defined(BE_THREADS) >+ thread_id tid = ::find_thread(NULL); >+ #else >+- unsigned tid = (unsigned) pthread_self(); >++ unsigned long tid = (unsigned long) pthread_self(); >+ #endif >+ PThread * thread_ptr = activeThreads.GetAt(tid); >+ >+ char msg[200]; >+- sprintf(msg, "\nCaught %s, thread_id=%u", sigmsg, tid); >++ sprintf(msg, "\nCaught %s, thread_id=%xu", sigmsg, tid); >+ >+ if (thread_ptr != NULL) { >+ PString thread_name = thread_ptr->GetThreadName();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 110243
: 76485