This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Remove debugging accidentally left in tekhex.c.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2d68166e8704569eeceb76ac743ea1e7cca2af26

commit 2d68166e8704569eeceb76ac743ea1e7cca2af26
Author: Nick Clifton <nickc@redhat.com>
Date:   Tue Jun 27 12:11:22 2017 +0100

    Remove debugging accidentally left in tekhex.c.
    
    	* tekhex.c (pass_over): Revert accidental conversion of a local
    	array to a static array.

Diff:
---
 bfd/ChangeLog | 5 +++++
 bfd/tekhex.c  | 2 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 272da0c..31fd542 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2017-06-27  Nick Clifton  <nickc@redhat.com>
+
+	* tekhex.c (pass_over): Revert accidental conversion of a local
+	array to a static array.
+
 2017-06-27  Senthil Kumar Selvaraj  <senthil_kumar.selvaraj@atmel.com>
 
 	PR ld/13402
diff --git a/bfd/tekhex.c b/bfd/tekhex.c
index cfa75d5..1d605d5 100644
--- a/bfd/tekhex.c
+++ b/bfd/tekhex.c
@@ -520,7 +520,7 @@ pass_over (bfd *abfd, bfd_boolean (*func) (bfd *, int, char *, char *))
 
   while (! is_eof)
     {
-      static char src[MAXCHUNK];
+      char src[MAXCHUNK];
       char type;
 
       /* Find first '%'.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]