public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@cygnus.com>
To: binutils@sourceware.cygnus.com
Subject: Fix for dlltool
Date: Tue, 26 Oct 1999 03:13:00 -0000	[thread overview]
Message-ID: <199910261013.LAA30377@pathia.cygnus.co.uk> (raw)

Hi Guys,

  DJ just pointed out a bug in my previous patch to dlltool that
  rationalises assembling files.  I have checked in the patch below to
  fix this.

Cheers
	Nick


1999-10-26  Nick Clifton  <nickc@cygnus.com>

	* dlltool.c (assemble_file): Remove spurious test of exp_name.

Index: dlltool.c
===================================================================
RCS file: /cvs/binutils/binutils/binutils/dlltool.c,v
retrieving revision 1.13
diff -p -r1.13 dlltool.c
*** dlltool.c	1999/10/22 15:50:28	1.13
--- dlltool.c	1999/10/26 10:08:49
*************** assemble_file (source, dest)
*** 1740,1747 ****
    char * cmd;
    
    cmd = (char *) alloca (strlen (ASM_SWITCHES) + strlen (as_flags)
! 			 + strlen (exp_name) + strlen (source)
! 			 + strlen (dest) + 50);
  
    sprintf (cmd, "%s %s -o %s %s", ASM_SWITCHES, as_flags, dest, source);
  
--- 1740,1746 ----
    char * cmd;
    
    cmd = (char *) alloca (strlen (ASM_SWITCHES) + strlen (as_flags)
! 			 + strlen (source) + strlen (dest) + 50);
  
    sprintf (cmd, "%s %s -o %s %s", ASM_SWITCHES, as_flags, dest, source);
  

                 reply	other threads:[~1999-10-26  3:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199910261013.LAA30377@pathia.cygnus.co.uk \
    --to=nickc@cygnus.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).