public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* ar.c:normalize()
@ 1999-10-15  6:04 Andrew Morton
  1999-10-15  9:51 ` ar.c:normalize() Ian Lance Taylor
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Morton @ 1999-10-15  6:04 UTC (permalink / raw)
  To: binutils

Just spotted this in binutils-2.9.5.0.14/binutils/ar.c:


static const char *
normalize (file, abfd)
     const char *file;
     bfd *abfd;
{
  const char *filename;

  if (full_pathname)
    return filename;


Doesn't look good...

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

* Re: ar.c:normalize()
  1999-10-15  6:04 ar.c:normalize() Andrew Morton
@ 1999-10-15  9:51 ` Ian Lance Taylor
  0 siblings, 0 replies; 2+ messages in thread
From: Ian Lance Taylor @ 1999-10-15  9:51 UTC (permalink / raw)
  To: akpm; +Cc: binutils

   Date: Fri, 15 Oct 1999 13:10:51 +0000
   From: Andrew Morton <akpm@bigfoot.com>

   Just spotted this in binutils-2.9.5.0.14/binutils/ar.c:


   static const char *
   normalize (file, abfd)
	const char *file;
	bfd *abfd;
   {
     const char *filename;

     if (full_pathname)
       return filename;


   Doesn't look good...

Thanks for the note.  That does indeed look sort of bad.  I checked in
a fix to return file rather than filename.

Ian

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

end of thread, other threads:[~1999-10-15  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-15  6:04 ar.c:normalize() Andrew Morton
1999-10-15  9:51 ` ar.c:normalize() Ian Lance Taylor

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