public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Mark E." <snowball3@bigfoot.com>
To: binutils@sourceware.cygnus.com
Subject: patch for bfd/syms.c
Date: Wed, 28 Jun 2000 21:06:00 -0000	[thread overview]
Message-ID: <395A92F8.5194.1BA93A@localhost> (raw)

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
      {


             reply	other threads:[~2000-06-28 21:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-28 21:06 Mark E. [this message]
2000-06-29  8:07 ` DJ Delorie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=395A92F8.5194.1BA93A@localhost \
    --to=snowball3@bigfoot.com \
    --cc=binutils@sourceware.cygnus.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).