public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Fix for dlltool
@ 1999-10-26  3:13 Nick Clifton
  0 siblings, 0 replies; only message in thread
From: Nick Clifton @ 1999-10-26  3:13 UTC (permalink / raw)
  To: binutils

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-10-26  3:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-26  3:13 Fix for dlltool Nick Clifton

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