1645
1645
/* Of no overlap, write everything without buffering */
1646
1646
if (pos + Count <= info->pos_in_file)
1647
return my_pwrite(info->file, Buffer, Count, pos,
1647
return (pwrite(info->file, Buffer, Count, pos) == 0);
1649
1648
/* Write the part of the block that is before buffer */
1650
1649
length= (uint) (info->pos_in_file - pos);
1651
if (my_pwrite(info->file, Buffer, length, pos, info->myflags | MY_NABP))
1650
if (pwrite(info->file, Buffer, length, pos) == 0)