public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* patch for bfd/syms.c
@ 2000-06-28 21:06 Mark E.
  2000-06-29  8:07 ` DJ Delorie
  0 siblings, 1 reply; 2+ messages in thread
From: Mark E. @ 2000-06-28 21:06 UTC (permalink / raw)
  To: binutils

Salutations,

_bfd_stab_section_find_nearest_line needs fixing for DOS-style absolute paths like 
other places in binutils were. Here is a patch:

2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>

	* syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.

Index: src/bfd/syms.c
===================================================================
RCS file: /cvs/src/src/bfd/syms.c,v
retrieving revision 1.5
diff -c -p -r1.5 syms.c
*** syms.c	2000/01/28 01:06:37	1.5
--- syms.c	2000/06/29 04:01:34
*************** _bfd_stab_section_find_nearest_line (abf
*** 1262,1268 ****
  
    *pfound = true;
  
!   if (file_name[0] == '/' || directory_name == NULL)
      *pfilename = file_name;
    else
      {
--- 1262,1268 ----
  
    *pfound = true;
  
!   if (IS_ABSOLUTE_PATH(file_name) || directory_name == NULL)
      *pfilename = file_name;
    else
      {


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

* Re: patch for bfd/syms.c
  2000-06-28 21:06 patch for bfd/syms.c Mark E.
@ 2000-06-29  8:07 ` DJ Delorie
  0 siblings, 0 replies; 2+ messages in thread
From: DJ Delorie @ 2000-06-29  8:07 UTC (permalink / raw)
  To: snowball3; +Cc: binutils

> 2000-06-29 Mark Elbrecht <snowball3@bigfoot.com>
> 
> 	* syms.c (_bfd_stab_section_find_neares_line): Use IS_ABSOLUTE_PATH.

Applied.  Thanks!

FYI: *two* spaces between date and name, and name and email.  Like this:

2000-06-29  Mark Elbrecht  <snowball3@bigfoot.com>

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

end of thread, other threads:[~2000-06-29  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-28 21:06 patch for bfd/syms.c Mark E.
2000-06-29  8:07 ` DJ Delorie

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