Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 115762 Details for
Bug 173753
app-portage/portage-utils-0.1.25 - qcheck - Add toggles for individual checks/updates [PATCH]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
/home/wyvern/portage-utils/portage-utils-cvs-qcheck-bugfixes.patch
portage-utils-cvs-qcheck-bugfixes.patch (text/plain), 1.15 KB, created by
Gordon Malm (RETIRED)
on 2007-04-08 23:14:36 UTC
(
hide
)
Description:
/home/wyvern/portage-utils/portage-utils-cvs-qcheck-bugfixes.patch
Filename:
MIME Type:
Creator:
Gordon Malm (RETIRED)
Created:
2007-04-08 23:14:36 UTC
Size:
1.15 KB
patch
obsolete
>--- portage-utils-cvs/qcheck.c 2007-04-08 15:38:14.000000000 -0700 >+++ portage-utils-cvs-bugfixes/qcheck.c 2007-04-08 15:52:49.000000000 -0700 >@@ -41,7 +41,7 @@ > char chk_hash = 1; > char chk_mtime = 1; > struct stat st; >- size_t num_files, num_files_ok, num_files_unknown, num_files_ignored = 0; >+ size_t num_files, num_files_ok, num_files_unknown, num_files_ignored; > char buf[_Q_PATH_MAX], filename[_Q_PATH_MAX]; > char buffer[_Q_PATH_MAX]; > >@@ -101,7 +101,7 @@ > if ((fp = fopen(buf, "r")) == NULL) > continue; > strncat(buf, "~", sizeof(buf)); >- num_files = num_files_ok = num_files_unknown = 0; >+ num_files = num_files_ok = num_files_unknown = num_files_ignored = 0; > printf("%sing %s%s/%s%s ...\n", > (qc_update ? "Updat" : "Check"), > GREEN, dentry->d_name, de->d_name, NORM); >@@ -162,11 +162,8 @@ > } > hashed_file = (char*)hash_file(e->name, hash_algo); > if (!hashed_file) { >- if (qc_update) { >+ if (qc_update) > fputs(buffer, fpx); >- if (!verbose) >- continue; >- } > printf(" %sPERM %4o%s: %s\n", RED, (st.st_mode & 07777), NORM, e->name); > ++num_files_unknown; > free(hashed_file);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 173753
:
115714
|
115716
|
115736
|
115762
|
115766
|
115770
|
118962