Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 225901 Details for
Bug 310493
mail-client/mailx-8.1.2.20050715-r1: compile crash due to wrong march=switch (geode)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for mailx_8.1.2-0.20050715cvs.orig.tar.gz
mailx-8.1.2-0.20050715cvs.orig-offsetof.patch (text/plain), 1.53 KB, created by
Vasiliy A. Balkanov
on 2010-03-31 02:21:38 UTC
(
hide
)
Description:
patch for mailx_8.1.2-0.20050715cvs.orig.tar.gz
Filename:
MIME Type:
Creator:
Vasiliy A. Balkanov
Created:
2010-03-31 02:21:38 UTC
Size:
1.53 KB
patch
obsolete
>diff -r -u mailx-8.1.2-0.20050715cvs.orig.orig/def.h mailx-8.1.2-0.20050715cvs.orig/def.h >--- mailx-8.1.2-0.20050715cvs.orig.orig/def.h 2003-10-14 21:50:20.000000000 +0900 >+++ mailx-8.1.2-0.20050715cvs.orig/def.h 2010-03-31 10:29:37.000000000 +0900 >@@ -97,7 +97,7 @@ > * Given a file address, determine the block number it represents. > */ > #define blockof(off) ((int) ((off) / 4096)) >-#define offsetof(off) ((int) ((off) % 4096)) >+#define offsetofmailx(off) ((int) ((off) % 4096)) > #define positionof(block, offset) ((off_t)(block) * 4096 + (offset)) > > /* >diff -r -u mailx-8.1.2-0.20050715cvs.orig.orig/edit.c mailx-8.1.2-0.20050715cvs.orig/edit.c >--- mailx-8.1.2-0.20050715cvs.orig.orig/edit.c 2004-05-25 01:34:32.000000000 +0900 >+++ mailx-8.1.2-0.20050715cvs.orig/edit.c 2010-03-31 10:41:28.000000000 +0900 >@@ -111,7 +111,7 @@ > (void)fseek(otf, 0L, 2); > size = ftell(otf); > mp->m_block = blockof(size); >- mp->m_offset = offsetof(size); >+ mp->m_offset = offsetofmailx(size); > mp->m_size = fsize(fp); > mp->m_lines = 0; > mp->m_flag |= MODIFY; >diff -r -u mailx-8.1.2-0.20050715cvs.orig.orig/fio.c mailx-8.1.2-0.20050715cvs.orig/fio.c >--- mailx-8.1.2-0.20050715cvs.orig.orig/fio.c 2004-05-25 01:34:32.000000000 +0900 >+++ mailx-8.1.2-0.20050715cvs.orig/fio.c 2010-03-31 10:29:28.000000000 +0900 >@@ -139,7 +139,7 @@ > this.m_size = 0; > this.m_lines = 0; > this.m_block = blockof(offset); >- this.m_offset = offsetof(offset); >+ this.m_offset = offsetofmailx(offset); > inhead = 1; > } else if (linebuf[0] == 0) { > inhead = 0;
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 310493
: 225901 |
225903