Closed Bug 21621 Opened 25 years ago Closed 25 years ago

PR_SetThreadAffinityMask doesn't provide return under Irix

Categories

(NSPR :: NSPR, defect, P3)

SGI
IRIX
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: leei, Assigned: srinivas)

Details

The conditionalization is such that no return statement is provided ifdef IRIX.
Patch included below.

diff -rpc2 ../../nspr/pr/src/threads/prcthr.c ./pr/src/threads/prcthr.c
*** ../../nspr/pr/src/threads/prcthr.c	Wed Nov 17 11:07:54 1999
--- ./pr/src/threads/prcthr.c	Wed Nov 17 11:48:03 1999
*************** PR_IMPLEMENT(PRInt32) PR_SetThreadAffini
*** 299,302 ****
--- 299,304 ----
  #ifndef IRIX
      return _PR_MD_SETTHREADAFFINITYMASK(thread, mask);
+ #else
+     return 0;
  #endif
  #else
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Checked in the patch.

/cvsroot/mozilla/nsprpub/pr/src/threads/prcthr.c
new revision: 3.11; previous revision: 3.10
You need to log in before you can comment on or make changes to this bug.