Michael Weiß
c5cd932fb0
pv/display: handle error of tcgetpgrp() in pv_in_foreground()
...
Show pv progress bar even if no terminal is set, e.g., in a busybox
init script. The description of pv_in_forground() states it will
return true "if we aren't outputting to a terminal". However, this
is not the case since tcgetpgrg() will return an error and set ERRNO
to ENOTTY if the output fd is not an tty. We now handle this error
correctly and pv_in_foreground() returns also true in that case.
Signed-off-by: Michael Weiß <michael.weiss@aisec.fraunhofer.de >
2023-05-10 09:54:59 +02:00
Andrew Wood
a9cef81657
Minor formatting corrections
2022-05-29 21:52:15 +01:00
Andrew Wood
cc95aa67a3
Renamed README to README.md and altered it to Markdown format; moved contributors from the README to docs/ACKNOWLEDGEMENTS.md
2022-05-29 21:45:13 +01:00
Andrew Wood
b78e58ab87
Moved all open issues into the GitHub issue tracker and copied in all related correspondence.
2022-05-29 21:00:43 +01:00
Andrew Wood
12d22b5ab0
Acknowledged new pull request
2022-05-29 17:12:09 +01:00
Andrew Wood
3255f72f39
Merge branch 'jwilk-forks-mojibake' into main
2022-05-29 12:47:33 +01:00
Jakub Wilk
c79eb8540a
Fixed encoding in README
2022-04-11 23:08:21 +02:00
Andrew Wood
0ca8ef5187
Dates bumped for release of 1.6.20
v1.6.20
2021-09-12 17:13:24 +01:00
Andrew Wood
386e3ac5fa
Updated to include details of latest contributor
2021-09-08 17:26:13 +01:00
Andrew Wood
6e24924a23
Merge branch 'thesamesam-main' into main
2021-09-08 17:20:53 +01:00
Sam James
b0720194e1
src/pv/number.c: add missing <stddef.h> include for NULL
2021-09-08 01:06:29 +01:00
Andrew Wood
613642ba3d
Added TODO from Zach Riggle
2021-09-06 23:12:16 +01:00
Andrew Wood and GitHub
103df51a59
Create FUNDING.yml
2021-09-06 22:41:38 +01:00
Andrew Wood
0f7069796e
Minor updates in preparation for release of v1.6.19
v1.6.19
2021-09-05 19:29:45 +01:00
Andrew Wood
adf9672b25
Cleanup
2021-09-05 19:17:58 +01:00
Andrew Wood
7d68a574ca
Added all changes made between v1.6.6 and June 2020
2021-09-04 21:00:00 +01:00
Andrew Wood
9dd06d8acb
Adjusted README for GitHub
2021-09-04 20:54:15 +01:00
Andrew Wood
12f28d0689
Initial commit based on v1.6.6
v1.6.6
2021-09-04 20:51:25 +01:00