Commit Graph

8201 Commits

Author SHA1 Message Date
jl777
978a39245e test 2016-10-25 15:05:39 -03:00
jl777
46beb55e21 test 2016-10-25 15:04:07 -03:00
jl777
d84012ad44 test 2016-10-25 15:02:20 -03:00
jl777
2c36c760e5 test 2016-10-25 14:57:31 -03:00
jl777
51d5c72a2b test 2016-10-25 14:56:00 -03:00
jl777
fd1799a631 test 2016-10-25 14:54:51 -03:00
jl777
189d9dee6c test 2016-10-25 14:32:58 -03:00
jl777
da00f2ddcb test 2016-10-25 14:28:56 -03:00
jl777
6663a06db8 test 2016-10-25 14:14:27 -03:00
jl777
0ac1f6fc8f test 2016-10-25 14:09:52 -03:00
jl777
484f87773a test 2016-10-25 14:08:41 -03:00
jl777
1e2b1c77a6 test 2016-10-25 13:40:08 -03:00
jl777
9efac2fe27 test 2016-10-25 13:33:15 -03:00
jl777
438d3f359f test 2016-10-25 13:25:07 -03:00
jl777
b5f08ccf9c test 2016-10-25 12:58:23 -03:00
jl777
09019cdcf2 test 2016-10-25 12:47:58 -03:00
jl777
d9e9d8da10 test 2016-10-25 12:46:59 -03:00
jl777
7637aa7fb7 test 2016-10-25 12:44:59 -03:00
zkbot
511c5ec1d0 Auto merge of #1615 - arithmetric:1612.fix-floating-point-exception, r=daira
Fixing floating point exception in non-TTY environments

As reported in #1612, a floating point exception occurs when zcashd is started with `showmetrics` enabled in environments without a TTY, such as when started as a service or piped to a file.

The root cause is that the metrics code attempts to get the screen width and uses this as a divisor in calculations. For non-TTY environments, this value is 0, leading to a division by zero error.

This PR adds a default screen width of 80 and uses the actual screen width only if the width can be fetched (and in a TTY environment).
2016-10-25 11:43:28 -04:00
jl777
ba8f30436f test 2016-10-25 12:36:22 -03:00
jl777
6fbbb4cd5f test 2016-10-25 12:35:06 -03:00
jl777
09cc09abcb test 2016-10-25 12:26:15 -03:00
jl777
8859397696 test 2016-10-25 12:24:14 -03:00
jl777
e9595d76d6 test 2016-10-25 12:18:07 -03:00
jl777
cc686fe52d test 2016-10-25 12:08:22 -03:00
jl777
05d3d5ff31 test 2016-10-25 12:02:16 -03:00
jl777
b858fa74b4 test 2016-10-25 12:01:19 -03:00
jl777
9b0e1808f3 test 2016-10-25 11:59:33 -03:00
jl777
4aa2c64e7b test 2016-10-25 10:51:04 -03:00
jl777
e30a267f36 test 2016-10-25 10:42:43 -03:00
jl777
cf9538e02b test 2016-10-25 10:33:49 -03:00
jl777
9632af31d2 test 2016-10-25 10:24:25 -03:00
jl777
353edf5d61 test 2016-10-25 10:18:32 -03:00
jl777
9415da7f1f test 2016-10-25 10:16:45 -03:00
jl777
d9d3a941ff test 2016-10-25 10:13:48 -03:00
jl777
b62d7030ef prepare for assetchains 2016-10-25 10:11:37 -03:00
jl777
beafd76b02 test 2016-10-25 08:23:55 -03:00
Pieter Wuille
bf673640e3 Use std::atomic for fRequestShutdown and fReopenDebugLog 2016-10-24 21:55:52 -07:00
Pieter Wuille
3f97a535ee Revert "Include signal.h for sig_atomic_t in WIN32"
This reverts commit 88f14b999cb70f6c556633f2889e698a05305158.
2016-10-24 21:55:40 -07:00
Pieter Wuille
bf3905fe8f Include signal.h for sig_atomic_t in WIN32 2016-10-24 21:55:26 -07:00
Chirag Davé
7a4e0e0932 fReopenDebugLog and fRequestShutdown should be type sig_atomic_t
This allows access as an atomic variable in the presence
of async interrupts.

See issue #7433 for more details
fixes: #7433
2016-10-24 21:54:50 -07:00
Simon
db026807b8 Add z_sendmany rule that when sending coinbase utxos to a zaddr
they must be consumed entirely, without any change, since there
is currently no way to specify a change address in z_sendmany.
2016-10-24 21:34:16 -07:00
jl777
cbee4d6b16 test 2016-10-24 18:09:36 -03:00
jl777
303f5c1bf1 test 2016-10-24 17:58:09 -03:00
jl777
b68920a15b test 2016-10-24 17:26:09 -03:00
jl777
30e79ca6e4 test 2016-10-24 17:24:06 -03:00
jl777
3ba8f9236e test 2016-10-24 17:20:51 -03:00
jl777
46e78b7f5e test 2016-10-24 17:06:33 -03:00
jl777
74fcb54054 test 2016-10-24 17:00:24 -03:00
jl777
24bc7aa19b test 2016-10-24 16:49:34 -03:00