1
0
sofar 61e5fbab72 getS16NoEx() returns true unless syntactical error in conf. (#8304)
The getS16NoEx() handler will return true unless there is a
`[num_emerge_threads]` line in the `minetest.conf` at which
point the excption handler part is reached. Due to the fact that
`defaultsettings.cpp` has a default value set for this setting,
that never will happen.

Because of this, the code will never check the number of threads on
the system, and keep `nthreads = 0`. If that happens, the value is
changed to `1` and only 1 emerge thread will be used.

The default should be set to `1` instead, due to the potential unsafe
consequences for the standard sqlite map files, but that should be a
separate commit that also adds documentation for that setting. This
commit focuses on removing this `hiding` bug instead.
2019-03-05 08:11:13 +01:00
..
2019-02-15 20:44:21 +01:00
2019-02-15 12:27:29 +01:00
2017-08-17 22:19:39 +02:00
2018-04-19 20:14:53 +01:00
2017-09-26 20:30:14 +02:00
2019-01-16 13:39:13 +01:00
2017-08-30 08:09:41 +02:00
2018-03-30 18:32:52 +02:00
2017-08-18 07:44:52 +02:00
2018-04-19 20:14:53 +01:00
2017-08-17 22:19:39 +02:00
2018-11-18 11:48:16 +01:00
2017-08-17 22:19:39 +02:00
2018-07-21 03:09:39 -07:00
2018-12-22 17:36:24 +01:00
2017-08-19 11:29:46 +02:00
2017-08-17 22:19:39 +02:00
2017-08-17 22:19:39 +02:00
2017-09-26 20:30:14 +02:00
2018-04-19 20:14:53 +01:00
2017-08-24 17:54:10 +02:00
2017-08-17 22:19:39 +02:00