SHA256
1
0
forked from pool/guile
guile/guile-threads-test.patch
Matthias Mailänder c91531aaa7 Accepting request 412615 from home:sleep_walker:branches:devel:languages:misc
- updated to 2.0.12:
   ** FFI: Add support for functions that set 'errno'
   ** The #!r6rs directive now influences read syntax
   ** 'read' now accepts "\(" as equivalent to "("
   ** SRFI-14 character data set upgraded to Unicode 8.0.0
   ** SRFI-19 table of leap seconds updated
   ** 'string-hash', 'read-string', and 'write' have been optimized
   ** GOOPS bug fix for inherited accessor methods
   for complete list of changes see NEWS
- refreshed patches
- add key of Andy Wingo to guile.keyring

OBS-URL: https://build.opensuse.org/request/show/412615
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=80
2016-07-21 20:01:41 +00:00

18 lines
651 B
Diff

Index: guile-2.0.12/test-suite/tests/threads.test
===================================================================
--- guile-2.0.12.orig/test-suite/tests/threads.test 2016-07-21 14:25:17.426696284 +0200
+++ guile-2.0.12/test-suite/tests/threads.test 2016-07-21 14:25:22.990644750 +0200
@@ -423,8 +423,10 @@
(gc) (gc)
(let ((m (g)))
- (and (mutex? m)
- (eq? (mutex-owner m) (current-thread)))))))
+ (or
+ (and (mutex? m)
+ (eq? (mutex-owner m) (current-thread)))
+ (throw 'unresolved))))))
;;
;; mutex lock levels