Opened 5 years ago
Closed 5 years ago
#15868 closed enhancement (fixed)
nspr-4.33
| Reported by: | pierre | Owned by: | Bruce Dubbs |
|---|---|---|---|
| Priority: | normal | Milestone: | 11.1 |
| Component: | BOOK | Version: | git |
| Severity: | medium | Keywords: | |
| Cc: |
Description
New minor version
Change History (4)
comment:1 by , 5 years ago
comment:2 by , 5 years ago
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/RDHVnt1nlWw
The NSPR 4.33 release is now available. The hg tag is NSPR_4_33_RTM. The source tar file can be downloaded from https://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.33/src/ NSPR 4.33 contains the following changes: - build fixes for Firefox 96 For details, please refer to the list of related bugs: https://bugzilla.mozilla.org/buglist.cgi?resolution=FIXED&query_format=advanced&product=NSPR&target_milestone=4.33 Thanks to all contributors to this release. Kai
comment:3 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:4 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed at commit 3162545c33db24bf72acb08148327337ee2455db
Package updates.
Update to nspr-4.33.
Update to asciidoc-10.1.0 (python module).
Update to pipewire-0.3.42.
Note:
See TracTickets
for help on using tickets.

I can't find release note. The only relevent change seems:
diff --color -Nuar nspr-4.32/nspr/pr/include/private/pprthred.h nspr-4.33/nspr/pr/include/private/pprthred.h --- nspr-4.32/nspr/pr/include/private/pprthred.h 2021-07-01 05:43:23.000000000 +0800 +++ nspr-4.33/nspr/pr/include/private/pprthred.h 2021-12-17 23:29:39.000000000 +0800 @@ -301,9 +301,9 @@ ---------------------------------------------------------------------------*/ #ifdef XP_UNIX -extern void PR_XLock(void); -extern void PR_XUnlock(void); -extern PRBool PR_XIsLocked(void); +extern void _PR_XLock(void); +extern void _PR_XUnlock(void); +extern PRBool _PR_XIsLocked(void); #endif /* XP_UNIX */ PR_END_EXTERN_C diff --color -Nuar nspr-4.32/nspr/pr/src/md/unix/unix.c nspr-4.33/nspr/pr/src/md/unix/unix.c --- nspr-4.32/nspr/pr/src/md/unix/unix.c 2021-07-01 05:43:23.000000000 +0800 +++ nspr-4.33/nspr/pr/src/md/unix/unix.c 2021-12-17 23:29:39.000000000 +0800 @@ -3301,36 +3301,21 @@ ** in a pre-emptive threaded environment, we need to use a lock. */ -void PR_XLock(void) +void _PR_XLock(void) { PR_EnterMonitor(_pr_Xfe_mon); } -void PR_XUnlock(void) +void _PR_XUnlock(void) { PR_ExitMonitor(_pr_Xfe_mon); } -PRBool PR_XIsLocked(void) +PRBool _PR_XIsLocked(void) { return (PR_InMonitor(_pr_Xfe_mon)) ? PR_TRUE : PR_FALSE; } -void PR_XWait(int ms) -{ - PR_Wait(_pr_Xfe_mon, PR_MillisecondsToInterval(ms)); -} - -void PR_XNotify(void) -{ - PR_Notify(_pr_Xfe_mon); -} - -void PR_XNotifyAll(void) -{ - PR_NotifyAll(_pr_Xfe_mon); -} - #if defined(HAVE_FCNTL_FILE_LOCKING) PRStatus diff --color -Nuar nspr-4.32/nspr/pr/src/md/unix/uxwrap.c nspr-4.33/nspr/pr/src/md/unix/uxwrap.c --- nspr-4.32/nspr/pr/src/md/unix/uxwrap.c 2021-07-01 05:43:23.000000000 +0800 +++ nspr-4.33/nspr/pr/src/md/unix/uxwrap.c 2021-12-17 23:29:39.000000000 +0800 @@ -187,10 +187,10 @@ needToLockXAgain = 0; if (rd && (_pr_xt_hack_fd != -1) - && FD_ISSET(_pr_xt_hack_fd, rd) && PR_XIsLocked() + && FD_ISSET(_pr_xt_hack_fd, rd) && _PR_XIsLocked() && (!_pr_xt_hack_okayToReleaseXLock || _pr_xt_hack_okayToReleaseXLock())) { - PR_XUnlock(); + _PR_XUnlock(); needToLockXAgain = 1; } @@ -198,7 +198,7 @@ retVal = _PR_WaitForMultipleFDs(unixpds, pdcnt, timeout); if (needToLockXAgain) { - PR_XLock(); + _PR_XLock(); } }