SHA256
1
0
forked from pool/kcoreaddons
Hrvoje Senjan
2016-05-15 15:39:55 +00:00
committed by Git OBS Bridge
parent 4232d9915c
commit c0e712cfa5
2 changed files with 6 additions and 31 deletions

View File

@@ -1,30 +0,0 @@
From 78212436643af95779facd9593c82fb149c2213d Mon Sep 17 00:00:00 2001
From: Albert Astals Cid <aacid@kde.org>
Date: Tue, 26 Apr 2016 23:41:27 +0200
Subject: [PATCH 1/2] Missing rand() -> qrand
Fixes regression introduced in 9ae6d765b37135bbfe3a8b936e5a88b8a435e424
Reviewed by Aleix
BUGS: 362161
---
src/lib/randomness/krandom.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/randomness/krandom.cpp b/src/lib/randomness/krandom.cpp
index eef6bf632a4a8c0805e2a6688a22bd1e9105acbd..eaff71ff3fba0724fbfedddd93814c02f3fe4468 100644
--- a/src/lib/randomness/krandom.cpp
+++ b/src/lib/randomness/krandom.cpp
@@ -51,7 +51,7 @@ int KRandom::random()
}
qsrand(seed);
}
- return rand();
+ return qrand();
}
QString KRandom::randomString(int length)
--
2.6.6

View File

@@ -1,9 +1,14 @@
-------------------------------------------------------------------
Sat May 7 18:30:32 UTC 2016 - hrvoje.senjan@gmail.com
- Update to 5.22.0
- Update to 5.22.0 (boo#980066)
* Provide a way to disable inotify use in KDirWatch
* Fix KAboutData::applicationData() to init from current
Q*Application metadata
* Make clear that KRandom is not recommended for cryptography purposes
* For more details please see:
https://www.kde.org/announcements/kde-frameworks-5.22.0.php
- Drop upstreamed 0001-Missing-rand-qrand.patch
-------------------------------------------------------------------
Wed Apr 27 16:36:32 UTC 2016 - hrvoje.senjan@gmail.com