You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/12/22 00:40:09 UTC

[GitHub] [trafficserver] masaori335 commented on a change in pull request #8560: Remove drand48() usage in jtest

masaori335 commented on a change in pull request #8560:
URL: https://github.com/apache/trafficserver/pull/8560#discussion_r773526469



##########
File path: example/plugins/c-api/thread_pool/test/SDKTest/psi_server.c
##########
@@ -68,7 +69,7 @@ int
 generate_psibility()
 {
   double rand;
-  rand = drand48();
+  rand = ts::Random::drandom();

Review comment:
       This file looks abandoned for a long time. We can just replace it for now.
   https://github.com/apache/trafficserver/issues/8561




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org