Skip to content

pull: script(1) changes

Sami Kerola util-linux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12script: remove function prototypesterm-utils/script.c+243 -2560 replies
2/12script: add struct script_control and remove global variablesterm-utils/script.c+248 -2431 reply
3/12script: use signalfd() to catch signalsterm-utils/script.c+14 -330 replies
4/12script: use poll() rather than select()term-utils/script.c+114 -880 replies
5/12script: merge doinput() and output() functions to do_io()term-utils/script.c+51 -1690 replies
6/12script: remove io vs signal raceterm-utils/script.c tests/ts/script/race+13 -110 replies
7/12script: add 'Script started' line always to capture fileterm-utils/script.c+3 -50 replies
8/12script: move do_io() content to small functionsterm-utils/script.c+58 -500 replies
9/12script: replace strftime() workaround with CFLAGS = -Wno-format-y2kterm-utils/Makemodule.am term-utils/script.c+2 -100 replies
10/12script: use correct input type, move comment, and so onterm-utils/script.c+11 -130 replies
11/12script: use gettime_monotonic() to get timing file timestampsterm-utils/Makemodule.am term-utils/script.c+14 -140 replies
12/12script: add noreturn function attributesterm-utils/script.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/12] pull: script(1) changes

Hello,

The following changes are clean ups and improvements to script(1) command. These changes are also available from my github remote repository.

git://github.com/kerolasa/lelux-utiliteetit.git script

Sami Kerola (12):
script: remove function prototypes
script: add struct script_control and remove global variables
script: use signalfd() to catch signals
script: use poll() rather than select()
script: merge doinput() and output() functions to do_io()
script: remove io vs signal race
script: add 'Script started' line always to capture file
script: move do_io() content to small functions
script: replace strftime() workaround with CFLAGS = -Wno-format-y2k
script: use correct input type, move comment, and so on
script: use gettime_monotonic() to get timing file timestamps
script: add noreturn function attributes

 term-utils/Makemodule.am |   5 +-
 term-utils/script.c      | 872 ++++++++++++++++++++---------------------------
 tests/ts/script/race     |   4 -
 3 files changed, 380 insertions(+), 501 deletions(-)
Signature · 1 line
2.3.0