1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-12 19:04:54 +03:00
Files
glibc/sysdeps/unix/sysv/linux
H.J. Lu cf1ad5b3ad X86-64: Define LO_HI_LONG to skip pos_h [BZ #20349]
Define LO_HI_LONG to skip pos_h since it is ignored by kernel:

static inline loff_t pos_from_hilo(unsigned long high, unsigned long low)
{
 #define HALF_LONG_BITS (BITS_PER_LONG / 2)
        return (((loff_t)high << HALF_LONG_BITS) << HALF_LONG_BITS) | low;
}

where size of loff_t == size of long.

	[BZ #20349]
	* sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2016-07-11 15:32:23 -07:00
..
2016-04-27 09:08:29 +02:00
2016-06-16 21:37:45 +05:30
2016-07-01 11:09:38 +02:00
2016-03-22 00:32:20 +00:00
2016-04-11 10:27:25 +02:00
2016-03-15 21:11:07 +00:00
2016-03-21 16:30:05 +00:00
2016-07-08 15:41:21 -03:00
2016-04-14 08:54:57 +02:00