Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 713217 Details for
Bug 741912
sys-boot/lilo-24.2: edit.c:195:31: error: initializer element is not a compile-time constant
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to move the pointer calculation to runtime
runtime-pointer-calculation.patch (text/plain), 682 bytes, created by
Peter Stuge
on 2021-06-02 01:37:24 UTC
(
hide
)
Description:
Patch to move the pointer calculation to runtime
Filename:
MIME Type:
Creator:
Peter Stuge
Created:
2021-06-02 01:37:24 UTC
Size:
682 bytes
patch
obsolete
>--- src/edit.c.old 2011-06-22 09:21:03.000000000 +0200 >+++ src/edit.c 2021-06-02 03:33:48.803194697 +0200 >@@ -192,8 +192,7 @@ > BITMAPLILOHEADER bmlh; > } tm; > static MENUTABLE *menu = &tm.mt; >-static BITMAPLILOHEADER *lh = (void*)(tm.buffer + >- ((long)&tm.mt.row - (long)&tm.bmlh.row)); >+static BITMAPLILOHEADER *lh; > > /* a convenience definition */ > #define mn tm.mt >@@ -284,6 +283,8 @@ > if (ofd<0) pdie("Cannot open temporary file"); > temp_register(temp_file); > >+ lh = (void*)(tm.buffer + ((long)&tm.mt.row - (long)&tm.bmlh.row)); >+ > n = get_std_headers(ifd, &fh, &bmh, lh); > if (verbose >= 3) printf("get_std_headers: returns %d\n", n); >
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 741912
:
659817
| 713217