public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: Dodji Seketeli <dodji@seketeli.org>
To: Ben Woodard via Libabigail <libabigail@sourceware.org>
Cc: Ben Woodard <woodard@redhat.com>,  bolo@cs.wisc.edu
Subject: Re: [PATCH] Fix trivial typo when printing version string
Date: Thu, 10 Jun 2021 15:31:36 +0200	[thread overview]
Message-ID: <87tum526dj.fsf@seketeli.org> (raw)
In-Reply-To: <20210609215012.1875276-1-woodard@redhat.com> (Ben Woodard via Libabigail's message of "Wed, 9 Jun 2021 14:50:12 -0700")

Ben Woodard via Libabigail <libabigail@sourceware.org> a écrit:

> When abicompat prints its version string, it does not terminate
> it with a newline the way that other commands do. Contributed by
> Bolo.
>
> Signed-off-by: Ben Woodard <woodard@redhat.com>

Thanks for this patch!

I have just added a ChangeLog-compatible part to this commit log, as
stated in the COMMIT-LOG-GUIDELINES file at
https://sourceware.org/git/?p=libabigail.git;a=blob;f=COMMIT-LOG-GUIDELINES.

Below is the patch that was applied.

Thanks!

From 519d7ce8e5773099fbfa0515d00397c008a72327 Mon Sep 17 00:00:00 2001
From: Ben Woodard via Libabigail <libabigail@sourceware.org>
Date: Wed, 9 Jun 2021 14:50:12 -0700
Subject: [PATCH] Fix trivial typo when printing version string

When abicompat prints its version string, it does not terminate
it with a newline the way that other commands do. Contributed by
Bolo.

	* tools/abicompat.cc (main): Add a newline after version string.

Signed-off-by: Ben Woodard <woodard@redhat.com>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
---
 tools/abicompat.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/abicompat.cc b/tools/abicompat.cc
index f9b019fb..be3946e1 100644
--- a/tools/abicompat.cc
+++ b/tools/abicompat.cc
@@ -633,7 +633,8 @@ main(int argc, char* argv[])
   if (opts.display_version)
     {
       emit_prefix(argv[0], cout)
-	<< abigail::tools_utils::get_library_version_string();
+	<< abigail::tools_utils::get_library_version_string()
+	<< "\n";
       return 0;
     }
 
-- 
2.30.0


Cheers,

-- 
		Dodji

      reply	other threads:[~2021-06-10 13:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-09 21:50 Ben Woodard
2021-06-10 13:31 ` Dodji Seketeli [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tum526dj.fsf@seketeli.org \
    --to=dodji@seketeli.org \
    --cc=bolo@cs.wisc.edu \
    --cc=libabigail@sourceware.org \
    --cc=woodard@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).