Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 96777 Details for
Bug 147276
sys-fs/evms checks for ocfs2-tools-1.1 at runtime
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for evms to work with >=ocfs2-tools-1.1
evms-2.5.5-ocfs2-tools-version.patch (text/plain), 634 bytes, created by
Brad Plant
on 2006-09-12 01:56:52 UTC
(
hide
)
Description:
Patch for evms to work with >=ocfs2-tools-1.1
Filename:
MIME Type:
Creator:
Brad Plant
Created:
2006-09-12 01:56:52 UTC
Size:
634 bytes
patch
obsolete
>--- plugins/ocfs2/ocfs2.c.orig 2006-09-12 18:45:36.000000000 +1000 >+++ plugins/ocfs2/ocfs2.c 2006-09-12 18:46:46.000000000 +1000 >@@ -636,6 +636,7 @@ static int fsim_test_version(void) > int status; > int bytes_read; > int rc; >+ float ver_num; > > LOG_ENTRY(); > >@@ -672,8 +673,9 @@ static int fsim_test_version(void) > LOG_DEBUG("Reading output from process %d on fd %d.\n", pidm, fds2[0]); > bytes_read = read(fds2[0], buffer, 1024); > if (bytes_read > 0) { >- ver = strstr(buffer, "1.1"); >- if (!ver) { >+ ver = strstr(buffer, "1."); >+ ver_num = atof(ver); >+ if(ver_num < 1.1) { > rc = EINVAL; > } else { > oc2_version = 2;
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 147276
:
96776
| 96777