eborisch
d86d8cf65a
Clarify state.
2024-07-16 03:57:11 +00:00
eborisch
11e5b5fe95
src/pv/transfer.c: write(2) returning 0 is not an error
...
This is being hit easily on FreeBSD with pv sitting in a zfs send/recv pipeline. As write(2) returning 0 is not an error, handle it similar to returning -1 with EINTR or EAGAIN: wait a bit and try again.
2024-07-15 21:36:57 +00:00
Andrew Wood
42b623e9b0
Pre-release version and datestamp updates.
v1.8.10
2024-06-15 23:40:07 +01:00
Andrew Wood
21e65b8742
Relax the strictness of this check a little, to avoid false failures on heavily loaded systems.
2024-06-15 23:11:53 +01:00
Andrew Wood
c6ac4d11be
Added an example of how to list untranslated strings.
2024-06-15 23:00:12 +01:00
Andrew Wood
2d48e07139
Updated the instructions for testing translations, now that a method has been found that actually works.
2024-06-15 22:47:53 +01:00
Andrew Wood
3fee341ac2
Update the line numbers etc in the language files (from "make -C po update-po") - no actual translation changes included.
2024-06-08 22:06:08 +01:00
Andrew Wood
2bed6776e4
Truncate files written with "-o".
2024-06-08 22:02:11 +01:00
Andrew Wood
01e0290d6e
More replacement of hard-coded exit status bitmask values with named constants.
2024-06-08 21:57:36 +01:00
Andrew Wood
1c61154206
Replace hard-coded exit status bitmask values with named constants.
2024-06-08 21:49:46 +01:00
Andrew Wood
addf25ff16
Minor cleanups after merge.
2024-06-08 21:21:11 +01:00
Andrew Wood
578c1613d1
Merge pull request 'Add '-o' option to write to a file other than stdout' ( #90 ) from xmort/pv:add-output-file-option into main
...
Reviewed-on: https://codeberg.org/a-j-wood/pv/pulls/90
2024-06-08 19:22:14 +00:00
Martin Dørum
6073445551
document the --output in the man page and help text
2024-06-08 14:31:21 +02:00
Martin Dørum
30763684b7
add -o/--output option
2024-06-08 14:31:19 +02:00
Andrew Wood
ace8f44f59
Added more debugging to stdout writes.
2024-05-11 21:13:12 +01:00
Andrew Wood
98994bbeaa
Correct the copyright year in the "--version" output.
2024-04-22 22:25:22 +01:00
Andrew Wood
b089303505
Version update.
v1.8.9
2024-04-21 14:20:26 +01:00
Andrew Wood
8992e98c8d
Line number adjustments from "make update-po".
2024-04-21 14:18:48 +01:00
Andrew Wood
205245f269
Issue #6 had only one outstanding action which was a duplicate of #34 , so it is now removed.
2024-04-21 14:00:31 +01:00
Andrew Wood
b375041790
Correct issues #34 , #86 , #87 - progress output stopping when writing output data blocks - by adding a SIGALRM handler, since ignoring the signal prevents it from interrupting writes; and use setitimer() where available, instead of alarm(), to provide sufficient granularity to handle the case where the --interval is not a whole number of seconds.
2024-04-21 13:54:01 +01:00
Andrew Wood
3a41665302
Fix incorrect "%lf" string format.
2024-04-21 12:02:35 +01:00
Andrew Wood
f6686b8188
Minor formatting changes by "indent".
2024-04-21 12:01:52 +01:00
Andrew Wood
31b43cf3c7
Formatting correction.
2024-04-21 11:32:26 +01:00
Andrew Wood
e483b19c14
Formatting correction.
2024-04-21 11:31:54 +01:00
Andrew Wood
50b400a1f8
Formatting correction.
2024-04-21 11:31:26 +01:00
Andrew Wood
d90dc35dd3
Formatting correction.
2024-04-21 11:30:46 +01:00
Andrew Wood
b45970b3b6
Added the ENVIRONMENT section.
2024-04-21 11:27:51 +01:00
Andrew Wood
a5700cc914
Reinstate the use of $TMPDIR and $TMP in cursor positioning rather than hard-coding "/tmp" ( #88 ).
2024-04-20 21:46:23 +01:00
Andrew Wood
d3c59cbff3
Minor comment formatting correction.
2024-04-20 21:31:17 +01:00
Andrew Wood
8bc1cc28d0
Check for zero-length $HOME and document the reason flawfinder's warning is being ignored.
2024-04-20 21:01:04 +01:00
Andrew Wood
1ad9c321bc
Adjust copyright years.
2024-03-19 22:19:42 +00:00
Andrew Wood
c9dede08d4
Adjust the decimal units flag variable name from "si" to "decimal_units" so it does not overlap with other words like "size" and "signal"; add man page entry and adjust the "-L" man page entry; and allow this flag to also change how input prefixes are processed.
2024-03-19 22:17:43 +00:00
Andrew Wood
3b721112e6
Acknowledge pull request #85 .
2024-03-19 21:42:08 +00:00
Andrew Wood
0093fb8276
Merge pull request 'Support for decimal SI units' ( #85 ) from kevinruddy/pv:si-patch into main
...
Reviewed-on: https://codeberg.org/a-j-wood/pv/pulls/85
2024-03-19 21:30:01 +00:00
kevinruddy
fe8137521a
Support for decimal SI units
2024-03-19 16:57:57 -04:00
Andrew Wood
2bc7a1bb10
Added #83 .
2024-03-13 21:56:34 +00:00
Andrew Wood
120ba0ba9a
Minor typo correction.
2024-03-13 21:48:57 +00:00
Andrew Wood
88d93737aa
Merge pull request 'Update to po/fr.po' ( #83 ) from tbertels/pv:tbertels-patch-1 into main
...
Reviewed-on: https://codeberg.org/a-j-wood/pv/pulls/83
2024-03-13 21:44:46 +00:00
tbertels
317d5a3aba
Update to po/fr.po
...
Missing strings and corrections
2024-03-12 07:31:42 +00:00
Andrew Wood
ddc5cb0224
Added TODO #81 .
2024-01-08 23:42:31 +00:00
Andrew Wood
4b4ec17ff9
Timestamp updates.
v1.8.5
2023-11-19 16:39:51 +00:00
Andrew Wood
cc9534fc7b
Cast of values for pv_snprintf() is required on Cygwin.
2023-11-19 16:39:32 +00:00
Andrew Wood
c8762821fb
Version update.
2023-11-19 14:16:56 +00:00
Andrew Wood
272dacdd3a
Update to reflect closure of #77 .
2023-10-22 17:48:45 +01:00
Andrew Wood
78548460b7
Stamp and string position updates.
2023-10-22 17:44:45 +01:00
Andrew Wood
3eee7a1409
Addressed more issues raised by flawfinder.
2023-10-22 17:43:40 +01:00
Andrew Wood
e446782c1f
Addressed more issues raised by splint, and refactored out state_array so that state is part of info_array and each state is allocated and deallocated properly instead of referencing pointers multiple times.
2023-10-22 16:23:53 +01:00
Andrew Wood
d8664ca4c1
Stamp and string position updates.
2023-10-22 00:09:06 +01:00
Andrew Wood
d06374a0f1
Addressed more issues raised by splint and flawfinder.
2023-10-22 00:08:35 +01:00
Andrew Wood
9a9c117411
Addressed more issues raised by flawfinder.
2023-10-18 23:10:29 +01:00