tvl-depot/src/libutil
Harald van Dijk 61855a4e7b Fix progress bar when nix-prefetch-url is piped.
The intent of the code was that if the window size cannot be determined,
it would be treated as having the maximum possible size. Because of a
missing assignment, it was actually treated as having a width of 0.

The reason the width could not be determined was because it was obtained
from stdout, not stderr, even though the printing was done to stderr.

This commit addresses both issues.

(cherry picked from commit c935ad3f025d5c3d8026711a1eb50b2917b61d59)
2020-01-04 13:40:03 +01:00
..
affinity.cc printMsg(lvlError, ...) -> printError(...) etc. 2016-09-21 16:54:53 +02:00
affinity.hh Run the daemon worker on the same CPU as the client 2013-08-07 14:02:04 +02:00
archive.cc archive.cc: ignore more posix_fallocate "not supported" error codes 2019-03-01 10:31:17 +08:00
archive.hh Modularize config settings 2018-05-30 13:28:01 +02:00
args.cc nix: Respect -I, --arg, --argstr 2017-10-24 12:58:34 +02:00
args.hh nix: Respect -I, --arg, --argstr 2017-10-24 12:58:34 +02:00
compression.cc Fix build failure if parallel xz is not available 2018-09-17 16:36:11 +02:00
compression.hh Fix Brotli decompression in 'nix log' 2018-08-06 15:40:29 +02:00
config.cc Modularize config settings 2018-05-30 13:28:01 +02:00
config.hh Modularize config settings 2018-05-30 13:28:01 +02:00
finally.hh Add missing #include 2016-11-07 14:35:47 +01:00
hash.cc Support SRI hashes 2018-12-13 14:30:52 +01:00
hash.hh Support SRI hashes 2018-12-13 14:30:52 +01:00
istringstream_nocopy.hh Move istringstream_nocopy to a separate file 2017-03-21 14:43:03 +01:00
json.cc Store floating point numbers in double precision 2018-07-03 18:39:32 +02:00
json.hh nix search: Add a cache 2017-07-26 17:29:10 +02:00
lazy.hh Figure out the user's home directory if $HOME is not set 2017-05-05 17:08:23 +02:00
local.mk Get BOOST_LDFLAGS from autoconf, fix Ubuntu 16.04 build. 2019-07-03 04:32:25 +02:00
logging.cc Add "warning" verbosity level 2019-06-25 12:44:17 +02:00
logging.hh Add a post-build-hook 2019-08-02 10:48:15 -04:00
lru-cache.hh experimental/optional -> optional 2019-03-14 14:10:52 +01:00
monitor-fd.hh monitor-fds: Fix on macOS. 2018-02-14 18:26:37 -05:00
pool.hh RemoteStore: Close connection if an exception occurs 2018-10-16 23:36:15 +02:00
ref.hh Allow setting the state directory as a store parameter 2016-06-02 16:02:48 +02:00
serialise.cc experimental/optional -> optional 2019-03-14 14:10:52 +01:00
serialise.hh libutil: add SizedSource 2019-08-16 15:05:40 +02:00
sync.hh sync.hh: return cv_status instead of dropping it, in case useful. 2018-06-18 17:31:00 -05:00
thread-pool.cc Fix a hang in ThreadPool 2017-10-09 15:41:09 +02:00
thread-pool.hh Fix a hang in ThreadPool 2017-10-09 15:41:09 +02:00
types.hh Revert "Fix 'error 9 while decompressing xz file'" 2019-07-10 19:46:15 +02:00
util.cc Fix progress bar when nix-prefetch-url is piped. 2020-01-04 13:40:03 +01:00
util.hh nix-env: Create ~/.nix-profile automatically 2019-10-10 00:00:54 +02:00
xml-writer.cc Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00
xml-writer.hh Fix some random -Wconversion warnings 2018-05-02 13:56:34 +02:00