Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 390024 Details for
Bug 529356
sys-boot/grub-2.02_beta2: glibc ifdef LFS checks breaks on non-glibc libraries
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0010-force_lfs_for_posix_systems.patch (text/plain), 1.51 KB, created by
DaggyStyle
on 2014-11-21 19:46:32 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
DaggyStyle
Created:
2014-11-21 19:46:32 UTC
Size:
1.51 KB
patch
obsolete
>--- a/grub-core/osdep/unix/hostdisk.c 2014-11-21 19:07:33.780000000 +0000 >+++ b/grub-core/osdep/unix/hostdisk.c 2014-11-21 19:10:48.690000000 +0000 >@@ -48,11 +48,6 @@ > #ifdef __linux__ > # include <sys/ioctl.h> /* ioctl */ > # include <sys/mount.h> >-# if !defined(__GLIBC__) || \ >- ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1))) >-/* Maybe libc doesn't have large file support. */ >-# include <linux/unistd.h> /* _llseek */ >-# endif /* (GLIBC < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR < 1)) */ > #endif /* __linux__ */ > > grub_uint64_t >@@ -79,24 +74,6 @@ grub_util_get_fd_size (grub_util_fd_t fd > return st.st_size; > } > >-#if defined(__linux__) && (!defined(__GLIBC__) || \ >- ((__GLIBC__ < 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ < 1)))) >- /* Maybe libc doesn't have large file support. */ >-int >-grub_util_fd_seek (grub_util_fd_t fd, grub_uint64_t off) >-{ >- loff_t offset, result; >- static int _llseek (uint filedes, ulong hi, ulong lo, >- loff_t *res, uint wh); >- _syscall5 (int, _llseek, uint, filedes, ulong, hi, ulong, lo, >- loff_t *, res, uint, wh); >- >- offset = (loff_t) off; >- if (_llseek (fd, offset >> 32, offset & 0xffffffff, &result, SEEK_SET)) >- return -1; >- return GRUB_ERR_NONE; >-} >-#else > int > grub_util_fd_seek (grub_util_fd_t fd, grub_uint64_t off) > { >@@ -107,8 +84,6 @@ grub_util_fd_seek (grub_util_fd_t fd, gr > > return 0; > } >-#endif >- > > /* Read LEN bytes from FD in BUF. Return less than or equal to zero if an > error occurs, otherwise return LEN. */
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 529356
:
389420
| 390024 |
393604