This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Patch]: Add '\n' to --demangle error message


Hi,

there is a missing '\n' to the --demangle error message, resulting in weird messages such as:

ld: unknown demangling style `no'collect2: error: ld returned 1 exit status

Committed as obvious.

Tristan.

ld/
2012-03-26  Tristan Gingold  <gingold@adacore.com>

	* lexsup.c (parse_args): Add a missing '\n'.

RCS file: /cvs/src/src/ld/lexsup.c,v
retrieving revision 1.130
diff -c -r1.130 lexsup.c
*** ld/lexsup.c	5 Mar 2012 22:43:40 -0000	1.130
--- ld/lexsup.c	26 Mar 2012 13:03:04 -0000
***************
*** 834,840 ****
  
  	      style = cplus_demangle_name_to_style (optarg);
  	      if (style == unknown_demangling)
! 		einfo (_("%F%P: unknown demangling style `%s'"),
  		       optarg);
  
  	      cplus_demangle_set_style (style);
--- 834,840 ----
  
  	      style = cplus_demangle_name_to_style (optarg);
  	      if (style == unknown_demangling)
! 		einfo (_("%F%P: unknown demangling style `%s'\n"),
  		       optarg);
  
  	      cplus_demangle_set_style (style);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]