Switch to unified view

a/src/utils/smallut.cpp b/src/utils/smallut.cpp
...
...
617
    } else {
617
    } else {
618
    unit = " GB ";
618
    unit = " GB ";
619
    roundable = double(size) / 1E9;
619
    roundable = double(size) / 1E9;
620
    }
620
    }
621
    size = round(roundable);
621
    size = round(roundable);
622
    sprintf(sizebuf, OFFTPC "%s", size, unit);
622
    sprintf(sizebuf, "%lld" "%s", (long long)size, unit);
623
    return string(sizebuf);
623
    return string(sizebuf);
624
}
624
}
625
625
626
string breakIntoLines(const string& in, unsigned int ll, 
626
string breakIntoLines(const string& in, unsigned int ll, 
627
              unsigned int maxlines)
627
              unsigned int maxlines)
...
...
1248
1248
1249
int main(int argc, char **argv)
1249
int main(int argc, char **argv)
1250
{
1250
{
1251
    thisprog = *argv++;argc--;
1251
    thisprog = *argv++;argc--;
1252
1252
1253
#if 0
1253
#if 1
1254
    if (argc <=0 ) {
1254
    if (argc <=0 ) {
1255
        cerr << "Usage: smallut <stringtosplit>" << endl;
1255
        cerr << "Usage: smallut <stringtosplit>" << endl;
1256
        exit(1);
1256
        exit(1);
1257
    }
1257
    }
1258
    string s = *argv++;argc--;
1258
    string s = *argv++;argc--;
...
...
1344
    cout << in << " => " << out << endl;
1344
    cout << in << " => " << out << endl;
1345
    substs.clear();
1345
    substs.clear();
1346
    in = "a: %a title: %(title) pcpc: %% %";
1346
    in = "a: %a title: %(title) pcpc: %% %";
1347
    pcSubst(in, out, substs);
1347
    pcSubst(in, out, substs);
1348
    cout << "After map clear: " << in << " => " << out << endl;
1348
    cout << "After map clear: " << in << " => " << out << endl;
1349
#elif 1
1349
#elif 0
1350
    list<string> tokens;
1350
    list<string> tokens;
1351
    tokens.push_back("");
1351
    tokens.push_back("");
1352
    tokens.push_back("a,b");
1352
    tokens.push_back("a,b");
1353
    tokens.push_back("simple value");
1353
    tokens.push_back("simple value");
1354
    tokens.push_back("with \"quotes\"");
1354
    tokens.push_back("with \"quotes\"");