On Fri, Apr 22, 2016 at 02:45:59PM +0200, Jakub Wilk wrote:
> > fp = fopen("/dev/urandom", "rb");
> > if (fp == NULL) {
> > fprintf(stderr, "Error: Cannot open /dev/urandom.\n");
>
> The error message doesn't say what the error was, or what program caused
> this error.
While we are at it, inst
On 22/04/16 14:48, Adam Borowski wrote:
> On Thu, Apr 21, 2016 at 11:11:39PM -0700, Rudi Cilibrasi wrote:
>> * Package name: flipcoin
>> * URL : https://github.com/rudi-cilibrasi/flipcoin
>> Description : flip an adjustable coin for random exit status
>>
>> This command-line u
* Anthony DeRobertis , 2016-04-22, 09:09:
memset(&maxInt, 0xff, sizeof(maxInt));
"maxInt = -1" is would be a more obvious way to write it, IMHO.
Both pale in comparison to UINT32_MAX, also found in .
Meh. The advantage of the existing code is that it doesn't repeat the
size of valInt/maxInt
On 04/22/2016 08:45 AM, Jakub Wilk wrote:
memset(&maxInt, 0xff, sizeof(maxInt));
"maxInt = -1" is would be a more obvious way to write it, IMHO.
Both pale in comparison to UINT32_MAX, also found in .
On Thu, Apr 21, 2016 at 11:11:39PM -0700, Rudi Cilibrasi wrote:
> * Package name: flipcoin
> * URL : https://github.com/rudi-cilibrasi/flipcoin
> Description : flip an adjustable coin for random exit status
>
> This command-line utility can be used to simulate a coin flip to
Hi Rudi!
[When filing a bug, please use X-Debbugs-CC instead of plain CC, so that
the copied person (or list) receives the message with bug number from
the BTS.]
* Rudi Cilibrasi , 2016-04-21, 23:11:
* Package name: flipcoin
Version : 1.0.0
Upstream Author : Rudi Cilibrasi
* U
6 matches
Mail list logo