/hg/icedtea-web: Fixed by accident renamed field char fileName t...

jvanek at icedtea.classpath.org jvanek at icedtea.classpath.org
Wed Feb 5 04:55:46 PST 2014


changeset 1e0507976663 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=1e0507976663
author: Jiri Vanek <jvanek at redhat.com>
date: Wed Feb 05 13:55:28 2014 +0100

	Fixed by accident renamed field char fileName to char fileNameX


diffstat:

 plugin/icedteanp/IcedTeaNPPlugin.cc |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (16 lines):

diff -r 228e3652214a -r 1e0507976663 plugin/icedteanp/IcedTeaNPPlugin.cc
--- a/plugin/icedteanp/IcedTeaNPPlugin.cc	Wed Feb 05 13:10:13 2014 +0100
+++ b/plugin/icedteanp/IcedTeaNPPlugin.cc	Wed Feb 05 13:55:28 2014 +0100
@@ -1935,9 +1935,9 @@
   }
   data_directory += "XXXXXX";
   // Now create a icedteaplugin subdir
-  char fileName[data_directory.length()+1];
-  std::strcpy (fileName, data_directory.c_str());
-  fileName = mkdtemp(fileName);
+  char fileNameX[data_directory.length()+1];
+  std::strcpy (fileNameX, data_directory.c_str());
+  char * fileName = mkdtemp(fileNameX);
   if (fileName == NULL) {
     PLUGIN_ERROR ("Failed to create data directory %s, %s\n",
                         data_directory.c_str(),


More information about the distro-pkg-dev mailing list