Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Guus Sliepen
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,

Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Carlos Alberto Lopez Perez
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

Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Jakub Wilk
* Anthony DeRobertis , 2016-04-22, 09:09: memset(, 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

Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Anthony DeRobertis
On 04/22/2016 08:45 AM, Jakub Wilk wrote: memset(, 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 .

Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Adam Borowski
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

Re: Bug#822221: ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Jakub Wilk
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

ITP: flipcoin -- flip an adjustable coin for random exit status

2016-04-22 Thread Rudi Cilibrasi
Package: wnpp Severity: wishlist Owner: Rudi Cilibrasi * Package name: flipcoin Version : 1.0.0 Upstream Author : Rudi Cilibrasi * URL : https://github.com/rudi-cilibrasi/flipcoin * License : MIT/X