Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 214576
Collapse All | Expand All

(-)apc.c.old (-1 / +1 lines)
Lines 331-337 Link Here
331
            /* not: [no active file] or no path */
331
            /* not: [no active file] or no path */
332
            memcpy(fileinfo->fullpath, exec_fname, exec_fname_length);
332
            memcpy(fileinfo->fullpath, exec_fname, exec_fname_length);
333
            fileinfo->fullpath[exec_fname_length] = DEFAULT_SLASH;
333
            fileinfo->fullpath[exec_fname_length] = DEFAULT_SLASH;
334
            strcpy(fileinfo->fullpath +exec_fname_length +1, filename);
334
            strlcpy(fileinfo->fullpath +exec_fname_length +1, filename,sizeof(fileinfo->fullpath)-exec_fname_length-1);
335
            /* apc_wprint("filename: %s, exec_fname: %s, fileinfo->fullpath: %s", filename, exec_fname, fileinfo->fullpath); */
335
            /* apc_wprint("filename: %s, exec_fname: %s, fileinfo->fullpath: %s", filename, exec_fname, fileinfo->fullpath); */
336
            if (apc_stat(fileinfo->fullpath, &fileinfo->st_buf) == 0) {
336
            if (apc_stat(fileinfo->fullpath, &fileinfo->st_buf) == 0) {
337
                found = 1;
337
                found = 1;

Return to bug 214576