summaryrefslogtreecommitdiff
path: root/audio/amarok/patches/patch-aa
blob: a733f4fe3de52a7cf1ff02745945146fc63fb84e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-aa,v 1.2 2005/02/20 20:41:40 wiz Exp $

--- amarok/src/amarokcore/crashhandler.cpp.orig	2005-02-13 14:01:30.000000000 +0100
+++ amarok/src/amarokcore/crashhandler.cpp
@@ -42,15 +42,15 @@ namespace amaroK
     runCommand( const QCString &command )
     {
         static const uint SIZE = 40960; //40 KiB
-        static char stdout[ SIZE ];
+        static char amarok_stdout[ SIZE ];
 
         debug() << "Running: " << command << endl;
 
         FILE *process = ::popen( command, "r" );
-        stdout[ std::fread( (void*)stdout, sizeof(char), SIZE-1, process ) ] = '\0';
+        amarok_stdout[ std::fread( (void*)amarok_stdout, sizeof(char), SIZE-1, process ) ] = '\0';
         ::pclose( process );
 
-        return QString::fromLocal8Bit( stdout );
+        return QString::fromLocal8Bit( amarok_stdout );
     }
 
     void