git: c878cb7effe7 - stable/15 - cp: Correct description of SIGINFO

Dag-Erling Smørgrav <[email protected]> Sun, 02 Aug 2026 20:00:58 +0000
Newsgroups gmane.os.freebsd.devel.cvs.src
Message-ID <6a6fa1fa.26f6e.bb87c69__440.985562612184$1785700883$gmane$org@gitrepo.freebsd.org>
The branch stable/15 has been updated by des:

URL: https://cgit.FreeBSD.org/src/commit/?id=c878cb7effe775a063ac790d7c0e24e51f9c72ed

commit c878cb7effe775a063ac790d7c0e24e51f9c72ed
Author:     Dag-Erling Smørgrav <[email protected]>
AuthorDate: 2026-07-23 06:21:08 +0000
Commit:     Dag-Erling Smørgrav <[email protected]>
CommitDate: 2026-08-02 19:59:52 +0000

    cp: Correct description of SIGINFO
    
    The manual page claimed that SIGINFO caused information to be printed to
    stdout, when in fact it is printed to stderr, as one would expect.  This
    has been true ever since the feature was first added in 2003.
    
    MFC after:      1 week
    Fixes:          00d321a2b395 ("Add a SIGINFO handler.")
    Reviewed by:    jilles
    Differential Revision:  https://reviews.freebsd.org/D58392
    
    (cherry picked from commit 5dc400ff452b0259f0c50474255ebe6e5e02edb9)
---
 bin/cp/cp.1 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index 5231fa72621c..034bced74acc 100644
--- a/bin/cp/cp.1
+++ b/bin/cp/cp.1
@@ -29,7 +29,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd July 9, 2025
+.Dd July 22, 2026
 .Dt CP 1
 .Os
 .Sh NAME
@@ -266,7 +266,7 @@ receives a
 argument for
 .Xr stty 1 )
 signal, the current input and output file and the percentage complete
-will be written to the standard output.
+will be written to the standard error output.
 .Sh EXIT STATUS
 .Ex -std
 .Sh EXAMPLES