1645
1657
/* Of no overlap, write everything without buffering */
1646
1658
if (pos + Count <= info->pos_in_file)
1647
return my_pwrite(info->file, Buffer, Count, pos,
1660
int ret= my_pwrite(info->file, Buffer, Count, pos,
1665
(*(info->post_write))(info, Buffer, Count, pos);
1649
1668
/* Write the part of the block that is before buffer */
1650
1669
length= (uint) (info->pos_in_file - pos);
1651
1670
if (my_pwrite(info->file, Buffer, length, pos, info->myflags | MY_NABP))
1673
(*(info->post_write))(info, Buffer, length, pos);