Bug#218980: parted: FTBFS : probably due to new glibc and 2.6.0-test linux kernel headers.
On Sun, 2003-11-09 at 19:46, Sven Luther wrote:
> Well, it should not at least. I will investigate and see if the
> linux/fs.h is where it comes from or not. I was not able to find where
> the size_t was defined though.
This block of definitions in libparted/linux.c looks kind of
suspicious. Particularly the last line:
/* from <linux/fs.h> */
#define BLKRRPART _IO(0x12,95) /* re-read partition table */
#define BLKGETSIZE _IO(0x12,96) /* return device size */
#define BLKFLSBUF _IO(0x12,97) /* flush buffer cache */
#define BLKSSZGET _IO(0x12,104) /* get block device sector size */
#define BLKGETLASTSECT _IO(0x12,108) /* get last sector of block device
*/
#define BLKSETLASTSECT _IO(0x12,109) /* set last sector of block device
*/
#define BLKGETSIZE64 _IOR(0x12,114,sizeof(uint64_t)) /* return device
size in bytes (u64 *arg) */
p.
Reply to: