Date:2010-05-03 23:56:15 (13 years 10 months ago)
Author:Lars C.
Commit:09999edc2766926c97027e9981df9a2450072994
Message:Initalize buffer.

Files: src/gmenu2x.cpp (1 diff)

Change Details

src/gmenu2x.cpp
18891889const string &GMenu2X::getExePath() {
18901890    if (path.empty()) {
18911891        char buf[255];
1892        int l = readlink("/proc/self/exe",buf,255);
1892        memset(buf, 0, 255);
1893        int l = readlink("/proc/self/exe", buf, 255);
18931894
18941895        path = buf;
18951896        path = path.substr(0,l);

Archive Download the corresponding diff file



interactive