public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/28027] New: abilint: "Unknown file type given in input" error message has no end of line character (LF)
@ 2021-06-30  7:41 pabs3 at bonedaddy dot net
  2021-08-19  6:01 ` [Bug default/28027] " ucelsanicin at yahoo dot com
  2021-09-10 19:36 ` mehmetgelisin at aol dot com
  0 siblings, 2 replies; 3+ messages in thread
From: pabs3 at bonedaddy dot net @ 2021-06-30  7:41 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=28027

            Bug ID: 28027
           Summary: abilint: "Unknown file type given in input" error
                    message has no end of line character (LF)
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: pabs3 at bonedaddy dot net
                CC: libabigail at sourceware dot org
  Target Milestone: ---

I noticed while playing with abilint that the "Unknown file type given in
input" error message has no end of line character (LF or \n), so if you are
passing multiple files to abilint via xargs, you get all the output on one
line. As far as I can tell all the other errors printed by abilint contain and
end of line character (\n).

$ echo foo > foo
$ abilint --noout foo |& hd
00000000  61 62 69 6c 69 6e 74 3a  20 55 6e 6b 6e 6f 77 6e  |abilint: Unknown|
00000010  20 66 69 6c 65 20 74 79  70 65 20 67 69 76 65 6e  | file type given|
00000020  20 69 6e 20 69 6e 70 75  74 3a 20 66 6f 6f        | in input: foo|
0000002e
$ echo foo | hd
00000000  66 6f 6f 0a                                       |foo.|
00000004

$ grep -B2 -A1 'Unknown file type given in input' tools/abilint.cc
        case abigail::tools_utils::FILE_TYPE_UNKNOWN:
          emit_prefix(argv[0], cerr)
            << "Unknown file type given in input: " << opts.file_path;
          return 1;

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-10 19:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-30  7:41 [Bug default/28027] New: abilint: "Unknown file type given in input" error message has no end of line character (LF) pabs3 at bonedaddy dot net
2021-08-19  6:01 ` [Bug default/28027] " ucelsanicin at yahoo dot com
2021-09-10 19:36 ` mehmetgelisin at aol dot com

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).