Ticket #43728: patch-runlabel.in.diff

File patch-runlabel.in.diff, 428 bytes (added by mojca (Mojca Miklavec), 10 years ago)
  • runlabel.in

    old new array *readpath(const string& psname, bool keep, 
    121121      string out;
    122122      gs >> out;
    123123      if(out.empty() && !gs.running()) break;
    124       buf << out;
     124      for (string::iterator i = out.begin(); i != out.end(); ++i) {
     125        if (isalpha(*i)) { buf << " "; }
     126        buf << (*i);
     127      }
    125128      if(out[out.size()-1] == '\n') {
    126129        gs << newl;
    127130        break;