Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 892831 Details for
Bug 829993
app-portage/cfg-update-1.8.9-r1: uninitialized value $md5sum_file
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
CORRECTED patch for uninitialized $md5sum_file
cfg-update-1.8.9-r2-md5sum-patch (text/plain), 1.32 KB, created by
Phil Stracchino (Unix Ronin)
on 2024-05-12 17:39:38 UTC
(
hide
)
Description:
CORRECTED patch for uninitialized $md5sum_file
Filename:
MIME Type:
Creator:
Phil Stracchino (Unix Ronin)
Created:
2024-05-12 17:39:38 UTC
Size:
1.32 KB
patch
obsolete
>--- /usr/bin/cfg-update.orig 2022-04-23 13:14:30.000000000 -0400 >+++ /usr/bin/cfg-update 2024-05-12 13:33:17.663932229 -0400 >@@ -995,11 +995,11 @@ > if ($opt_d >= 1) { print "$tab"." grep \"$file1_without_host \" $host_path$index_file $debug | cut -d\" \" -f2 $debug\n"; } > local $ENV{LC_ALL}="C"; > chomp ($md5sum_index = `grep "$file1_without_host " "$host_path$index_file" $debug | cut -d" " -f2 $debug`); > if ($opt_d >= 1) { print "$tab"." MD5 checksum in the checksum-index : $md5sum_index\n"; } > if ($md5sum_index =~ /.+/) { >- if ($md5sum_index !~ $md5sum_file) { >+ if (length($md5sum_file) && $md5sum_index !~ $md5sum_file) { > $state = $state1; $vstate = $vstate1; # 1 = MF = Modified File - checksum differs from index > if (-B "$file1") { $state = $state2; $vstate = $vstate2; } # 2 = MB = Modified Binary - you probably replaced the binary file so replace not allowed > } else { > $state = $state3; $vstate = $vstate3; # 3 = UF = Unmodified File - checksum matches with index > if (-B "$file1") { $state = $state4; $vstate = $vstate4; } # 4 = UB = Unmodified Binary - unmodified binary file so replace always allowed
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 829993
: 892831