~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_path.cc

  • Committer: Toru Maesaka
  • Date: 2008-12-11 07:45:27 UTC
  • mto: (670.1.11 devel)
  • mto: This revision was merged to the branch mainline in revision 672.
  • Revision ID: dev@torum.net-20081211074527-yu0cpi5pumqifgg5
Added namespacing for std to .cc files that needed it

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#include <stdlib.h>
20
20
#include <sstream>
21
21
 
 
22
using namespace std;
 
23
 
22
24
static char *find_file_in_path(char *to,const char *name);
23
25
 
24
26
        /* Finds where program can find it's files.
81
83
{
82
84
  char *path,*pos, dir[2];
83
85
  const char *ext="";
84
 
  std::ostringstream sstream;
 
86
  ostringstream sstream;
85
87
 
86
88
  if (!(path=getenv("PATH")))
87
89
    return NULL;