]> Savannah Git Hosting - gnulib.git/commitdiff
sigpipe tests: Modernize use of 'head'.
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 16 Jan 2023 12:40:48 +0000 (13:40 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 16 Jan 2023 12:40:48 +0000 (13:40 +0100)
POSIX no longer requires support for ‘head -1’.

* tests/test-sigpipe.sh: Use ‘head -n1’ rather than ‘head -1’.
* tests/test-sigpipe.c (main): Likewise.
* lib/git-merge-changelog.c (main): Update comment accordingly.

ChangeLog

index 4755f193603fb475ce2e4000152b52080e986d5f..9bc953423f17c3ebd5cfcd24c46462718a8f90b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2023-01-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       sigpipe tests: Modernize use of 'head'.
+       POSIX no longer requires support for ‘head -1’.
+       * tests/test-sigpipe.sh: Use ‘head -n1’ rather than ‘head -1’.
+       * tests/test-sigpipe.c (main): Likewise.
+       * lib/git-merge-changelog.c (main): Update comment accordingly.
+
 2023-01-15  Paul Eggert  <eggert@cs.ucla.edu>
 
        alignasof: new module