public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Re: small patch for coffgen.c
@ 1999-11-21  4:22 Nick Clifton
  0 siblings, 0 replies; 4+ messages in thread
From: Nick Clifton @ 1999-11-21  4:22 UTC (permalink / raw)
  To: pthomas; +Cc: binutils

Hi Phillip,

: > : In coffgen.c, there's a bogus call to gettext(). Here's the fix.
: > : 
: > : 1999-11-19  Philipp Thomas  <pthomas@suse.de>
: > : 
: > : 	* coffgen.c (coff__print_symbol): remove gettext() call
: > 
: > Why is this bad ?
: 
: It's not really bad, but I see no sense in translating that particular
: string.

Oh, right, I understand now.  Thanks for explaining.

I have no objections to this patch.

Cheers
	Nick

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

* Re: small patch for coffgen.c
  1999-11-19  8:43 Nick Clifton
@ 1999-11-19 13:09 ` Philipp Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Philipp Thomas @ 1999-11-19 13:09 UTC (permalink / raw)
  To: nickc; +Cc: binutils

* Nick Clifton (nickc@cygnus.com) [19991119 17:43]:

> : In coffgen.c, there's a bogus call to gettext(). Here's the fix.
> : 
> : 1999-11-19  Philipp Thomas  <pthomas@suse.de>
> : 
> : 	* coffgen.c (coff__print_symbol): remove gettext() call
> 
> Why is this bad ?

It's not really bad, but I see no sense in translating that particular
string.

> If it is bad, then why is the call to getext() in
> _bfd_coff_read_string_table() not a problem as well ?

I haven't gotten to that yet or maybe I missed it (have to recheck). But
after having somehow lost my original translation (which was roughly half
way through binutils), I once more started translating binutils messages to
German and stumbled across that message. After looking at the source (I'm in
no way a binutils hacker otherwise), it just didn't seem to make sense to
translate that string.

So I should have been more careful in the message (remember English is not
my native tongue). It should have been 'this call seems to be bogus. If it
is, here is the fix'.

I guess you'll see more messages from me in the future, BTW, because the
only platform I'm at least a bit familiar with (familiar in regards to
binutils, that is) is ia32. So I will have further questions regarding
pecularities of other platforms (like Interworking on ARM, which I figured
out).

But I guess I'll also have some questions on the wording of messages where I
think terms are used inconsistent (like gp vs. GP). And, last and least,
like the original mail, where I think translations don't make much sense.

On that point, feel free to correct me if I'm wrong.

cu
Philipp

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

* Re: small patch for coffgen.c
@ 1999-11-19  8:43 Nick Clifton
  1999-11-19 13:09 ` Philipp Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Nick Clifton @ 1999-11-19  8:43 UTC (permalink / raw)
  To: pthomas; +Cc: binutils

Hi Phil,

: In coffgen.c, there's a bogus call to gettext(). Here's the fix.
: 
: 1999-11-19  Philipp Thomas  <pthomas@suse.de>
: 
: 	* coffgen.c (coff__print_symbol): remove gettext() call

Why is this bad ?

If it is bad, then why is the call to getext() in
_bfd_coff_read_string_table() not a problem as well ?

Cheers
	Nick

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

* small patch for coffgen.c
@ 1999-11-19  5:26 Philipp Thomas
  0 siblings, 0 replies; 4+ messages in thread
From: Philipp Thomas @ 1999-11-19  5:26 UTC (permalink / raw)
  To: binutils

In coffgen.c, there's a bogus call to gettext(). Here's the fix.

1999-11-19  Philipp Thomas  <pthomas@suse.de>

	* coffgen.c (coff__print_symbol): remove gettext() call

--- bfd/coffgen.c.orig	Fri Nov 19 12:56:05 1999
+++ bfd/coffgen.c	Fri Nov 19 12:56:20 1999
@@ -2071,7 +2071,7 @@
 		  if (ISFCN (combined->u.syment.n_type))
 		    {
 		      fprintf (file,
-			       _("AUX tagndx %ld ttlsiz 0x%lx lnnos %ld next %ld"),
+			       "AUX tagndx %ld ttlsiz 0x%lx lnnos %ld next %ld",
 			       tagndx,
 			       auxp->u.auxent.x_sym.x_misc.x_fsize,
 			       auxp->u.auxent.x_sym.x_fcnary.x_fcn.x_lnnoptr,

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

end of thread, other threads:[~1999-11-21  4:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-11-21  4:22 small patch for coffgen.c Nick Clifton
  -- strict thread matches above, loose matches on Subject: below --
1999-11-19  8:43 Nick Clifton
1999-11-19 13:09 ` Philipp Thomas
1999-11-19  5:26 Philipp Thomas

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