mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- Fix build in WITH_THREADS case
PR: ports/82826 Submitted by: Michael Edenfield <kutulu@kutulu.org> Obtained from: tcl CVS
This commit is contained in:
parent
c1b3b498c0
commit
e99d9b0d49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=138260
25
lang/tcl84/files/patch-tclUnixNotfy.c
Normal file
25
lang/tcl84/files/patch-tclUnixNotfy.c
Normal file
@ -0,0 +1,25 @@
|
||||
===================================================================
|
||||
RCS file: /cvsroot/tcl/tcl/unix/tclUnixNotfy.c,v
|
||||
retrieving revision 1.11.2.11
|
||||
retrieving revision 1.11.2.12
|
||||
diff -u -r1.11.2.11 -r1.11.2.12
|
||||
--- tclUnixNotfy.c 2005/05/31 08:29:10 1.11.2.11
|
||||
+++ tclUnixNotfy.c 2005/06/07 10:26:58 1.11.2.12
|
||||
@@ -275,7 +275,7 @@
|
||||
*/
|
||||
|
||||
if (notifierCount == 0) {
|
||||
- int result;
|
||||
+ int result, dummy;
|
||||
if (triggerPipe < 0) {
|
||||
panic("Tcl_FinalizeNotifier: notifier pipe not initialized");
|
||||
}
|
||||
@@ -294,7 +294,7 @@
|
||||
close(triggerPipe);
|
||||
|
||||
Tcl_ConditionWait(¬ifierCV, ¬ifierMutex, NULL);
|
||||
- result = Tcl_JoinThread(notifierThread);
|
||||
+ result = Tcl_JoinThread(notifierThread, &dummy);
|
||||
if (result) {
|
||||
Tcl_Panic("Tcl_FinalizeNotifier: unable to join notifier thread");
|
||||
}
|
Loading…
Reference in New Issue
Block a user